Custom Action Data Properties

From: Kerry Whelan (whelan_kerry_at_hotmail.com)
Date: 09/17/04


Date: 17 Sep 2004 07:43:05 -0700

I am attempting to develop an msi for my application. It has two radio
buttons on it, "DEV" and "LIVE".

My main application contains two folders, "DEV" and "LIVE" each with
an app.config file with the settings appropriate to that environment.

When running the installer the user will select their environment and
that config file from the appropriate folder will be copied and
installed with the application at the [TARGETDIR]. The problem is that
I tried using the [SOURCEDIR] attribute to get the directory of my
application however that returns the location of the installation
files (the msi).

I want to make the installation project as generic as possible and so
would prefer not to hack around with the file path myself. Are there
any custom action data properties that I can use to get the file path
of the main project?

Thanks for the help,

Kerry