Setting the ProductCode to Autogen (<Product Id="*" .. >) will create
independent products for each new version. When you set OnlyDetect="yes"
this will not remove the older versions but only set the
PREVIOUSVERSIONSINSTALLED  Property to the product guids of the older
versions.


Best regards,
Sebastian Brand

Deployment consultant
E-Mail: sebast...@instyler.com

Instyler Setup - Creating WiX-based MSI installations, elegantly.
http://www.instyler.com


-----Original Message-----
From: Anuj Pandey [mailto:a...@vetvision.in] 
Sent: Monday, September 14, 2009 09:45
To: WIX
Subject: [WiX-users] Multiple Instances in Add Remove Program

Hi

I have create a setup starting like this

<?xml version="1.0" encoding="utf-8"?>
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi";
     xmlns:util="http://schemas.microsoft.com/wix/UtilExtension";
     xmlns:fire="http://schemas.microsoft.com/wix/FirewallExtension";
     xmlns:Sql="http://schemas.microsoft.com/wix/SqlExtension";>
  <?define PRODUCTVERSION="1.4.8.5"?>
  <Product Id="*" Name="Hit Hop Product"
           Language="1033" Codepage="Windows-1252"
Version="$(var.PRODUCTVERSION)"
           Manufacturer="HitHop"
           UpgradeCode="D9953040-8360-4680-B5FA-AC3A1F4D5302">
    <Package InstallerVersion="200" Compressed="yes" Languages="1033"
InstallScope="perMachine"  Manufacturer="HitHop" />
    <Upgrade Id="D9953040-8360-4680-B5FA-AC3A1F4D5302">
      <UpgradeVersion OnlyDetect="yes" Property="PREVIOUSVERSIONSINSTALLED"
                      Minimum="$(var.PRODUCTVERSION)" IncludeMinimum="yes"
                      Maximum="$(var.PRODUCTVERSION)" IncludeMaximum="yes"
/>
    </Upgrade>

But every time i install it creates a new instance in Add Remove program,
any idea? what i am doing wrong..
::::::::::::::::::::::::::::::::::
Anuj Pandey
VetVision
www.vetvision.in
::::::::::::::::::::::::::::::::::
----------------------------------------------------------------------------
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus
on what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to