I have the following test InstallScript InstallShield code, which executes correctly in the normal interactive mode, but crashes setup.exe /s
(silent) mode on calls to ChangeDirectory that involve any sort of actual depth of directories.
//Note: "C:" ^ "temp" resolves to "C:\temp", but it never successfully
//executes when run silent mode. It works fine in interactive mode, however.
ChangeDirectory("C:" ^ "temp");
//No subsequent code gets executed at this point in silent mode
I'm running this on a Windows 2008 x64 Server in a command window with Administrator privileges. The c:\temp
directory exists, and EVERYONE
has been granted full control rights to it.
The exit code is -2147213312
, which is 0x80042000
in the error guide corresponding to
The installation exited with the abort keyword because the end user canceled the installation.
What could possibly be going on here? I've tried using the try/catch
syntax to examine the error, but the catch block never executes in this case, seemingly asserting that there's no error but instead an abort
called?