What do those custom actions actually do? 

Palbinder Sandher 
Software Deployment & IT Administrator
T: +44 (0) 141 945 8500 
F: +44 (0) 141 945 8501 

http://www.iesve.com 
**Design, Simulate + Innovate with the <Virtual Environment>**
Integrated Environmental Solutions Limited. Registered in Scotland No. SC151456 
Registered Office - Helix Building, West Of Scotland Science Park, Glasgow G20 
0SP
Email Disclaimer

-----Original Message-----
From: Bisht, Pradeep [mailto:[email protected]] 
Sent: 05 August 2010 20:03
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] reboot prompt appears before uninstall on Vista

Forgot to mention that my custom actions are "deferred" and "check":

      <CustomAction Id="InstallDreamWorld"
                    Directory="DreamWorld"
                    ExeCommand="setup.exe /install"
                    Execute="deferred"
                    Return="check"/>
      <CustomAction Id="UninstallDreamWorld"
                    Directory="DreamWorld"
                    ExeCommand="setup.exe /uninstall"
                    Execute="deferred"
                    Return="check"/>
      
      <CustomAction Id="InstallDreamUniverse"
                    Directory="DreamUniverse"
                    ExeCommand="setup.exe /install"
                    Execute="deferred"
                    Return="check"/>

      <CustomAction Id="UninstallDreamUniverse"
                    Directory="DreamUniverse"
                    ExeCommand="setup.exe /uninstall"
                    Execute="deferred"
                    Return="check"/>

 


----- Original Message ----
From: "Bisht, Pradeep" <[email protected]>
To: [email protected]
Sent: Thu, August 5, 2010 11:53:21 AM
Subject: [WiX-users] reboot prompt appears before uninstall on Vista

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



      

------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users



------------------------------------------------------------------------------
This SF.net email is sponsored by 

Make an app they can't live without
Enter the BlackBerry Developer Challenge
http://p.sf.net/sfu/RIM-dev2dev 
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to