Old 5th February 2009, 19:59   #1
frogman_94
Junior Member
 
Join Date: Jan 2009
Posts: 4
IfFileExists in current directory

I have created a wrapper installer to run my other installers. I want to check IfFileExists in the directory from where I launch my wrapper installer for the other installers. I currently just past it the file name but it does not find it. I'm thinking it is looking in some other directory for the file. How do I tell it to look in the directory that contains my wrapper installer?
frogman_94 is offline   Reply With Quote
Old 5th February 2009, 20:02   #2
Animaether
Major Dude
 
Join Date: Jun 2001
Posts: 1,173
are you already using $EXEDIR to refer to the folder in which the installer .exe being run is located?
Animaether is offline   Reply With Quote
Old 5th February 2009, 20:11   #3
frogman_94
Junior Member
 
Join Date: Jan 2009
Posts: 4
No I wasn't. But that did the trick. I new it was simple but I just couldn't find it.
frogman_94 is offline   Reply With Quote
Old 5th February 2009, 20:36   #4
Animaether
Major Dude
 
Join Date: Jun 2001
Posts: 1,173
coo - just making sure your wrapper installer didn't copy itself to a temp location for some reason.. that would have been less simple to solve
Animaether is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump