whoops sorry replied to wrong msg :)

----- Original Message ----
From: Eitan Behar <[EMAIL PROTECTED]>
To: General discussion for Windows Installer XML toolset. 
<wix-users@lists.sourceforge.net>
Sent: Friday, 17 October, 2008 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 name and version as displayed in ARP.



-----Original Message-----
From: Sergey Abakumoff [mailto:[EMAIL PROTECTED] 
Sent: Friday, October 17, 2008 8:20 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Detect the version of already installed product.


Howdy gang,
In my installer I need to notify user if the previous version of product is
installed and show the version number. I was hoping that I can find the
already installed version number in PATCHFOUND property I use in
UpgradeVersion stuff:
    <Upgrade Id="5F966E51-1220-47e4-9825-9909C91033D4">
      <UpgradeVersion OnlyDetect="no" Property="PATCHFOUND"
Minimum="0.0.0.0">
      </UpgradeVersion>    
    </Upgrade>
However, the value of property is just some GUID.
I know the way I can accomplish this task - call the custom action that
executes the external program that loads the installed assembly and returns
it's version number, likely the assembly version is the same as the
installed product version. However this way is not straightforward . I am
sure that Wix has the way to detect the already installed version number,
just can't find it.
Can anyone help me? 
-- 
View this message in context:
http://n2.nabble.com/Detect-the-version-of-already-installed-product.-tp1344
094p1344094.html
Sent from the wix-users mailing list archive at Nabble.com.


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Send instant messages to your online friends http://uk.messenger.yahoo.com 
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to