Onur Simsek wrote:
I am writing a plugin and I need help in getting an environment
variable's value and install my plugin to that directory. My env.var
is % AppinstallDir%. This variable contains the full path of the
application.
So I am accessing to the value using *$(env.AppinstallDir) *
< Directory Id =' AppInstallDir' Name='AppIns'
LongName='$(env.AppinstallDir ) '>
< Component Id =' PlugIn' Guid='11111111-1111-1111-1111-1111111111111' >
…
All $(...) are preprocessor variables and are resolved at build time,
not install time. MSI requires that directories be statically named, so
it doesn't support environment variables. You need to use a custom
action to set the directory name at install time.
--
sig://boB
http://joyofsetup.com/
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users