skylinefighterx
Posts: 17
Joined: Wed Apr 25, 2012 12:25 am

Can Not Set REBOOT in Installation Sqeuence???

Running Advanced Installer 10.9.1

I followed the steps below to force a REBOOT, during uninstallation. But when I do Set Property REBOOT=Force, before and after the Finish Execution step it does not take effect. Meaning I do not see a Reboot Prompt. I know that it set it properly because I print out the REBOOT property out after I set it and it shows it properly as Force. And my Reboot Behavior is Prompt for Reboot if Required.

http://www.advancedinstaller.com/forums ... =5&t=26197

In the “Custom Actions” page you add a Set installer property predefined custom action with sequence. You should add it before “Install Execution Stage” >> “Finish Execution” stage. You can also disable the “Install” option from the “Execution Stage Condition” label.

You can edit its event options like that:
Property: field: REBOOT
Argument: field: Force
Condition: field: AI_MAINT AND ( (Installed AND ( REMOVE = "ALL" OR AI_INSTALL_MODE = "Remove" )) )
Dan
Posts: 4529
Joined: Wed Apr 24, 2013 3:51 pm

Re: Can Not Set REBOOT in Installation Sqeuence???

Hello,

In the Reboot after uninstall and during upgrade forum thread are presented the steps in order to set the Reboot property after uninstall.

Do you want to set the Reboot property when you run your installation package for the first time? If Yes, then you can set in the Condition field the NOT Installed statement. Also, you can take a look on the How do I restart the machine after the installation? article with related information for hints and guidance.

Please let us know if that helped.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”