I want to Check for DCOM and then install it after AppSearch has taken place. The checking etc works fine and my custom action that calls my dll to cause the reboot runs fine but it doesn't cause Installer to do the right thing. In my custom action I use MsiSetMode passing it MSIRUNMODE_REBOOTNOW to force an immediate reboot. However this doesn't happen and the install proceeds to the normal dialogs. If the user cancels some other running programs attempt to shutdown as if they were given the command to end (This also happens if I send the MSIRUNMODE_REBOOTATEND). But if I let the Install continue the dialog boxing telling the user that he needs to reboot pops up ... it seems as tho REBOOTNOW does the same as REBOOTATEND.
How can I force a reboot to occur at this time before any installs are done. I looked at an install by InstallShield and they have a CA that does this .. and it works .. why would theirs work and not mine what am I doing wrong or is there some extra undocumented calls that I need to make.
Please help !!!
Shaun