View Full Version : Run an external .exe in wizard loop
tonisa
11-20-2012, 05:02 AM
Hi,
I'm trying to run an external program within the wizardloop, something like the attached snip01.png, but this doesn't seem to work, no error, nothing happens.
best regards
Toni
linder
11-20-2012, 11:45 AM
Hello,
Works fine here. See attached screenshot and demo project:
http://www.lindersoft.com/projects/toni20121120.zip
It launches the CHM without any problem.
Does this help?
Friedrich
tonisa
11-21-2012, 02:34 AM
Hi Friedrich,
In the "run program" I specified only HH.EXE without giving the "Target Folder", after inserting %WINDIR% as target folder all works fine. Seems your internal used procedure to launch programs doesn't consider the PATH-variable or adds a folder when not specified.
Problem resolved.
best regards
Toni
P.S.: I don't know why this Thread ended in this forum-group. I created it from "Setupbuilder-group", same as my other response to the thread "Helpfile for my installers"; feel free to move to the right group.
linder
11-21-2012, 02:47 AM
Hi Tony,
The ShellExecuteEx Windows API needs a fully qualified pathname in this case, otherwise it can't find HH.EXE.
Friedrich
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.