Loading
return custom error code
hi all,

 

In silent install mode I want to return an error code based on specific command execution, as of now when a specific command execution is failed I am logging that info to install log file, along with that , installer also should return an error code which is defined by me. how to make this work, please suggest me.

 

 

thanks in advance

 

Phanik

  • Return codes are pre-defined in case of an .msi (MSI engine) or setup.exe (in InstallShield exe wrapper) and getting a custom return code may not be straight forward.

     

    May be you can write the custom error to a file/registry within the installer and later use it from there.

Loading
return custom error code