SaiTeja wrote: > 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
You should use the WindowsVolume Property. It is the root of the partition where Windows is installed. http://msdn2.microsoft.com/en-us/library/aa372817.aspx regards Stefan ------------------------------------------------------------------------- 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