Hello, I am trying to bring a VS (2010) solution with one executable project and accompanied installer to build. It works on another machine which has targeted .NET framework 3.5 (so x86) and which uses WiX 3.5. On my similar platform (Win 7 x64) but with .NET framework 4.0 and WiX 3.6 encounter smaller problems.
In my .wxs (why is not .wsx?), I have three times !(bind.FileVersion.PiepsDiagnosticV3.exe): <Product Id="*" Name="!(loc.ProductName)" Language="1033" Version="!(bind.FileVersion.PiepsDiagnosticV3.exe)" Manufacturer="!(loc.CompanyName)" UpgradeCode="$(var.UpgradeCode)"> ... <Upgrade Id="$(var.UpgradeCode)"> <UpgradeVersion Minimum="!(bind.FileVersion.PiepsDiagnosticV3.exe)" OnlyDetect="yes" Property="NEWERVERSIONDETECTED" /> <UpgradeVersion Minimum="0.0.0.0" Maximum="!(bind.FileVersion.PiepsDiagnosticV3.exe)" Property="PREVIOUSVERSIONSINSTALLED" IncludeMinimum="yes" IncludeMaximum="no" /> </Upgrade> Linker (light.exe) says in all this cases: D:\work\DesktopApps\Installer\Product.wxs(7,0): error LGHT0298: Unresolved bind-time variable !(bind.FileVersion.PiepsDiagnosticV3.exe). D:\work\DesktopApps\Installer\Product.wxs(30,0): error LGHT0298: Unresolved bind-time variable !(bind.FileVersion.PiepsDiagnosticV3.exe). D:\work\DesktopApps\Installer\Product.wxs(31,0): error LGHT0298: Unresolved bind-time variable !(bind.FileVersion.PiepsDiagnosticV3.exe). On the source project, there was even so: <?define Version = "!(bind.FileVersion.PiepsDiagnosticV3.exe)" ?> ... <Product Id="*" Name="!(loc.ProductName)" Language="1033" Version="$(var.Version)" Manufacturer="!(loc.CompanyName)" UpgradeCode="$(var.UpgradeCode)"> ... <Upgrade Id="$(var.UpgradeCode)"> <UpgradeVersion Minimum="$(var.Version)" /> <UpgradeVersion Minimum="0.0.0.0" Maximum="$(var.Version)" Property="PREVIOUSVERSIONSINSTALLED" IncludeMinimum="yes" IncludeMaximum="no" /> </Upgrade> It seems to me wrong, but the in could be build. Thanks for any hint. Regards, Branko ------------------------------------------------------------------------------ Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://ad.doubleclick.net/clk;258768047;13503038;j? http://info.appdynamics.com/FreeJavaPerformanceDownload.html _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users