PDA

View Full Version : calling external EXE


jasondyalog
08-02-2007, 09:30 AM
hi all,

I have a EXE which I call towards the end of the setup, after it has installed all the files to setup some settings for our product for that user.

the function is called as follows:

instexe.exe 0 /adduser "[INSTALLDIR]" [ALLUSERS]

It doesn't appear to be picking up the [INSTALLDIR] or [ALLUSERS]

I haven't defined these anywhere, maybe I have to, just want to check that I can infact do this thought the "Command Line Arguments" window, and also where I should set the [INSTALLEDDIR] and [ALLUSERS] up or if there is some variables already set up that I can use....

J

Brett
08-02-2007, 09:33 AM
How are you calling it so far? With a custom action? Can you please provide all of the settings that you are using to call the custom action (or supply your .sufproj file for me to look at).

jasondyalog
08-03-2007, 09:28 AM
Hi Brett

I believe I have emailed you the .sufproj file, but i'm calling it with a Custom actions to an Internal Binary and then in the command line arguments I have
0 /SelectInternationalFiles "[INSTALLDIR]" "[ALLUSERS]"

I have also tried:
0 /SelectInternationalFiles "[SUF_INSTALLDIR]" "[SUFUSERPROFILE]"

Jason