It's ResolveSource that initializes the SourceDir (cased correctly)
property. An alternative is to use the OriginalDatabase property, the
full path to the MSI file, and parse the directory name from it.  Is
SOURCEDIR a Wix thing? 

Phil Wilson 

________________________________

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Kaushik
Barat
Sent: Thursday, January 18, 2007 11:41 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Reading [SOURCEDIR] before CostFinalize



Hi All,
 
I have a configuration file which contains values of properties. Some of
these properties have to set before CostFinalize since, they decide the
condition of components. Since condition decisions are done at
CostFinalize, the property values have to be set before CostFinalize. 
 
I have a library which parses the config file and sets the proerty
values. The config file can be sitting anywhere. Currently i am calling
the MSI passing in the FULL PATH of the configuration file. How do i
access properties such as SOURCEDIR before CostFinalize. Having
SOURCEDIR path will enable the MSI to directly access the configuration
file sitting in its folder. 
 
Thanks,
Kaushik
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to