cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
lam1278
Level 6

Setup.exe supposed to return -3

Am I missing something here.... isn't Setup.exe supposed to return an error code indicating Cancel was selected???

I have Basic MSI Project (Still InstallShield v12 SP2, haven't converted yet to IS 2009)

Two issues:

Language Selection Dialog
======================
Setup.exe launcher --> Language Selection dialog --> select "Cancel"

Setup Prerequisites Dialog
=======================
Setup.exe launcher --> Language Selection dialog --> select a language --> and on Prerequisites dialog select "Cancel"

In both cases, Setup returns 0 -- documentation says it is supposed to return -3

http://helpnet.acresso.com/robo/projects/installshield12helplib/ihelpsetup_exeerrors.htm

Does anyone know if this was fixed in IS 2008 or IS 2009?
Labels (1)
0 Kudos
(1) Reply
joshstechnij
Level 10 Flexeran
Level 10 Flexeran

Error -3 is specific to InstallScript MSI projects that are canceled by the user from the InstallScript UI. Unfortunately the documentation is not clear on this. I have submitted a request to update this help doc.

Setup.exe will return 0 even if a prerequisite is canceled or the install is canceled from the language dialog.
0 Kudos