That is the designed behaviour if the versions are the same.  You have to uprev 
the version.  

-----Original Message-----
From: Goran [mailto:[email protected]] 
Sent: November 4, 2012 11:02 AM
To: [email protected]
Subject: [WiX-users] New bundle installs new application (doesn't upgrade)

I create a bundle with Msi package and .net framework 4.0 (as a prerequisite). 
I run the install for the first time, it installs OK. I run the same bundle 
again, it offers to Repair, Remove - OK.

However, if I build the bundle again, and then run installation again ( I did 
not uninstall previous version), the result will be two installations in Add / 
Remove programs. What I would like is to jut do an upgrade, so that only one 
software is installed at a time. What am I doing wrong?

<Bundle Name="$(var.Software)"
            Version="$(var.ProductVersion)"
            Manufacturer="from product.wxs"
            UpgradeCode="$(var.UpgradeCode)"
            Condition="((VersionNT >= v5.1) AND (ServicePackLevel >= 3)) OR 
((VersionNT >= v5.2) AND (ServicePackLevel >= 2)) OR (VersionNT >= v6.0)">
        <BootstrapperApplicationRef
Id="WixStandardBootstrapperApplication.RtfLicense" />

        <Chain>
            <PackageGroupRef Id="Netfx4Client"/>
            <RollbackBoundary />

            <MsiPackage Id="ApplicationInstaller"
                        Compressed="yes"
                        SourceFile="$(var.SoftwarePackage)"
                        Vital="yes">
                <MsiProperty Name="INSTALLFOLDER" Value="[InstallFolder]" />
            </MsiPackage>
        </Chain>
    </Bundle>


<Product Id="*"
           Name="$(var.Software)"
           Language="1033"
           Version="$(var.ProductVersion)"
           Manufacturer="$(var.Company)"
           UpgradeCode="$(var.UpgradeCode)">

.....



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/New-bundle-installs-new-application-doesn-t-upgrade-tp7581742.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, update software, and manage PCs from one command center 
Diagnose problems and improve visibility into emerging IT issues Automate, 
monitor and manage. Do more in less time with Central 
http://p.sf.net/sfu/logmein12331_d2d
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users



------------------------------------------------------------------------------
LogMeIn Central: Instant, anywhere, Remote PC access and management.
Stay in control, update software, and manage PCs from one command center
Diagnose problems and improve visibility into emerging IT issues
Automate, monitor and manage. Do more in less time with Central
http://p.sf.net/sfu/logmein12331_d2d
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to