VS2010 includes the same MSBuild concept than building within MSBuild
directly. Try to build it within VS2010 and then copy the commands
from build output and maybe remove the product.generated.* stuff and
try it that way.

What's the output when building it in visual studio Command Prompt ?
Mean there "msbuild mySolution.sln" ?

2011/7/20 Mark Modrall <mmodr...@mzinga.com>:
> Thanks for the link, Bob; I'll give it a read.
>
> By the by, are there known quirks when running a Wix solution via msbuild?  
> My build works just fine when I'm in VS 2010, but when I use msbuild to 
> launch it there's one module that doesn't build and doesn't give any errors.
>
> In the build log, I see candle and light getting run, but in obj\Release I 
> only see Product.Generated.wxs and nothing in bin\Release (no merge module).
>
> What's in the log is below.  The other wix projects are producing msm and msi 
> but for some reason this one quirks out.  Should I be using devenv.exe on the 
> command line instead?
>
> Thanks
> Mark
>
> Compile:
>  C:\Program Files (x86)\Windows Installer XML v3.5\bin\candle.exe 
> -d"DevEnvDir=*Undefined if not building from within Visual Studio*" 
> -dSolutionDir=C:\svn\trunk\Installation\Wix\ -dSolutionExt=.sln 
> -dSolutionFileName=AllProducts.sln -dSolutionName=AllProducts 
> -dSolutionPath=C:\svn\trunk\Installation\Wix\AllProducts.sln 
> -dConfiguration=Release -dOutDir=bin\Release\ -dPlatform=x86 
> -dProjectDir=C:\svn\trunk\Installation\Wix\PttModule\ -dProjectExt=.wixproj 
> -dProjectFileName=PttModule.wixproj -dProjectName=PttModule 
> -dProjectPath=C:\svn\trunk\Installation\Wix\PttModule\PttModule.wixproj 
> -dTargetDir=C:\svn\trunk\Installation\Wix\PttModule\bin\Release\ 
> -dTargetExt=.msm -dTargetFileName=PttModule.msm -dTargetName=PttModule 
> -dTargetPath=C:\svn\trunk\Installation\Wix\PttModule\bin\Release\PttModule.msm
>  -dPttPreBuild.Configuration=Release 
> -d"PttPreBuild.FullConfiguration=Release|Win32" -dPttPreBuild.Platform=Win32 
> -dPttPreBuild.ProjectDir=C:\svn\trunk\Installation\Wix\PttModule\ 
> -dPttPreBuild.ProjectExt=.vcxproj 
> -dPttPreBuild.ProjectFileName=PttPreBuild.vcxproj 
> -dPttPreBuild.ProjectName=PttPreBuild 
> -dPttPreBuild.ProjectPath=C:\svn\trunk\Installation\Wix\PttModule\PttPreBuild.vcxproj
>  -dPttPreBuild.TargetDir=C:\svn\trunk\Installation\Wix\PttModule\ 
> -dPttPreBuild.TargetExt=.wxi -dPttPreBuild.TargetFileName=Ptt.wxi 
> -dPttPreBuild.TargetName=Ptt 
> -dPttPreBuild.TargetPath=C:\svn\trunk\Installation\Wix\PttModule\Ptt.wxi -out 
> obj\Release\ -arch x86 PttModule.wxs obj\Release\Product.Generated.wxs
>  Microsoft (R) Windows Installer Xml Compiler version 3.5.2519.0
>  Copyright (C) Microsoft Corporation. All rights reserved.
>
>  PttModule.wxs
>  Product.Generated.wxs
> Link:
>  C:\Program Files (x86)\Windows Installer XML v3.5\bin\Light.exe 
> -cultures:null -out 
> C:\svn\trunk\Installation\Wix\PttModule\bin\Release\PttModule.msm -pdbout 
> C:\svn\trunk\Installation\Wix\PttModule\bin\Release\PttModule.wixpdb 
> obj\Release\PttModule.wixobj obj\Release\Product.Generated.wixobj
>  Microsoft (R) Windows Installer Xml Linker version 3.5.2519.0
>  Copyright (C) Microsoft Corporation. All rights reserved.
>
> Done Building Project 
> "C:\svn\trunk\Installation\Wix\PttModule\PttModule.wixproj" (default targets).
>
> -----Original Message-----
> From: Bob Arnson [mailto:b...@joyofsetup.com]
> Sent: Wednesday, July 20, 2011 12:45 AM
> To: wix-users@lists.sourceforge.net
> Subject: Re: [WiX-users] How to burn petrified wood? Upgrading from VS 2005 
> to 2010
>
> On 19-Jul-11 12:25, Mark Modrall wrote:
>> For #2, we have some installation stuff we only want done once (the stuff 
>> that the custom action does).  So the first thing the custom action exe does 
>> is try to check the registry setting to see if it's been done (that's what's 
>> failing now).  When the custom action code is done, it sets that registry 
>> flag to show it's been done.
> See http://www.joyofsetup.com/2007/07/01/semi-custom-actions/.
>
> --
> sig://boB
> http://joyofsetup.com/
>
>
> ------------------------------------------------------------------------------
> 10 Tips for Better Web Security
> Learn 10 ways to better secure your business today. Topics covered include:
> Web security, SSL, hacker attacks & Denial of Service (DoS), private keys,
> security Microsoft Exchange, secure Instant Messaging, and much more.
> http://www.accelacomm.com/jaw/sfnl/114/51426210/
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
> ------------------------------------------------------------------------------
> 10 Tips for Better Web Security
> Learn 10 ways to better secure your business today. Topics covered include:
> Web security, SSL, hacker attacks & Denial of Service (DoS), private keys,
> security Microsoft Exchange, secure Instant Messaging, and much more.
> http://www.accelacomm.com/jaw/sfnl/114/51426210/
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>

------------------------------------------------------------------------------
10 Tips for Better Web Security
Learn 10 ways to better secure your business today. Topics covered include:
Web security, SSL, hacker attacks & Denial of Service (DoS), private keys,
security Microsoft Exchange, secure Instant Messaging, and much more.
http://www.accelacomm.com/jaw/sfnl/114/51426210/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to