Hi! I'm developing an application that creates a WIX-script depending on user input. I have run in to a problem, I need to supply some paths (input variables) to the msi-package when its executed. I have tried to do this with the properties PACKAGE_PATH and CATEGORY_PATH, I also want to control if a Feature is to be installed or not (that part is out commented for the time being). The installation works fine (it uses the submitted paths) but when I want to uninstall I get an error:
"Could not access network location 0" If I check the Light log I have two warnings: warning LGHT1076 : ICE48: Directory 'PACKAGE_PATH' appears to be hardcoded in the property table. warning LGHT1076 : ICE48: Directory 'CATEGORY_PATH' appears to be hardcoded in the property table. I'm I using properties the wrong way? /Hans <?xml version="1.0" encoding="utf-8"?> <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi" xmlns:util="http://schemas.microsoft.com/wix/UtilExtension"> <Product Id="394a8930-63a0-4785-ae25-dfee5ff8394b" Name="A XXX Package" Language="1033" Version="1.0.0" Manufacturer="XXXXX" UpgradeCode="b7d5c8ed-60fe-4cab-83f7-4844f0a8cbc2"> <Package Description="This is a description" Comments="This is a comment." InstallerVersion="200" Compressed="yes" /> <Property Id="PACKAGE_PATH">0</Property> <Property Id="PACKAGE_XML">0</Property> <Property Id="CATEGORY_PATH">0</Property> <Media Id="1" Cabinet="Product.cab" EmbedCab="yes" /> <Feature Id="ImageFilesFeature" Title="Image Files" Level="1"> <ComponentRef Id="Component1" /> <ComponentRef Id="Component2" /> <ComponentRef Id="Component3" /> <ComponentRef Id="Component4" /> </Feature> <!--Feature Id="CategoryFilesFeature" Title="Category Files" Level="1"> <Condition> Level="0"><![CDATA[CATEGORY_PATH = "0"]]> </Condition> </Feature--> <Directory Id="TARGETDIR" Name="SourceDir"> <Directory Id="PACKAGE_PATH"> <Directory Id="Directory1" Name="MyCategory"> <Component Guid="664a2c11-585c-4b40-b908-5f8468b93887" Id="Component1"> <File Id="File1" Name="MyCategory.p" Source="MyCategory.p" DiskId="1" /> </Component> </Directory> <Component Guid="8767f917-44e9-4bc6-9905-0a4924895a49" Id="Component2"> <File Id="File2" Name="XMyCategory.xml" Source="XMyCategory.xml" DiskId="1" /> </Component> </Directory> <Directory Id="CATEGORY_PATH"> <Directory Id="Directory2" Name="MyCategory"> <Directory Id="Directory3" Name="RT90_2_5gonW"> <Component Guid="3726f3c1-56a0-4dba-89d1-0aad49add001" Id="Component3"> <File Id="File3" Name="23j0f.ecw" Source="C:\Documents and Settings\haol\Desktop\test\23j0f.ecw" DiskId="1" /> <File Id="File4" Name="23j0g.ecw" Source="C:\Documents and Settings\haol\Desktop\test\23j0g.ecw" DiskId="1" /> </Component> </Directory> </Directory> </Directory> <Directory Id="Directory4" Name="Geodata"> <Directory Id="Directory5" Name="index"> <Directory Id="Directory6" Name="Sverige"> <Component Guid="74b90c4e-f7fd-4893-b3b1-5e990efd455d" Id="Component4"> <RemoveFile Id="File5" Name="*.ind" On="install" /> </Component> </Directory> </Directory> </Directory> </Directory> </Product> </Wix> -- View this message in context: http://www.nabble.com/Problem-with-Uninstall-%28-or-problem-with-properties...%29-tf4029506.html#a11445852 Sent from the wix-users mailing list archive at Nabble.com. ------------------------------------------------------------------------- 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-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users