I need to get the system drive of the target machine during installation. 
WindowsVolume appears to do that . So I am trying to use the predefined 
property WindowsVolume like this:

 

<Directory Id="TARGETDIR" Name="SourceDir">

<Directory Id="WindowsVolume">

...

</Directory>

</Directory>

 

When I try to compile it, I get an error saying 

 

The Directory Name: WindowsVolume is the same as one of the MSI public 
properties and can cause unforeseen side effects.

 

If I replace WindowsVolume with ProgramFilesFolder, it compiles fine. Why 
doesn't it compile with WindowsVolume property?

 

Is there any other way to get the System Drive on the target machine so that I 
can install my files there?

 

Thanks

Ravi
------------------------------------------------------------------------------
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to