Good day!
I have a problem using <IniFile> along with <Property>.
Below is a piece of XML which generates a error:
<?xml version='1.0' encoding='Windows-1252'?>
<Wix xmlns='http://schemas.microsoft.com/wix/2006/wi'>
<Product Name='Insulation' Id='F7998B08-BACB-4abd-9ED3-FB97C1E66F73'
Language='1049' Codepage='1251' Version='1.0.0' Manufacturer='CS NN'
UpgradeCode ='8C37F917-1283-48c6-9FCF-2FE6A80BD848'>
......
<Property Id='PLANTSETTINGSDIR' Value='C:\CEA\Plant-4D'>
<RegistrySearch Id ='PlantDirRegSearch' Root='HKLM' Key='SOFTWARE\CEA
Technology\Plant-4D'
Name='Location' Type='directory' />
</Property>
... here are lots of <Directory>
<Component Id='Plugin' Guid='7C7F659F-C452-4393-8BD1-92CD01D37F9C'>
<File Id='PluginDLL' Name='InsulPlugin.dll' DiskId='1'
Source='..\bin\Release\InsulPlugin.dll' Vital='yes'>
</File>
<IniFile Id='Plant4DiniPipeList' Action ='addTag'
Directory='PLANTSETTINGSDIR'
Name ='plugins.ini' Section='Pipe' Key ='List' Value ='InsulPlugin' />
</Component>
... here are lots of </Directory> and other tags
This stuff ends up with an error "Unresolved reference to symbol
'Directory:PLANTSETTINGSDIR' in section
'Product:{F7998B08-BACB-4ABD-9ED3-FB97C1E66F73}'.
Looks like light.exe doesn't want Directory attribute of IniFile tag to be a
property, and expects a directory, which seems true because when I use a
directory (declared in <Directory> tag) instead of a property in <IniFile
Directory=...> light.exe builds a msi without any problem.
Thanks in advance.
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users