Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Reboot PC

7 views
Skip to first unread message

Trev D

unread,
Jan 14, 2002, 10:47:15 AM1/14/02
to
Hi,
I have created a new dialog to ask the user if he/she wants to 'Harden the
PC' (ie. Turn off Task Manager, disable Start Menu, disable Alt+Tab etc). If
the user selects this option I set a global property (INSTALL_TYPE =
'Harden'). All this functionality is within a function in a COM Component
which I register. I call a Custom Action to call the function within the COM
Component in the installation sequence after InstallFinalize. This all works
fine but I need to be able to force a reboot after the installer has
completed because 'Hardening' the PC will disable the StartMenu. I have
tried putting the ForceReboot action at the very end after
RemovingExistingProducts. I have a condition of INSTALL_TYPE = "Harden". I
keep getting the "Internal Error 2762". Do you know where the correct place
to put this Custom Action so that it will reboot the PC if the user selects
this Hardening option????

Many thanks for reading this,
Trevor.


Phil Wilson

unread,
Jan 14, 2002, 1:32:34 PM1/14/02
to
I believe this is the error you get when a deferred CA is run out of
sequence (it has to be between InstallInitialize and InstallFinalize).

"Trev D" <tre...@hotmail.com> wrote in message
news:3c42...@news.installshield.com...

Trev D

unread,
Jan 15, 2002, 4:07:17 AM1/15/02
to
Thanks for your answer. I used a Custom Action with install script
MsiDoAction (hMSI,"ScheduleReboot") and it now presents a dialog at the end
of the installation to ask the user if he/she wants to reboot. Is it
possible to force a reboot without asking the user, as I need the PC to
reboot?....as it would cause problems if the user pressed 'No' to this
dialog.........

"Phil Wilson" <phil....@nospam.unisys.com> wrote in message
news:3c43...@news.installshield.com...

Phil Wilson

unread,
Jan 15, 2002, 3:50:38 PM1/15/02
to
There's a REBOOTPROMPT property that it looks like you can set to Suppress.
The installer engine has to be version 1.1 or higher.

"Trev D" <tre...@hotmail.com> wrote in message

news:3c43f123$1...@news.installshield.com...

Bader Batarfi

unread,
Apr 8, 2021, 7:06:46 AM4/8/21
to
Bader Batarfi's Dell Precision M3800
0 new messages