PDA

View Full Version : Proper way to return() in ISScript (Basic MSI)



t0ast!
01-09-2003, 08:32 AM
Does anyone know the proper way to return from an InstallScript function running in a Basic MSI project?

Every time I try to do a return 0;, the installer exits with exit code 3. But i didn't return 3!!!

Does anyone know whats going on here?

LewisQ
01-09-2003, 09:34 AM
Do you mean ERROR_SUCCESS or ERROR_INSTALL_FAILURE?

t0ast!
01-09-2003, 09:46 AM
I tried that too....it seemed to work after.

Sorry about all the newbie posts ;)

LewisQ
01-09-2003, 03:46 PM
No sweat. If don't ask, you don't learn! :)