Archive: Why isn't this line working?


I am trying to write a utility that will run the following command:

C:\Program Files\InstallShield Installation Information\{CEE2C9FF-FAB4-4A36-B2CD-862C26A58E7E}\setup.exe

I works fine if I browse to the folder and double-click on setup.exe, but somehow I cannot make it work under NSIS. This is the line I am trying to execute:

ExecWait "$PROGRAMFILES\InstallShield Installation Information\{CEE2C9FF-FAB4-4A36-B2CD-862C26A58E7E}\setup.exe"


Never mind. I finally made it work by specifying SetOutPath.

[Edited by cchian on 07-13-2001 at 12:55 AM]


OK, Here is the problem. Other people DON'T have that number. I don't even have that number. It might be a smart idea to place the exe file in another Directory and then try to execute it. AND the Line is:

ExecWait '"$PROGRAMFILES\InstallShield Installation Information\{CEE2C9FF-FAB4-4A36-B2CD-862C26A58E7E}\setup.exe"'

Every thing looks good, but make sure that the EXE might not work for other people.

+this is just a wait of a thread if you figure it out.