forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Path Problem

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
Rubes_sw
Valued Contributor
Valued Contributor


Joined: 11 Jun 2001
Posts: 625
Location: Northern Ireland

PostPosted: Fri Feb 13, 2004 11:38 am    Post subject: Path Problem Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
Mac
Professional Member
Professional Member


Joined: 08 Jul 2000
Posts: 1585
Location: Oklahoma USA

PostPosted: Fri Feb 13, 2004 12:08 pm    Post subject: Reply with quote

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 Smile

_________________
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
View user's profile Send private message Send e-mail
Skit3000
Admin Team


Joined: 11 May 2002
Posts: 2166
Location: The Netherlands

PostPosted: Fri Feb 13, 2004 4:19 pm    Post subject: Reply with quote

To add 'real' quotes to a list item, you should use the @chr(34) function... Smile
_________________
[ Add autocomplete functionality to your VDS IDE windows! ]
Voor Nederlandse beginners met VDS: bekijk ook eens deze tutorial!
Back to top
View user's profile Send private message
moke
Contributor
Contributor


Joined: 02 Jan 2002
Posts: 162

PostPosted: Fri Feb 13, 2004 6:12 pm    Post subject: Reply with quote

Also @path will return the trailing "\".
You might want to use:

%%path = @path(%0)
%%path"client\msolm.exe"

moke
Back to top
View user's profile Send private message Send e-mail
Rubes_sw
Valued Contributor
Valued Contributor


Joined: 11 Jun 2001
Posts: 625
Location: Northern Ireland

PostPosted: Fri Feb 13, 2004 8:24 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group