Hi Stefan,

Thanks for response.

actually I want to assign C:\ to some property. Presently I hardcoded like
this.
<Property Id="INSTALLPATH" Value="C:\"/>

And am using this property in many places. Suppose if machine doesn't have
C: drive it will give problems.
So I want to assign default drive to my property ie INSTALLPATH

Can you tell me how Can I do this



Stefan Pavlik-2 wrote:
> 
> SaiTeja wrote:
>> But when I mention only TARGETDIR ie <Directory Id="TARGETDIR"
>> Name="SourceDir">
>> it is not showing "C:\". It is showing some times D:\ or E:\
>> 
>> What is the problem here? How can I get drive "C:\"
> 
> Hi
> 
> If the TARGETDIR is not defined explicitly (common case) then it is
> defaulted to ROOTDRIVE. And ROOTDRIVE property is set by installer
> to partition which have most free space.
> 
> See following links for details:
> 
> http://msdn2.microsoft.com/en-us/library/aa372064.aspx
> http://msdn2.microsoft.com/en-us/library/aa371372.aspx
> 
> -- 
> Stefan Pavlik
> 
> -------------------------------------------------------------------------
> SF.Net email is sponsored by: 
> Check out the new SourceForge.net Marketplace.
> It's the best place to buy or sell services for
> just about anything Open Source.
> http://sourceforge.net/services/buy/index.php
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
> 
> 

-- 
View this message in context: 
http://www.nabble.com/TARGETDIR-tp14271857p14272451.html
Sent from the wix-users mailing list archive at Nabble.com.


-------------------------------------------------------------------------
SF.Net email is sponsored by: 
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to