You may also want to consider writing a custom utility to uninstall the old 
InstallScript install.   Usually this involves snapshoting the application on a 
clean machine to understand what it's footprint was and then writing code back 
it out while respecting things like shared files and dll reference counts.     
In my repackaging days I had to frequently do this because the old installs ( 
sometimes several versions with different footprints )  had non-operative 
uninstallers.    One of my favorties was from Avaya.  Their IPAgent software 
`supported` silent installs but not silent uninstalls.   A MsgBox would pop up 
with an error and cancel.
  
Once it's backed out as clean as possible your shiney new MSI can do proper 
costing, component rules, transactional installation ectera without the old 
version causing problems.
  
"Wilson, Phil" <[EMAIL PROTECTED]> wrote:
                I think /SMS is the incantation that makes the process wait for 
completion. It’s case-sensitive I believe. 
   
    Phil Wilson 

   
      From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of dB.
Sent: Wednesday, May 07, 2008 2:44 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Beating a dead horse: uninstalling an InstallScript setup 
during a wix upgrade?


   
  I have to upgrade an installscript installation (non-MSI) with a new wix 
installer. 
   
  I figured out how to get the uninstall command (registry, 
HKLM/…/Uninstall/GUID/UninstallString) and I can run that as a custom action, 
but…
   
  1.       I can’t make the damn thing wait to finish, it detaches the process 
(I tried specifying /w, cmd.exe /C /Q, etc.). Has anyone done this?
  2.       I need to pass an .iss file to click through the UI, how do I do 
that?
  3.       Is this a good idea at all? Am I missing something?
   
  I am tempted to just tell the users to uninstall the application manually, 
but that’s going to make people who care about use experience very unhappy – 
the whole point of moving to wix-based installers is to improve it .
   
  Thx
  dB.
   
  -dB.
  dblock.org / foodcandy.com
   

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


       
---------------------------------
Be a better friend, newshound, and know-it-all with Yahoo! Mobile.  Try it now.
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to