Hello, I'm experiencing a weird problem with my WiX project.
I have a WiX setup project within a Visual Studio 2005 solution (it's the last project of about 27 related c# projects). Everything builds successfully from within the VS 2005 GUI. I am also able to run msbuild on the solution file within a local command window without problems and build an installer. Now, our build system for our product is Unix based - and in order to build the VS projects we use an ssh session on the Unix build machine over to the VS 2005 build machine (which is running cygwin's sshd service). When I attempt to run msbuild from within this ssh session, the c# projects all build correctly, but I get the following error thrown when building the WiX Setup project: Microsoft (R) Windows Installer Xml Linker version 3.0.2925.0 Copyright (C) Microsoft Corporation 2003. All rights reserved. Updating file information. Creating cabinet files. Creating cabinet 'c:\Documents and Settings\sshd_server\Local Settings\Temp\f50tqyr6\#WixSetup.cab'. Generating database. Merging modules. Validating database. light.exe : error LGHT0216 : An unexpected Win32 exception with error code 0x643 occurred: Fatal error during installation (Note that I enabled light.exe -v to get verbose output - this isn't usually shown when built via a solution file.) I didn't find many references to 0x643 on google - lots of references to reinstalling .Net 2.0 (which I have tried). I'm guessing the LGHT0216 is a generic error? I tried running ProcessMon against light.exe to try and see why it's failing, but couldn't really determine what was what from the 10Mb file output. I have the output zipped up if anyone is interested. I also have the ProcessMon output from the successful runs when run from a local command prompt. This file is nearly twice the size of the failing one. I wondered whether it's an issue with permissions - when run locally, I am logged in as a user called 'build' which is a member of the Administrators. When run via the ssh session, it connects as a user called sshd_server, which is also a member of the Administrators group. Oh, and my build machine is Windows 2003 SP2. I'm guessing it's something related to either .Net 2 or MSI or some other combination of things. Any suggestions on how I might debug this issue? Alternatively any suggestions on how I might perform a remote build from a Unix machine within using Cygwin's SSH. I guess I could install a native ssh server (e.g. freeSSHd). Any other recommendations? Many thanks, Ben. ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users