Bugs item #1703013, was opened at 2007-04-18 09:40 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=642714&aid=1703013&group_id=105970
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: candle Group: v3.0 Status: Open Resolution: None Priority: 5 Private: No Submitted By: Lorne Laliberte (lornelaliberte) Assigned to: Nobody/Anonymous (nobody) Summary: IniFile @Directory doesn't support properties Initial Comment: The documentation for the Directory attribute says this: "Name of a property, the value of which is the full path of the folder containing the .ini file. Can be name of a directory in the Directory table, a property set by the AppSearch table, or any other property representing a full path." ...but the "any other property representing a full path" part doesn't seem to hold true. I've tried it using custom properties set using a Type 51 custom action, and I've tried it using system folder properties such as [WindowsFolder] and [ProgramFilesFolder], but both generate the same light error 94 (e.g. "Unresolved reference to symbol 'Directory:WindowsFolder' in section 'Fragment:'"). It will work if I add a <Directory> element for the folder property, but from the Windows Installer documentation it seems it should work for properties too. For example, if I use this: <IniFile Id="INIRemove" Action="removeLine" Directory="ProgramFilesFolder" Name="abc.ini" Section="MySection" Key="RemoveThis"/> ...it will only work if there is a corresponding entry like this: <Directory Id="ProgramFilesFolder" Name="ProgramFilesFolder"> According to the MSI docs, though, it should work even without that directory entry. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=642714&aid=1703013&group_id=105970 ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ WiX-devs mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wix-devs
