I could not get this to work, and still have the same issue where I get the 
popup "Another version of this product is already installed".

I tried several incantations, but just cannot seem to get this to work, here is 
a snippet from my installer file, does anyone have any ideas as to what I need 
to do?


  <Product Id="7fdfd40c-167f-407c-868e-d72daf897f76" Name="XPedient 
XPertJustice Application Server"
           Language="1033" 
Version="$(var.MajorVersion).$(var.MinorVersion).$(var.BuildNumber)" 
UpgradeCode="c0557fad-2240-43d3-8e9c-653a7bc35015"
           Manufacturer="XPedient Technologies">

    <Property Id="DiskPrompt" Value="XPertJustice Application Server"/>
    <Property Id="PREVIOUSVERSIONSINSTALLED" Secure="yes" />
    <Property Id="MSIUSEREALADMINDETECTION" Value="true" />
    <Upgrade Id="c0557fad-2240-43d3-8e9c-653a7bc35015">
      <UpgradeVersion Minimum="1.0.0.0" Maximum="2.0.0.0" 
Property="PREVIOUSVERSIONSINSTALLED" IncludeMinimum="yes" IncludeMaximum="no">
      </UpgradeVersion>
    </Upgrade>
    <MajorUpgrade AllowSameVersionUpgrades="yes" DowngradeErrorMessage="In 
order to downgrade, you must first uninstall the newer version that is 
currently installed."/>
    <!-- <MajorUpgrade AllowDowngrades="yes"/> -->
    <!-- <RemoveExistingProducts 
After="InstallFinalize"></RemoveExistingProducts> -->


I left some of the various combinations commented out above, we are fast 
pushing torwards a deployment, and need some insight or direction.



-----Original Message-----
From: Alexander Kozlenko [mailto:alexander.kozle...@hotmail.com] 
Sent: Thursday, October 07, 2010 4:06 PM
To: 'General discussion for Windows Installer XML toolset.'
Subject: Re: [WiX-users] Simple Upgrade/Reinstall Question

Try to use this code: <MajorUpgrade AllowDowngrades="yes" />, but also you need 
to suppress ICE61 for safely allowing downgrade.

-----Original Message-----
From: John Bergman [mailto:john.berg...@xpedienttechnologies.com]
Sent: Thursday, October 07, 2010 11:16 PM
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] Simple Upgrade/Reinstall Question

I have been reading and searching through the mailing list, and I cannot seem 
to get my arms around the upgrade markup.
Is there a simply way to indicate that anytime an install with the same product 
id is detected that it should be uninstalled, regardless of the version, and 
the install being executed ends up being installed as if it were a fresh 
install?

Thanks,
John 


------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports standards for 
HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great 
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1,  ECMAScript5, and DOM L2 & L3.
Spend less time writing and  rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to