At the end of my installation, the user is prompted to restart his/her computer. I was able to make this happen by using the ScheduleReboot action.
There is one case where I want my user to shutdown so he/she can install a required hardware to use my application. In this case, the user installs the software first, then the hardware second (PCI device).
Currently, if my installer does not detect my hardware device, I instruct the user to finish the installation, choose no when the user gets prompted to restart the computer. The user then has to manually shutdown the computer to install the device.
Is there a method/action in ISWI to prompt the user to shutdown the computer automatically?
Or, does anyone know which windows dll call prompts the user to shutdown his/her computer?