Hi All,

We are using Wix MSI for doing installation/uninstallation of
our application. Currently our application is supported from Windows XP and
above. As a part of uninstallation, we are removing Gui application from system
tray.  But we are finding two different behavior
for XP vs Non XPS
 
Non XP – Vista and Above (eg: Win7) – Here ,when we remove
uninstall from Add or Remove Programs, gets a pop up that Gui application needs
to closed before continuing the install.  I select “Automatically close 
applications and attempt to restart them
after setup is complete” and uninstallation is completed successfully and
everything works fine. 
 
XP – When I invoke uninstall from Add or Remove Programs, I didn’t
get the pop up that Gui application needs to closed. Uninstallation removes all
the files from the installation directory but application is still seen in the
system tray. 
 
Here are the questions
a)      Why the different behavior seen in Windows XP? Is
it since Restart Manager is not present in XP.
b)      How can I  get Windows 7 behavior in Windows XP (ie
getting pop up that Gui application needs to closed) 
c)      In Windows7, how can I prevent “Gui application
needs to be closed” from not appearing.
d)      For XP, I have added the below code to remove
Gui during uninstallation and found working. Can someone please comment if I am
doing correct or something wrong with the below code.
 
<InstallExecuteSequence>
     <!--WixCloseApplications is a built in custom action that uses
util:CloseApplication below -->
      <CustomAction="WixCloseApplications"Before="InstallInitialize"/>
    </InstallExecuteSequence>
    
  <util:CloseApplicationId="CloseGui"CloseMessage="yes"Description="Needs to 
close.Sorry about that"
                           ElevatedCloseMessage="no"RebootPrompt="no"  
Target="Gui.exe"/>
   
  </Product>
What I am basically aiming is the same behavior in both XP
and Windows7 operating systems. 
------------------------------------------------------------------------------
Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works. 
Faster operations. Version large binaries.  Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to