Need to Restart the machine by using custom action - Advanced Installer Community

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!

sonu
Posts: 148
Joined: Tue Oct 30, 2012 10:04 am

Need to Restart the machine by using custom action

HI Support,

My requirement I need to restart the machine by using a custom action after clicking finish button, later after restarting need to execute an .exe using custom .(During installation)

After finish button.... Setp 1
Restart machine (By using Custom action).....Setp 2
(RESTART THE MACHINE)
After restarting the Machine. I need an execution of .Exe by Using Custom Action (Installation need to be continued after restart)......Setp 3

Note: These actions need to perform after clicking the finish during installation

I have tried by using "set Install property" custom action (REBOOT = "Force") but it executing the "later custom action" before then it shows a popup asking user "Do u want to restart the machine"

I think hope you understand the issue, please reply If you have any quires on this.


(Note : Its an priory task to resolve)
With Regards,
Pradeep
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Need to Restart the machine by using custom action

Hello Pradeep,

I'm afraid we don't have support for this. However, in order to achieve this you can try to develop your own custom action which will reboot the target machine and after reboot will launch an exe file. Also, the custom action can be added as an "Execute custom action" published event on [Finish] button.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”