This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- InstallShield reboot, ExitWindowEx vs InitiateSystemShutdown.
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 11, 2017
03:11 AM
InstallShield reboot, ExitWindowEx vs InitiateSystemShutdown.
I'm trying to find out the function which InstallShield calls to reboot the system.
I've written the API hooker and find that one of the installers called ExitWindowEx.
Does anybody know, if ExitWindowsEx or ExitWindows function is called in any case . (iI would be great if you know where to find the documental evidence)
Thanks!
I've written the API hooker and find that one of the installers called ExitWindowEx.
Does anybody know, if ExitWindowsEx or ExitWindows function is called in any case . (iI would be great if you know where to find the documental evidence)
Thanks!
- Tags:
- winapi installshield
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 11, 2017
09:12 AM
InstallShield doesn't call any functions to reboot the system. By the time you link and compile into, say an MSI file, and run that - it is no longer under any sort of control of InstallShield. At that point you are running under the context of MSIEXEC.EXE and MSI.DLL. It is this Microsoft code which sends any sort of command to reboot the system.
Chad
Chad
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 16, 2017
08:46 AM
chad.petersen wrote:
InstallShield doesn't call any functions to reboot the system. By the time you link and compile into, say an MSI file, and run that - it is no longer under any sort of control of InstallShield. At that point you are running under the context of MSIEXEC.EXE and MSI.DLL. It is this Microsoft code which sends any sort of command to reboot the system.
Chad
That's what I meant.. Just trying to figure out if there is some common way how Windows installer calls the system reboot.
As I mentioned about I hooked the ExitWindowEx function call, but still not sure if it would be called everytime when system is rebooted.
So, maybe I need to ask the Microsoft support.
Sorry for confusing.
Thanks,