> > That means it wasn't finding the .wixlib. Can you paste the light.exe > command line it's running? > The light.exe command line does not mention the wixlib, although it is shown in the tree view of my setup project. > You can't use WixToolPath in the additional options because that's a > property which is evaluated before the target that sets the default > WixToolPath value. > So all variables get expanded when the property is created and not when the property is referenced?
Would it work if the Wix.targets used the new syntax to set the WixToolPath property like so: <PropertyGroup> <WixToolPath>$(Registry:SOFTWARE\Microsoft\Windows Installer xml\...@installroot)</WixToolPath> </PropertyGroup> instead of using an initial target that sets the property using ReadRegistry. - Kim -- *Kim Gybels Software Developer * kim.gyb...@metris.com <mailto:kim.gyb...@metris.com> Tel: +32 16 74 01 01 Fax: +32 16 74 01 02 * Metris Europe * Interleuvenlaan 86 3001 Leuven Belgium www.metris.com <http://www.metris.com/> This message and any attachment are privileged, confidential and contain private information. If you are not the addressee named above any disclosure, reproduction, copying, distribution, or other dissemination or use of this communication is prohibited. If you have received this transmission in error, please notify the sender immediately and destroy this e-mail. Metris does not guarantee that the integrity of this communication has been maintained or that this communication is free of viruses, interceptions or interference, and shall not be liable for the improper or incomplete transmission of the information contained in this communication nor for any delay in its receipt or damage to your system. Incoming and outgoing email communications may be monitored by Metris, as permitted by applicable law and regulations. ------------------------------------------------------------------------------ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users