cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Shahbaz
Level 3

Restart screen in basic msi project

Jump to solution
Hi,
I am creating a basic msi project and in that I required to add a restart screen and will give the user authority to restart or not... By default I am not getting any option to achieve that one. Can anyone help me with the options
Labels (1)
0 Kudos
(1) Solution
shunt
Revenera Moderator Revenera Moderator
Revenera Moderator

In your project locate the "ScheduleReboot" action here:
BEHAVIOUR AND LOGIC > Custom actions and Sequences > Sequences > Installation > Execute > ScheduleReboot

Change the value of conditions to "REMOVE" if you want the reboot request after uninstall or "NOT REMOVE" if you want it after install.

This will cause the installer to display a message "click ok to restart your machine now or cancel to restart later"

Hope this helps,
Stuart

View solution in original post

0 Kudos
(2) Replies
shunt
Revenera Moderator Revenera Moderator
Revenera Moderator

In your project locate the "ScheduleReboot" action here:
BEHAVIOUR AND LOGIC > Custom actions and Sequences > Sequences > Installation > Execute > ScheduleReboot

Change the value of conditions to "REMOVE" if you want the reboot request after uninstall or "NOT REMOVE" if you want it after install.

This will cause the installer to display a message "click ok to restart your machine now or cancel to restart later"

Hope this helps,
Stuart

0 Kudos
Thanks Stuart, it worked.
0 Kudos