[WiX-users] VS setup project - WiX 3.0 conversion

2008-06-25 Thread Alex Ivanoff
I am just starting with WiX 3.0. As an exercise I converted one of our simple VS 2008 setup projects to WiX 3.0 and have two questions so far: 1. How do I make the new installer uninstall the previous version of the product? Is it just a matter of setting UpgradeCode? 2. How can I use Product

Re: [WiX-users] VS setup project - WiX 3.0 conversion

2008-06-25 Thread Neil Enns
:04 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] VS setup project - WiX 3.0 conversion I am just starting with WiX 3.0. As an exercise I converted one of our simple VS 2008 setup projects to WiX 3.0 and have two questions so far: 1. How do I make the new installer uninstall

Re: [WiX-users] VS setup project - WiX 3.0 conversion

2008-06-25 Thread Alex Ivanoff
. Subject: Re: [WiX-users] VS setup project - WiX 3.0 conversion For #1 I keep forgetting that's one of the topics on my list to add to the docs. In the mean time you can read Alex's blog entry which is how I got it working: http://blogs.technet.com/alexshev/archive/2008/02/15/from-msi-to-wix-par t

Re: [WiX-users] VS setup project - WiX 3.0 conversion

2008-06-25 Thread Kelly Leahy
PROTECTED] 06/25/2008 12:33 PM Please respond to General discussion for Windows Installer XML toolset. wix-users@lists.sourceforge.net To General discussion for Windows Installer XML toolset. wix-users@lists.sourceforge.net cc Subject Re: [WiX-users] VS setup project - WiX 3.0 conversion

Re: [WiX-users] VS setup project - WiX 3.0 conversion

2008-06-25 Thread Neil Enns
To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] VS setup project - WiX 3.0 conversion It worked, thank you. But now I have another problem. Lets say I have version 1 of product: ?define ProductVersion=1.0.0.0 ? RegistryKey Key=$(var.ProductVersion) Now I am

Re: [WiX-users] VS setup project - WiX 3.0 conversion

2008-06-25 Thread Alex Ivanoff
, June 25, 2008 12:33 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] VS setup project - WiX 3.0 conversion It worked, thank you. But now I have another problem. Lets say I have version 1 of product: ?define ProductVersion=1.0.0.0 ? RegistryKey Key

Re: [WiX-users] VS setup project - WiX 3.0 conversion

2008-06-25 Thread Jason Ginchereau
: Wednesday, June 25, 2008 8:15 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] VS setup project - WiX 3.0 conversion For #1 I keep forgetting that's one of the topics on my list to add to the docs. In the mean time you can read Alex's blog entry which is how I

Re: [WiX-users] VS setup project - WiX 3.0 conversion

2008-06-25 Thread Alex Ivanoff
. Subject: Re: [WiX-users] VS setup project - WiX 3.0 conversion #2: Why not just reference the MSI ProductVersion property? Use the [] syntax to reference properties in Registry Key, Name, or Value: RegistryKey Key=Some\Path\[ProductVersion] / -Original Message- From: [EMAIL

Re: [WiX-users] VS setup project - WiX 3.0 conversion

2008-06-25 Thread Neil Sleightholm
:[EMAIL PROTECTED] On Behalf Of Alex Ivanoff Sent: 25 June 2008 21:25 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] VS setup project - WiX 3.0 conversion This works, too, thank you. But it has the same problem of not deleting a key during upgrade

Re: [WiX-users] VS setup project - WiX 3.0 conversion

2008-06-25 Thread Alex Ivanoff
for Windows Installer XML toolset. Subject: Re: [WiX-users] VS setup project - WiX 3.0 conversion Warning this is a guess! Do you have the RegistryKey in a component that has a different guid for each version? If not I can't see how the install would know to remove the key. Neil Neil Sleightholm X2

Re: [WiX-users] VS setup project - WiX 3.0 conversion

2008-06-25 Thread Neil Sleightholm
Sent: 25 June 2008 22:06 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] VS setup project - WiX 3.0 conversion The component key is constant. So, you are saying to put this registry key in its own component with autogenerated guid? -Original Message- From

Re: [WiX-users] VS setup project - WiX 3.0 conversion

2008-06-25 Thread Alex Ivanoff
To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] VS setup project - WiX 3.0 conversion I would say if there is a new registry key then that is a new component so it needs a new guid. I wouldn't say it should be auto generated as I don't know the consequences