Re: [WiX-users] Detect the version of already installed product.

2008-10-20 Thread Richard
In article <[EMAIL PROTECTED]>, "Ian Elliott (Excell Data Corporation)" <[EMAIL PROTECTED]> writes: > I don't think Wix has a native way to get the version number. However, > using the Upgrade table, if you define a row for each version you are > trying to detec t, then if the property of th

Re: [WiX-users] Detect the version of already installed product.

2008-10-20 Thread Ian Elliott (Excell Data Corporation)
in a custom action to find the version. http://msdn.microsoft.com/en-us/library/aa370130(VS.85).aspx -Original Message- From: Sergey Abakumoff [mailto:[EMAIL PROTECTED] Sent: Sunday, October 19, 2008 5:50 AM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Detect the version of al

Re: [WiX-users] Detect the version of already installed product.

2008-10-19 Thread Sergey Abakumoff
I should use OnlyDetect=no to uninstall the prior version if it exists. Therefore only prior version can be installed at the moment of starting the new installation. Then, I mentioned the way of getting assembly version because this is the common rule of out software - the version of the assembly

Re: [WiX-users] Detect the version of already installed product.

2008-10-17 Thread Wilson, Phil
It depends how many prior versions you've got as to how cumbersome this is, but if you had 1.0, 2.0 and 3.0 then you can simply use upgrade elements to detect each of them with onlydetect=yes, and if the corresponding property is set show a message. It's not obvious what version you really want

Re: [WiX-users] Detect the version of already installed product.

2008-10-17 Thread Rob Mensching
Verbose log file will show you all of that. -Original Message- From: Andrew Kendall [mailto:[EMAIL PROTECTED] Sent: Friday, October 17, 2008 02:47 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Detect the version of already installed product. yes, I

Re: [WiX-users] Detect the version of already installed product.

2008-10-17 Thread Andrew Kendall
whoops sorry replied to wrong msg :) - Original Message From: Eitan Behar <[EMAIL PROTECTED]> To: General discussion for Windows Installer XML toolset. Sent: Friday, 17 October, 2008 9:59:40 Subject: Re: [WiX-users] Detect the version of already installed product. I'm sur

Re: [WiX-users] Detect the version of already installed product.

2008-10-17 Thread Andrew Kendall
008 9:59:40 Subject: Re: [WiX-users] Detect the version of already installed product. I'm sure that this is not the best way, but, given that you have the product code, just do a registry search under HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall\{ProductCode} - You have the Product nam

Re: [WiX-users] Detect the version of already installed product.

2008-10-17 Thread Eitan Behar
I'm sure that this is not the best way, but, given that you have the product code, just do a registry search under HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall\{ProductCode} - You have the Product name and version as displayed in ARP. -Original Message- From: Sergey Abakumoff