I think I have figured this out, if you run the shortcut that VS2008 sets up "Visual Studio 2008 Command Prompt" ("C:\Program Files\Microsoft Visual Studio 9.0\VC\vcvarsall.bat" x86) it doesn't include the framework in the path. But if you run "%VS90COMNTOOLS%\vsvars32.bat" or the "Visual Studio 2005 Command Prompt" shortcut it does setup the framework path.
Neil -----Original Message----- From: Neil Sleightholm [mailto:[EMAIL PROTECTED] Sent: 22 October 2008 08:01 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Recent WIX sources will not build That is what I thought, it worked on my Vista machine but not on a clean build of 2008. I was calling %VS90COMNTOOLS%\vsvars.bat but it still didn't set the path, I'll have to check what is different on my build machine. Neil Neil Sleightholm X2 Systems Limited [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> ________________________________ From: Bob Arnson [mailto:[EMAIL PROTECTED] Sent: Wed 22/10/2008 05:02 To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] Recent WIX sources will not build Neil Sleightholm wrote: > I have found a solution to the error: > "src\dtf\tools\sfxca\precomp.h(32) > : fatal error C1083: Cannot open type library file: 'mscorlib.tlb': No > such file or directory." > > If you add "C:\Windows\Microsoft.NET\Framework\v2.0.50727" to the path > before running the build it should fix it. > The build expects to run from a command shell set up by VS or the SDK, which includes that path. -- sig://boB http://joyofsetup.com/ ------------------------------------------------------------------------ - 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 ------------------------------------------------------------------------- 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