Hello,

I have an installer built with WiX that (amoungst alot of other things) adds
some entries in the registry.

I have one small glitch. To identify the system drive I am using "$(
env.SYSTEMDRIVE)", for example:

<RegistryValue Action='write' Type='string' Name='MyName' Value='$(
env.SYSTEMDRIVE)\MyPath' />
Unfortunately, this means that the string in the value that is installed is
the system drive of the machine on which the installer package was built.
This doesn't always match the target machine (the OS may be installed to C:,
D: or anywhere).

I guess the answer is simple but I can't find it anywhere.

Thanks,

Callum
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to