I have a set of custom actions and reboot scheduled at the end for both install 
and uninstall in non-silent mode. It works fine for install on all windows 
platform. Uninstall from Add/Remove program also works fine on all but Vista. 
On 

Vista "reboot" prompt pops even before the uninstall is actually complete 
(progress bar is still in progress). If I chose to click on "yes" I see 
problems 
on
next boot. But if I click on "no" and wait for sometime before manually 
rebooting the
system all is fine on next boot.


 Following is my WIX code. Ang suggestions 
what might me wrong ? Thank you.
 
      <InstallExecuteSequence>
        <!-- install -->
        <Custom Action="InstallDreamWorld" After="InstallFiles">
          (NOT Installed) 
        </Custom>
        <Custom Action="InstallDreamUniverse" After="InstallDreamWorld">
          NOT Installed
        </Custom>
        <!-- uninstall -->
        <Custom Action="UninstallDreamUniverse" Before="UninstallDreamWorld">
          Installed AND (REMOVE="ALL") AND (NOT UPGRADINGCODE)
        </Custom>
        <Custom Action="UninstallDreamWorld" Before="RemoveFiles">
          Installed AND (REMOVE="ALL") AND (NOT UPGRADINGCODE)
        </Custom>
        
        <!-- schedule reboot in non-silent mode only --> 
        <ScheduleReboot After="InstallFinalize">
          <![CDATA[UILevel <> 2]]>
        </ScheduleReboot>
      </InstallExecuteSequence>


      

------------------------------------------------------------------------------
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to