View Full Version : TARGETDIR and INSTALLDIR

Neelesh Korade
10-17-2003, 07:03 PM
Hi All
There is bit of confusion between these two properties. As I understand, TARGETDIR is a WI property and INSTALLDIR is an InstallShield property. But I guess both represent the same thing (the destination folder for the application). Is that true?
Bsides, can I use MsiGetProperty to get value of InstallShield properties like INSTALLDIR?


kk sonu
10-18-2003, 02:12 AM
INSTALLDIR represents the main product installation directory for a regular installation, such as the user launching Setup.exe or your .msi database.

TARGETDIR represents the installation directory for an administrative installation (when the user runs Setup.exe or MsiExec.exe with the /a command-line switch).

In a Standard project, the InstallScript variable MSI_TARGETDIR stores the target of an administrative installation.

Neelesh Korade
10-18-2003, 05:50 AM
thanks a lot kk sonu