We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

negro.andrea
Posts: 8
Joined: Fri Apr 10, 2015 1:16 pm
Location: Turin, Italy

Force Reboot il property is set

Hi,
In my scenario i need to reboot the machine if a vbs, in a custom action, sets a property and continue installation after reboot, how can I get this?

Thanks
Andrea Negro - ECM Consultant
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Force Reboot il property is set

Hello,

This is not a common scenario. Can you please give us more details about your specific scenario, maybe exemplify?

You might try to implement your scenario using the Run and RunOnce Registry Keys.

If you need to reboot after uninstall and during an upgrade, please take a look on the Reboot after uninstall and during upgrade forum thread which debates this subject.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
negro.andrea
Posts: 8
Joined: Fri Apr 10, 2015 1:16 pm
Location: Turin, Italy

Re: Force Reboot il property is set

Hello,
I managed to get what I need using RunOnce Registry Keys.

My package contains a .vbs who must clean the tpm and then I need to reboot during its execution and not after uninstall.

I was able to handle the prosecution of the package by inserting a line in .vbs suspending its installation

Code: Select all

suspend = 4
and with runonce I restarted it after the reboot

Best regards,
Andrea
Andrea Negro - ECM Consultant

Return to “Building Installers”