Hi Jason,
I was building from within VS 2008, the CA project threw the build error. I then looked at the csproj file that the Votive C# CA Template created, and in the "AfterBuild" target, it has an <Exec> which has absolute paths to the WiX SDK. Eg. "C:\Program Files\Windows Installer XML v3\SDK\MakeSfxCA.exe". I then copied the error (as VS only gives the error code) which also contained the command it was executing. I copied the command out of the error, went Start -> Run -> Cmd, then changed directories to the dir of the csproj file that is not building. Then I pasted the command in to get the error about the dependent assembly. Also, I tried uninstalling the 32 bit after reading your email and installing the 64 bit. However the paths to the SDK remain the same, so it still throws errors not finding the MakeSfxCA.exe. I also tried with the modified paths (same process as above) and received the same error. So it appears that there are 2 different issues? The path to the SDK is hard coded in the csproj file incorrectly, and the dependent assembly? Thanks for your help ---------------------- Re: [WiX-users] Errors Building Custom Action on Vista x64 From: Jason Ginchereau <[EMAIL PROTECTED]> - 2008-10-14 22:06 Vista x64 is my primary development environment for DTF and WiX, and that works for me. Are you building from a 64bit command-prompt / 64bit MSBuild? If so, make sure you have installed the 64bit WiX MSI. (Also, that configuration is not very well-tested, so it's possible there are issues.) -----Original Message----- From: Nic Barden [mailto:[EMAIL PROTECTED] Sent: Tuesday, October 14, 2008 2:16 PM To: [EMAIL PROTECTED] Subject: [WiX-users] Errors Building Custom Action on Vista x64 Hi, I have a custom action project that was created using the C# Custom Action Template in VS2008. This was building fine under XP 32 bit, but I am now trying to build on Vista 64 bit, which is causing a couple of issues: - The hard coded reference to the WiX V3 SDK is incorrectly "C:\Program Files\Windows Installer XML v3\SDK\" - it should actually be under "C:\Program Files (x86)\Xxx" - When I correct the paths and run the command directly via cmd.exe, I receive the error: "Error: Failed to load dependent assembly: C:\Program Files\Windows Installer XML v3\SDK\Microsoft.Deployment.WindowsInstaller.dll. Could not load file or assembly 'file:///C:\Program Files\Windows Installer XML v3\SDK\Microsoft.Deployment.WindowsInstaller.dll' or one of its dependencies. The system cannot find the file specified." Obviously the path it is searching for is incorrect again. Am I configuring something wrong? Or is this a known bug or limitation with the version I am running? (Version 3.0.4318.0) What do I need to change to get it to work? Thanks very much ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users