Rob, thanks for the quick response.

 

I have managed to get it working - it was tied to the way I build WiX which is:

 

  1. Open/start the “Visual Studio .NET 2003 Command Prompt”
  2. Within the prompt execute “C:\Program Files\Microsoft Visual Studio 8\Common7\Tools\vsvars32.bat” to ensure the Visual Studio .NET 2005 “bits” are in path/reachable (since WiX 2.0 needs some of these ”bits”)
  3. Switch to the WiX 2.0 source folder
  4. Execute “make ship” (usually builds successfully)
  5. Switch to the WiX 3.0 source folder
  6. Execute “make ship” (errors out as described in my email below)

 

Rob’s response got me thinking. My LIB variable (by default) only points to one path so it had to be one of the two vsvars32.bat scripts I end up executing. Only used the “Visual Studio 2005 Command Prompt” and it works a charm!

 

Happy now J

Subbu

 


From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rob Mensching
Sent: Wednesday, 9 August 2006 8:20 AM
To: Balakrishnan, Subbu; [email protected]
Subject: Re: [WiX-devs] Error building WiX 3.0

 

1.  The .cub files are not checked into CVS today.  What you did is expected.

 

2.  I’ve never seen the LIB failure.  If I was to guess, I’d bet the issue is that you have some path left over in your LIB environment variable that NAnt doesn’t like.  Try removing that path from the LIB variable... maybe things will get further.

 

 

From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED]
Sent: Tuesday, August 08, 2006 12:52 PM
To: [email protected]
Subject: [WiX-devs] Error building WiX 3.0

 

For some time now (at least the last three drops) I have been unable to build WiX 3.0 successfully. The first error I encounter is:

 

light.inc:

 

BUILD FAILED

 

C:\MyWork\WiX\wix3-sources\src\light\light.build(58,6):

Could not find file 'C:\MyWork\WiX\wix3-sources\src\light\bin\darice.cub' to copy.

 

I encounter similar errors with mergemod.cub and MergeMod.dll. I create a bin folder under src\light and copy the .cub files from my installation of MsiVal (which in turn comes from the Microsoft Platform SDK for Windows Server 2003 R2 installation). I also copy MergeMod.dll from C:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\Bin. The build then chugs along merrily till it hits the following roadblock:

 

wixtasks.inc:

 

     [exec] Microsoft (R) Build Engine Version 2.0.50727.42

     [exec] [Microsoft .NET Framework, Version 2.0.50727.42]

     [exec] Copyright (C) Microsoft Corporation 2005. All rights reserved.

     [exec] Build started 9/08/2006 5:39:19 AM.

     [exec] __________________________________________________

     [exec] Project "C:\MyWork\WiX\wix3-sources\src\wixtasks\WixTasks.csproj" (Build target(s)):

     [exec] Target CoreCompile:

     [exec]     C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Csc.exe /noconfig /unsafe- /checked+ /nowarn:1701,1702 /nostdlib- /errorreport:prompt /warn:4 /baseaddress:285212672 /define:TRACE /reference:C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Microsoft.Build.Framework.dll /reference:C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Microsoft.Build.Utilities.dll /reference:C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\System.dll /debug- /debug:pdbonly /filealign:4096 /optimize+ /out:C:\MyWork\WiX\wix3-sources\Build\ship\WixTasks\WixTasks.dll /target:library /warnaserror+ AssemblyInfo.cs Candle.cs CommandLineBuilder.cs Light.cs Lit.cs C:\MyWork\WiX\wix3-sources\inc\wixver.cs

     [exec]     CSC : error CS1668: Warning as Error: Invalid search path 'C:\Program Files\Microsoft Visual Studio .NET 2003\VC7\PlatformSDK\lib\prerelease' specified in 'LIB environment variable' -- 'The system cannot find the path specified. '

     [exec] Done building target "CoreCompile" in project "WixTasks.csproj" -- FAILED.

     [exec] Done building project "WixTasks.csproj" -- FAILED.

     [exec] Build FAILED.

     [exec] CSC : error CS1668: Warning as Error: Invalid search path 'C:\Program Files\Microsoft Visual Studio .NET 2003\VC7\PlatformSDK\lib\prerelease' specified in 'LIB environment variable' -- 'The system cannot find the path specified. '

     [exec]     0 Warning(s)

     [exec]     1 Error(s)

     [exec] Time Elapsed 00:00:01.34

 

BUILD FAILED - 0 non-fatal error(s), 1 warning(s)

 

C:\MyWork\WiX\wix3-sources\src\wixtasks\wixtasks.build(54,6):

External Program Failed: C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\msbuild.exe (return code was 1)

 

Total time: 130.3 seconds.

 

I have a full installation of Visual Studio .NET 2003 and 2005 but cannot locate the folder 'C:\Program Files\Microsoft Visual Studio .NET 2003\VC7\PlatformSDK\lib\prerelease'

 

Anyone run into similar issues building WiX 3.0? BTW, I am able to build WiX 2.0 without any issues – including Votive. I use the “make ship” command to build WiX 2.0 and 3.0.

 

Any assistance appreciated.

 

TIA

Subbu

 

CONFIDENTIALITY: This email (including any attachments) may contain confidential, proprietary and privileged information, and unauthorised disclosure or use is prohibited. If you received this email in error, please notify the sender and delete this email from your system.

 

CONFIDENTIALITY: This email (including any attachments) may contain confidential, proprietary and privileged information, and unauthorised disclosure or use is prohibited. If you received this email in error, please notify the sender and delete this email from your system.

 

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
WiX-devs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-devs

Reply via email to