Have a new installation that refuses to upgrade.  On each new release the 
installer complains. That "Another version of this product is already 
installed...  Below is the Product.wxs file.  Build and install this version, 
change BGProductVersion to 1.11.5241.1234, build and install, "Another 
version..." message.  Simply cannot see why this is not working.  Please help.

<?xml version="1.0" encoding="UTF-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi";>
  <?define BGProductVersion = "1.10.5218.8242"?>
       <Product Id="25f4b456-0d56-4430-97ad-91e764a2c764"
           Name="Pyrocam IV Firmware Updater"
           Language="1033"
           Version="$(var.BGProductVersion)"
           Manufacturer="Ophir-Spiricon, LLC"
           UpgradeCode="68fbccb3-4859-402a-81c3-9ba94c8ee4f6">
    <Package Compressed="yes"
          InstallerVersion="300"
          InstallPrivileges="elevated"
          InstallScope="perMachine"
          Platform="x86" />
    <Media Id="1" Cabinet="media1.cab" EmbedCab="yes" />

    <Upgrade Id="{68fbccb3-4859-402a-81c3-9ba94c8ee4f6}">
      <UpgradeVersion Minimum="$(var.BGProductVersion)"
                      IncludeMinimum="no"
                      OnlyDetect="yes"
                      Language="1033"
                      Property="NEWPRODUCTFOUND" />

      <UpgradeVersion Minimum="1.0.0"
                      IncludeMinimum="yes"
                      Maximum="$(var.BGProductVersion)"
                      IncludeMaximum="no"
                      Language="1033"
                      Property="UPGRADEFOUND" />
    </Upgrade>

    <InstallExecuteSequence>
      <RemoveExistingProducts After="InstallInitialize" />
    </InstallExecuteSequence>

    <?include Variables.wxi?>

    <?include Pleora.wxi?>

    <Feature Id="ProductFeature" Title="Pyrocam IV Firmware Updater" Level="1">
                     <!-- TODO: Remove the comments around this ComponentRef 
element and the Component above in order to add resources to this installer. -->
      <ComponentRef Id="APPLICATIONOUTPUT" />

      <ComponentGroupRef Id="Pleorax86DLL" />
      <ComponentGroupRef Id="Pleorax64DLL" />

      <ComponentGroupRef Id="Pleora" />

      <ComponentRef Id="SpiriconProgramsFolder"/>
      <ComponentRef Id="ApplicationProgramsFolder"/>

      <!--ComponentRef Id="ProgramMenuFolderShortcut"/-->
      <ComponentRef Id="ApplicationStartMenuShortcut"/>

      <!-- Note: The following ComponentGroupRef is required to pull in 
generated authoring from project references. -->
      <!--<ComponentGroupRef Id="Product.Generated" />-->
              </Feature>
       </Product>
</Wix>



------------------------------------------------------------------------------
Is your legacy SCM system holding you back? Join Perforce May 7 to find out:
&#149; 3 signs your SCM is hindering your productivity
&#149; Requirements for releasing software faster
&#149; Expert tips and advice for migrating your SCM now
http://p.sf.net/sfu/perforce
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to