Hi, 

I made an installer with WIX 3.5 that deploy things for a BI Solution.

When I have a new version of my WIX Installer, and the client run the
installer (MSI), can it automatically uninstall any older version installed
on the PC and start the installation of the new version ? It is something
possible ? Any suggestion on how to do this (or some link on web) ? 

I don't want the message saying that theres is another older version on the
PC and it got to be uninstall before installing the new one. I never need to
Update things ... I always have to remove everything and install it back
with new components. 

I tried this (see code bellow) but it keep saying that another version is
installed and that I have to remove it from Add/Remove Program

<Product Id="725fca14-3120-4e13-a782-90dec57b59b3" Name="AQ_SPU_CUBE"
Language="1036" Version="2.0.0" Manufacturer="AQ_SPU_CUBE"
UpgradeCode="002d3b98-f6be-4e8e-b6ae-4848ff009b46" Codepage="1252">
    <Package InstallerVersion="200" Compressed="yes"  />

    <Media Id="1" Cabinet="media1.cab" EmbedCab="yes" />


    <Upgrade Id="002d3b98-f6be-4e8e-b6ae-4848ff009b46">
      <UpgradeVersion OnlyDetect="no" Property="PREVIOUSFOUND"
        Minimum="1.0.0" IncludeMinimum="yes"
        Maximum="3.0.0" IncludeMaximum="no" />
    </Upgrade>

    <InstallExecuteSequence>
      <RemoveExistingProducts Before="InstallInitialize" />
....
</InstallExecuteSequence>



Thanks Richard 
-- 
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Automatic-remove-of-older-version-tp5589138p5589138.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to