Hi all,

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'>

…


I receive and exception "undefined environment variable". what am i doing
wrong? i tried to search for a sample but all samples that i found was using
directory search but they weren't installing to that directory.

Any help is appreciated
Thanks
Onur


ps: i am not a member of the list, please make sure my email is added to the
to line.

"Fear gives me wings"
-------------------------------------------------------------------------
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

Reply via email to