user326608
user326608

Reputation: 2548

Set MSI installation directory to 3rd Party / Sister Product installation folder

Our product deploys via msi at clients' sites, and is an add-on to a sister product.

I need to detect the install folder of the sister product at install time, and install our product to the same location.

Upvotes: 1

Views: 299

Answers (2)

Christopher Painter
Christopher Painter

Reputation: 55581

Checkout this blog article I wrote:

Redemption of Visual Studio Deployment Projects

This will allow you to "twin" your sister product to the naked eye but under the covers get all the advantages of a WiX project. This includes full use of custom search extensions and custom action scheduling.

Upvotes: 2

AlexS
AlexS

Reputation: 354

I did something similar some time ago: I had an NSIS Installer which queried a specific regkey to get the current installation dir of my app. When the key and it's value existed, i passed it via "/TARGETDIR=..." to the Msi setup. (Background was, that the user can change the installation dir during setup and i wanted his last dir to be the default in the installdir page of the installer)

hth

Upvotes: 0

Related Questions