cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
gigolojoe
Level 4

Redefine MSI targetdir

Hi,
How do you redefine the installdir in an msi project.
In an installscript project I do it like this:




#define BASEFOLDER "d:\\server\\gms\\"
....
...

TARGETDIR = BASEFOLDER + IFX_PRODUCT_VERSION ;



How do I do that in MSI?

Thanks
Labels (1)
0 Kudos
(1) Reply
RobertDickau
Flexera Alumni

For a Basic MSI project, you can set the default in General Information > INSTALLDIR. To change it dynamically, you can use a set-a-directory custom action, or use MsiSetTargetPath if you're doing things in C or InstallScript. There's a ProductVersion property that might be of use.
0 Kudos