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.