Detect the installation location of a product

3 Messages Forum Options Options
Embed this topic
Permalink
Jeff Yates
Detect the installation location of a product
Reply Threaded MoreMore options
Print post
Permalink
Hi,

I want to create an MSI that detects the installation directory of another
already installed product and then installs additional files and folders to
that location. Is there a way I can do this in WiX? I am currently using v2.
I am responsible for the installer of the product I want to detect, so I
know the upgrade code, product code, component guids etc, if those are
needed to achieve this.

Thanks for your time.

Jeff
-------------------------------------------------------------------------
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@...
https://lists.sourceforge.net/lists/listinfo/wix-users
Sean Farrow
Re: Detect the installation location of a product
Reply Threaded MoreMore options
Print post
Permalink
Hi jeff:
You can use a property and a registry search.
Adapt th following code to you needs:
<Property Id="INSTALLDIR">
  <RegistrySearch Id='AcmeFoobarRegistry' Type='raw'
    Root='HKLM' Key='Software\Acme\Foobar 1.0' Name='InstallDir' />
</Property>
This was from the tutorial at:
http://www.tramontana.co.hu/wix/
Hth
Sean.
-----Original Message-----
From: wix-users-bounces@...
[mailto:wix-users-bounces@...] On Behalf Of Jeff Yates
Sent: 27 August 2008 20:56
To: wix-users@...
Subject: [WiX-users] Detect the installation location of a product

Hi,

I want to create an MSI that detects the installation directory of
another
already installed product and then installs additional files and folders
to
that location. Is there a way I can do this in WiX? I am currently using
v2.
I am responsible for the installer of the product I want to detect, so I
know the upgrade code, product code, component guids etc, if those are
needed to achieve this.

Thanks for your time.

Jeff
------------------------------------------------------------------------
-
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@...
https://lists.sourceforge.net/lists/listinfo/wix-users
 

__________ Information from ESET NOD32 Antivirus, version of virus
signature database 3393 (20080827) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.com
 
 

__________ Information from ESET NOD32 Antivirus, version of virus
signature database 3393 (20080827) __________

The message was checked by ESET NOD32 Antivirus.

http://www.eset.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@...
https://lists.sourceforge.net/lists/listinfo/wix-users
Jeff Yates
Re: Detect the installation location of a product
Reply Threaded MoreMore options
Print post
Permalink
Thanks, Sean. That's great!

On Wed, Aug 27, 2008 at 16:04, Sean Farrow <sean.farrow@...>wrote:

> Hi jeff:
> You can use a property and a registry search.
> Adapt th following code to you needs:
> <Property Id="INSTALLDIR">
>  <RegistrySearch Id='AcmeFoobarRegistry' Type='raw'
>    Root='HKLM' Key='Software\Acme\Foobar 1.0' Name='InstallDir' />
> </Property>
> This was from the tutorial at:
> http://www.tramontana.co.hu/wix/
> Hth
> Sean.
>  -----Original Message-----
> From: wix-users-bounces@...
> [mailto:wix-users-bounces@...] On Behalf Of Jeff Yates
> Sent: 27 August 2008 20:56
> To: wix-users@...
> Subject: [WiX-users] Detect the installation location of a product
>
> Hi,
>
> I want to create an MSI that detects the installation directory of
> another
> already installed product and then installs additional files and folders
> to
> that location. Is there a way I can do this in WiX? I am currently using
> v2.
> I am responsible for the installer of the product I want to detect, so I
> know the upgrade code, product code, component guids etc, if those are
> needed to achieve this.
>
> Thanks for your time.
>
> Jeff
> ------------------------------------------------------------------------
> -
> 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@...
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
> __________ Information from ESET NOD32 Antivirus, version of virus
> signature database 3393 (20080827) __________
>
> The message was checked by ESET NOD32 Antivirus.
>
> http://www.eset.com
>
>
>
> __________ Information from ESET NOD32 Antivirus, version of virus
> signature database 3393 (20080827) __________
>
> The message was checked by ESET NOD32 Antivirus.
>
> http://www.eset.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@...
> 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@...
https://lists.sourceforge.net/lists/listinfo/wix-users