rybolt
Posts: 8
Joined: Fri Jul 30, 2010 9:07 pm

Getting return value from Prerequisite

I have Windows Installer 4.5 as prerequisite. I want to pass command line parameter as follows.
/norestart

Prevents the redistributable package from asking the user to reboot even if it had to replace files that were in use during the installation.
If the update package is invoked with this option, it returns ERROR_SUCCESS_REBOOT_REQUIRED if it had to replace files that were in use.
If it did not have to replace files that were in use, it returns ERROR_SUCCESS. See the remarks section for additional information on delayed reboots.
http://msdn.microsoft.com/en-us/library ... 85%29.aspx
How do I check the return value in Adv. Installer , so I can determine to reboot or not ?

Thanks.

Users, please reply to thread if you need this !
GabrielBarbu wrote: Other users who feel this feature should be granted increased attention should tell us in this thread.
Last edited by rybolt on Wed Aug 11, 2010 4:05 pm, edited 1 time in total.
GabrielBarbu
Posts: 2146
Joined: Thu Jul 09, 2009 11:24 am
Contact: Website

Re: Getting return value from Prerequisite

Hello,

I am afraid checking the prerequisite's return value is not supported. We plan to support this feature in a future version of Advanced Installer.
Let us know if this feature is needed badly and we will increase its priority.
Other users who feel this feature should be granted increased attention should tell us in this thread.

Best regards,
Gabriel
Gabriel Barbu
Advanced Installer Team
http://www.advancedinstaller.com/

Return to “Common Problems”