![]() |
#1 |
Junior Member
Join Date: Oct 2020
Posts: 47
|
force reboot post installaton
I want to force restart my installer post successful install. by having reboot in onInstSuccess , i can reboot . But it options (snapshot attached) as Reboot now or later. Even when i click on later, it reboots. I dont want any options. it should always force reboot post-install without giving any options like reboot later or reboot now.
any help is much appreciated. |
![]() |
![]() |
![]() |
#2 |
Junior Member
Join Date: Oct 2020
Posts: 47
|
i have set SetRebootFlag false in .onInstSuccess and flipflopped true/false with no positive results
|
![]() |
![]() |
![]() |
#3 |
Moderator
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,548
|
Do you still want to show the finish page?
IntOp $PostCount $PostCount + 1 |
![]() |
![]() |
![]() |
#4 |
Junior Member
Join Date: Oct 2020
Posts: 47
|
i resolved it by using !define MUI_FINISHPAGE_NOREBOOTSUPPORT and SetRebootFlag false on init
|
![]() |
![]() |
![]() |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|