Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

Return code from Custom Action


2 replies to this topic

rakeshcs123

rakeshcs123
  • Full Members
  • 13 posts

Posted 24 August 2009 - 14:45

Hi All,

I have created a windows instllaer using BASIC MSI installer. In the custom action i return some error code ERROR_SUCCESS_REBOOT_REQUIRED/ERROR_INSTALL_FAILURE, although the installation is stopped but when i check the errorlevel on windows comand prompt, its value is 0 only. so i am not able to decide whether the installer succeeded or failed. as i have to integrate this installer in another installer so taking this decision is a must for me.

can anybody help me here?

Note: I am running the installation in silent mode.

Thanks for the help in advance.

Regards,
Rakesh

rakeshcs123

rakeshcs123
  • Full Members
  • 13 posts

Posted 27 August 2009 - 10:21

Can someone help me here please?

Thanks for the help in advance...

Regards,
Rakesh

Zweitze

Zweitze
  • Full Members
  • 522 posts

Posted 27 August 2009 - 13:28

It depends how you run the installation.

Running MsiExec.exe:
http://msdn.microsof...542(VS.85).aspx

Running self-written program that calls MsiInstallProduct:
http://msdn.microsof...315(VS.85).aspx
(Where else?)