PDA

View Full Version : Issue with variable CURDIR



tonisa
10-29-2010, 09:55 AM
Hi,
when executing a setup from within the IDE of SB7 with "Test" or "Debug", the %CURDIR% doesn't point to the folder containing the .exe.
It would be fine if there would be another variable containing then name of the executed installation-exe.
best regards
Toni

linder
10-29-2010, 11:02 AM
Toni,

Yes, good point!! We have to add a note to the documentation. %CURDIR%,r Get System Info(Installer Path Name) and Get System Info(Installer File Name) do NOT return the expected values in debug mode. The debug kernel (sb7.exe) is running the script and not the installer runtime.

Friedrich