Codename K
Posts: 471
Joined: Fri Jan 29, 2010 3:04 pm

Logging of Action Return Values?

Sun Apr 30, 2017 7:14 am

Hello,

Does Advanced Installer have the property values for this,

ERROR_FUNCTION_NOT_CALLED
ERROR_SUCCESS
ERROR_INSTALL_USEREXIT
ERROR_INSTALL_FAILURE
ERROR_INSTALL_SUSPEND
ERROR_SUCCESS
ERROR_INVALID_HANDLE_STATE
ERROR_INVALID_DATA
ERROR_INSTALL_ALREADY_RUNNING

Source, https://msdn.microsoft.com/en-us/librar ... s.85).aspx

:?:
K

mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Logging of Action Return Values?

Tue May 02, 2017 9:05 am

Hello,

The properties you mentioned are properties used only by Windows Installer during the installation sequence. They will appear in the log and their value can be read in the log as specified in the article you posted.

If you need to condition a custom action based on the outcome of another custom action, you need to create a custom action which always returns the success code and set a public property inside it. Based on this property you can determine the execution of the custom action which depends on the first.

Hope this helps,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Codename K
Posts: 471
Joined: Fri Jan 29, 2010 3:04 pm

Re: Logging of Action Return Values?

Tue May 02, 2017 9:11 am

Thank you
K

Return to “Common Problems”