Hi Dima, This is one of those MSI "specials". IniLocator table requires .ini file to be present in the default Windows directory:
http://msdn.microsoft.com/en-us/library/aa369283(VS.85).aspx "IniLocator Table The IniLocator table holds the information needed to search for a file or directory using an .ini file or to search for a particular .ini entry itself. The .ini file must be present in the default Microsoft Windows directory." Alex -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dmitry Berkovich Sent: Wednesday, August 20, 2008 12:29 PM To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] Set Property value from INI file for Hi, I am trying to set property value from INI file, but its not works for me. Its looks that I am doing something wrong. Example of my code: <Property Id="MYPROPERTY"> <IniFileSearch Id="TestIni" Type="directory" Name="a.ini" Section="MySection" Key="MyKey"> <DirectorySearch Id="TestDir" Path="[SOURCEDIR]" Depth="0"/> </IniFileSearch> </Property> and I have "a.ini" file in same folder where MSI is stored. ----- start of a.ini ------------- [MySection] MyKey=SomeData ----- end of a.ini ----------------------- Any idea what I am doing wrong? Thanks in advance, Dima ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users