View previous topic :: View next topic |
Author |
Message |
Rubes_sw Valued Contributor
Joined: 11 Jun 2001 Posts: 625 Location: Northern Ireland
|
Posted: Fri Feb 13, 2004 11:38 am Post subject: Path Problem |
|
|
I am adding this to a list
%%path = @path(%0)
list add,3,Source: "%%path\client\msolm.exe"; DestDir: "{app}"; Flags: ignoreversion
But it adds %%path rather than the pathe c:\program files etc
Any IDeas?
nathan |
|
Back to top |
|
|
Mac Professional Member
Joined: 08 Jul 2000 Posts: 1585 Location: Oklahoma USA
|
Posted: Fri Feb 13, 2004 12:08 pm Post subject: |
|
|
You have %%path inside quotes, which makes VDS treat
it as a literal string instead of a variable. Try this instead:
%%path"\client\msolm.exe"
Cheers, Mac _________________ VDSug.dll does file IO, check/disable menu items,
non-VDS dlls, draw functions and more...
Free download (30k dll size) at:
http://www.vdsworld.com/download.php?id=361
|
|
Back to top |
|
|
Skit3000 Admin Team
Joined: 11 May 2002 Posts: 2166 Location: The Netherlands
|
|
Back to top |
|
|
moke Contributor
Joined: 02 Jan 2002 Posts: 162
|
Posted: Fri Feb 13, 2004 6:12 pm Post subject: |
|
|
Also @path will return the trailing "\".
You might want to use:
%%path = @path(%0)
%%path"client\msolm.exe"
moke |
|
Back to top |
|
|
Rubes_sw Valued Contributor
Joined: 11 Jun 2001 Posts: 625 Location: Northern Ireland
|
Posted: Fri Feb 13, 2004 8:24 pm Post subject: |
|
|
It worked,
I am getting my program to create a *.iss file for INNO to the it uses the command line compiler to create a exe.
Thanks
Nathan |
|
Back to top |
|
|
|