Re: [WiX-users] 64 bit version of MS build cannot find the WIX toolset
Had similar issues when using an x64 MSBuild to build our WiX solutions. What we did to solve these issues: a) Reg key to the x86 path of the Wix Toolset SDK in Progam Files (x86). Should be a reg file containing something like (depending on your install paths + WiX Version): Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\.NETFramework\AssemblyFolders\WiX 3.6] @=C:\\Program Files (x86)\\WiX Toolset v3.6\\SDK\\ AFAIR this is only needed to build DTF CAs. b) Force the WiX Build to run as x86 process -- Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
[WiX-users] 64 bit version of MS build cannot find the WIX toolset
I know there is probably a posting somewhere out on the web describing the issue I am having, but I am not able to find it at the present moment. The problem I am current having is that the 64 bit version of MS build does not properly evaluate the build variables and is not able to find WIX tools. The 32 bit version works correctly and everything is happy, but when I switch MS Build targets everything goes to pot. Does anyone have a way around this issue or a link to the documentation on why I am seeing this? Thank you in advance, Mat Skildum -- Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] 64 bit version of MS build cannot find the WIX toolset
Which version of WiX are you running? There was a bug a ways back about that. From: mathew.skil...@aspect.com To: wix-users@lists.sourceforge.net Date: Tue, 27 Aug 2013 14:54:30 + Subject: [WiX-users] 64 bit version of MS build cannot find the WIX toolset I know there is probably a posting somewhere out on the web describing the issue I am having, but I am not able to find it at the present moment. The problem I am current having is that the 64 bit version of MS build does not properly evaluate the build variables and is not able to find WIX tools. The 32 bit version works correctly and everything is happy, but when I switch MS Build targets everything goes to pot. Does anyone have a way around this issue or a link to the documentation on why I am seeing this? Thank you in advance, Mat Skildum -- Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] 64 bit version of MS build cannot find the WIX toolset
I am using WIX 3.8 (build 3.8.708). The build system is using the GA version of WIX 3.7. I am havine issues on both systems. -Original Message- From: Blair Murri [mailto:os...@live.com] Sent: Tuesday, August 27, 2013 10:37 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] 64 bit version of MS build cannot find the WIX toolset Which version of WiX are you running? There was a bug a ways back about that. From: mathew.skil...@aspect.com To: wix-users@lists.sourceforge.net Date: Tue, 27 Aug 2013 14:54:30 + Subject: [WiX-users] 64 bit version of MS build cannot find the WIX toolset I know there is probably a posting somewhere out on the web describing the issue I am having, but I am not able to find it at the present moment. The problem I am current having is that the 64 bit version of MS build does not properly evaluate the build variables and is not able to find WIX tools. The 32 bit version works correctly and everything is happy, but when I switch MS Build targets everything goes to pot. Does anyone have a way around this issue or a link to the documentation on why I am seeing this? Thank you in advance, Mat Skildum -- Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511iu=/4140/ostg.c lktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] 64 bit version of MS build cannot find the WIX toolset
How far back do you wixproj files go? Modern ones should have something like: lt;WixTargetsPath Condition= '$(WixTargetsPath)' == '' AND '$(MSBuildExtensionsPath32)' != '' gt;$(MSBuildExtensionsPath32)\Microsoft\WiX\v3.x\Wix.targetslt;/WixTargetsPathgt; lt;WixTargetsPath Condition= '$(WixTargetsPath)' == '' gt;$(MSBuildExtensionsPath)\Microsoft\WiX\v3.x\Wix.targetslt;/WixTargetsPathgt; Older files don't have both lines causing things to fail on x64 systems. -- John Merryweather Cooper Build Install Engineer -- ESA Jack Henry Associates, Inc.(r) Shawnee Mission, KS 66227 Office: 913-341-3434 x791011 jocoo...@jackhenry.com www.jackhenry.com -Original Message- From: Skildum, Mathew [mailto:mathew.skil...@aspect.com] Sent: Tuesday, August 27, 2013 10:44 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] 64 bit version of MS build cannot find the WIX toolset I am using WIX 3.8 (build 3.8.708). The build system is using the GA version of WIX 3.7. I am havine issues on both systems. -Original Message- From: Blair Murri [mailto:os...@live.com] Sent: Tuesday, August 27, 2013 10:37 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] 64 bit version of MS build cannot find the WIX toolset Which version of WiX are you running? There was a bug a ways back about that. From: mathew.skil...@aspect.com To: wix-users@lists.sourceforge.net Date: Tue, 27 Aug 2013 14:54:30 + Subject: [WiX-users] 64 bit version of MS build cannot find the WIX toolset I know there is probably a posting somewhere out on the web describing the issue I am having, but I am not able to find it at the present moment. The problem I am current having is that the 64 bit version of MS build does not properly evaluate the build variables and is not able to find WIX tools. The 32 bit version works correctly and everything is happy, but when I switch MS Build targets everything goes to pot. Does anyone have a way around this issue or a link to the documentation on why I am seeing this? Thank you in advance, Mat Skildum -- Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511iu=/4140/ostg.c lktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users NOTICE: This electronic mail message and any files transmitted with it are intended exclusively for the individual or entity to which it is addressed. The message, together with any attachment, may contain confidential and/or privileged information. Any unauthorized review, use, printing, saving, copying, disclosure or distribution is strictly prohibited. If you have received this message in error, please immediately advise the sender by reply email and delete all copies. -- Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] 64 bit version of MS build cannot find the WIX toolset
All of the WIX projects in question have those lines in place: WixTargetsPath Condition= '$(WixTargetsPath)' == '' AND '$(MSBuildExtensionsPath32)' != '' $(MSBuildExtensionsPath32)\Microsoft\WiX\v3.x\Wix.targets/WixTargetsPath WixTargetsPath Condition= '$(WixTargetsPath)' == '' $(MSBuildExtensionsPath)\Microsoft\WiX\v3.x\Wix.targets/WixTargetsPath I just realized that forgot to mention I was using the .Net 4.0 version of MS Build. MAT SKILDUM SR PRINCIPAL ENGINEER +1 (630) 227.8534 WORK +1 (847) 909.9921 MOBILE mathew.skil...@aspect.com aspect.com -Original Message- From: John Cooper [mailto:jocoo...@jackhenry.com] Sent: Tuesday, August 27, 2013 11:05 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] 64 bit version of MS build cannot find the WIX toolset How far back do you wixproj files go? Modern ones should have something like: lt;WixTargetsPath Condition= '$(WixTargetsPath)' == '' AND '$(MSBuildExtensionsPath32)' != '' gt;$(MSBuildExtensionsPath32)\Microsoft\WiX\v3.x\Wix.targetslt;/WixTargetsPathgt; lt;WixTargetsPath Condition= '$(WixTargetsPath)' == '' gt;$(MSBuildExtensionsPath)\Microsoft\WiX\v3.x\Wix.targetslt;/WixTargetsPathgt; Older files don't have both lines causing things to fail on x64 systems. -- John Merryweather Cooper Build Install Engineer -- ESA Jack Henry Associates, Inc.(r) Shawnee Mission, KS 66227 Office: 913-341-3434 x791011 jocoo...@jackhenry.com www.jackhenry.com -Original Message- From: Skildum, Mathew [mailto:mathew.skil...@aspect.com] Sent: Tuesday, August 27, 2013 10:44 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] 64 bit version of MS build cannot find the WIX toolset I am using WIX 3.8 (build 3.8.708). The build system is using the GA version of WIX 3.7. I am havine issues on both systems. -Original Message- From: Blair Murri [mailto:os...@live.com] Sent: Tuesday, August 27, 2013 10:37 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] 64 bit version of MS build cannot find the WIX toolset Which version of WiX are you running? There was a bug a ways back about that. From: mathew.skil...@aspect.com To: wix-users@lists.sourceforge.net Date: Tue, 27 Aug 2013 14:54:30 + Subject: [WiX-users] 64 bit version of MS build cannot find the WIX toolset I know there is probably a posting somewhere out on the web describing the issue I am having, but I am not able to find it at the present moment. The problem I am current having is that the 64 bit version of MS build does not properly evaluate the build variables and is not able to find WIX tools. The 32 bit version works correctly and everything is happy, but when I switch MS Build targets everything goes to pot. Does anyone have a way around this issue or a link to the documentation on why I am seeing this? Thank you in advance, Mat Skildum -- Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511iu=/4140/ostg.c lktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users NOTICE: This electronic mail message and any files transmitted with it are intended exclusively for the individual or entity to which it is addressed. The message, together with any attachment, may contain confidential and/or privileged information. Any unauthorized review, use, printing, saving, copying, disclosure or distribution is strictly
Re: [WiX-users] 64 bit version of MS build cannot find the WIX toolset
MSBuild 4.0 x64 uses the 32-bit path for both $(MSBuildExtensionsPath32) and $(MSBuildExtensionsPath), so it should be picking up the right file. What are the specific errors you are getting? From: mathew.skil...@aspect.com To: wix-users@lists.sourceforge.net Date: Tue, 27 Aug 2013 16:38:03 + Subject: Re: [WiX-users] 64 bit version of MS build cannot find the WIX toolset All of the WIX projects in question have those lines in place: WixTargetsPath Condition= '$(WixTargetsPath)' == '' AND '$(MSBuildExtensionsPath32)' != '' $(MSBuildExtensionsPath32)\Microsoft\WiX\v3.x\Wix.targets/WixTargetsPath WixTargetsPath Condition= '$(WixTargetsPath)' == '' $(MSBuildExtensionsPath)\Microsoft\WiX\v3.x\Wix.targets/WixTargetsPath I just realized that forgot to mention I was using the .Net 4.0 version of MS Build. MAT SKILDUM SR PRINCIPAL ENGINEER +1 (630) 227.8534 WORK +1 (847) 909.9921 MOBILE mathew.skil...@aspect.com aspect.com -Original Message- From: John Cooper [mailto:jocoo...@jackhenry.com] Sent: Tuesday, August 27, 2013 11:05 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] 64 bit version of MS build cannot find the WIX toolset How far back do you wixproj files go? Modern ones should have something like: lt;WixTargetsPath Condition= '$(WixTargetsPath)' == '' AND '$(MSBuildExtensionsPath32)' != '' gt;$(MSBuildExtensionsPath32)\Microsoft\WiX\v3.x\Wix.targetslt;/WixTargetsPathgt; lt;WixTargetsPath Condition= '$(WixTargetsPath)' == '' gt;$(MSBuildExtensionsPath)\Microsoft\WiX\v3.x\Wix.targetslt;/WixTargetsPathgt; Older files don't have both lines causing things to fail on x64 systems. -- John Merryweather Cooper Build Install Engineer -- ESA Jack Henry Associates, Inc.(r) Shawnee Mission, KS 66227 Office: 913-341-3434 x791011 jocoo...@jackhenry.com www.jackhenry.com -Original Message- From: Skildum, Mathew [mailto:mathew.skil...@aspect.com] Sent: Tuesday, August 27, 2013 10:44 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] 64 bit version of MS build cannot find the WIX toolset I am using WIX 3.8 (build 3.8.708). The build system is using the GA version of WIX 3.7. I am havine issues on both systems. -Original Message- From: Blair Murri [mailto:os...@live.com] Sent: Tuesday, August 27, 2013 10:37 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] 64 bit version of MS build cannot find the WIX toolset Which version of WiX are you running? There was a bug a ways back about that. From: mathew.skil...@aspect.com To: wix-users@lists.sourceforge.net Date: Tue, 27 Aug 2013 14:54:30 + Subject: [WiX-users] 64 bit version of MS build cannot find the WIX toolset I know there is probably a posting somewhere out on the web describing the issue I am having, but I am not able to find it at the present moment. The problem I am current having is that the 64 bit version of MS build does not properly evaluate the build variables and is not able to find WIX tools. The 32 bit version works correctly and everything is happy, but when I switch MS Build targets everything goes to pot. Does anyone have a way around this issue or a link to the documentation on why I am seeing this? Thank you in advance, Mat Skildum -- Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511iu=/4140/ostg.c lktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511iu=/4140/ostg.clktrk
Re: [WiX-users] 64 bit version of MS build cannot find the WIX toolset
Ok. So the proj files are modern. What is the path of WiX on the build server and how was it installed there? What is the specific message from the build logs? -- John Merryweather Cooper Build Install Engineer -- ESA Jack Henry Associates, Inc.(r) Shawnee Mission, KS 66227 Office: 913-341-3434 x791011 jocoo...@jackhenry.com www.jackhenry.com -Original Message- From: Skildum, Mathew [mailto:mathew.skil...@aspect.com] Sent: Tuesday, August 27, 2013 11:38 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] 64 bit version of MS build cannot find the WIX toolset All of the WIX projects in question have those lines in place: WixTargetsPath Condition= '$(WixTargetsPath)' == '' AND '$(MSBuildExtensionsPath32)' != '' $(MSBuildExtensionsPath32)\Microsoft\WiX\v3.x\Wix.targets/WixTargetsPath WixTargetsPath Condition= '$(WixTargetsPath)' == '' $(MSBuildExtensionsPath)\Microsoft\WiX\v3.x\Wix.targets/WixTargetsPath I just realized that forgot to mention I was using the .Net 4.0 version of MS Build. MAT SKILDUM SR PRINCIPAL ENGINEER +1 (630) 227.8534 WORK +1 (847) 909.9921 MOBILE mathew.skil...@aspect.com aspect.com -Original Message- From: John Cooper [mailto:jocoo...@jackhenry.com] Sent: Tuesday, August 27, 2013 11:05 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] 64 bit version of MS build cannot find the WIX toolset How far back do you wixproj files go? Modern ones should have something like: lt;WixTargetsPath Condition= '$(WixTargetsPath)' == '' AND '$(MSBuildExtensionsPath32)' != '' gt;$(MSBuildExtensionsPath32)\Microsoft\WiX\v3.x\Wix.targetslt;/WixTargetsPathgt; lt;WixTargetsPath Condition= '$(WixTargetsPath)' == '' gt;$(MSBuildExtensionsPath)\Microsoft\WiX\v3.x\Wix.targetslt;/WixTargetsPathgt; Older files don't have both lines causing things to fail on x64 systems. -- John Merryweather Cooper Build Install Engineer -- ESA Jack Henry Associates, Inc.(r) Shawnee Mission, KS 66227 Office: 913-341-3434 x791011 jocoo...@jackhenry.com www.jackhenry.com -Original Message- From: Skildum, Mathew [mailto:mathew.skil...@aspect.com] Sent: Tuesday, August 27, 2013 10:44 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] 64 bit version of MS build cannot find the WIX toolset I am using WIX 3.8 (build 3.8.708). The build system is using the GA version of WIX 3.7. I am havine issues on both systems. -Original Message- From: Blair Murri [mailto:os...@live.com] Sent: Tuesday, August 27, 2013 10:37 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] 64 bit version of MS build cannot find the WIX toolset Which version of WiX are you running? There was a bug a ways back about that. From: mathew.skil...@aspect.com To: wix-users@lists.sourceforge.net Date: Tue, 27 Aug 2013 14:54:30 + Subject: [WiX-users] 64 bit version of MS build cannot find the WIX toolset I know there is probably a posting somewhere out on the web describing the issue I am having, but I am not able to find it at the present moment. The problem I am current having is that the 64 bit version of MS build does not properly evaluate the build variables and is not able to find WIX tools. The 32 bit version works correctly and everything is happy, but when I switch MS Build targets everything goes to pot. Does anyone have a way around this issue or a link to the documentation on why I am seeing this? Thank you in advance, Mat Skildum -- Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511iu=/4140/ostg.c lktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application
Re: [WiX-users] 64 bit version of MS build cannot find the WIX toolset
WIX was installed through the released installed and the installation path is C:\Program Files (x86)\WiX Toolset v3.7. Here is an example of the build errors: CustomAction.cs(4,17): error CS0234: The type or namespace name 'Deployment' does not exist in the namespace 'Microsoft' (are you missing an assembly refere nce?) CustomAction.cs(12,58): error CS0246: The type or namespace name 'Session' co uld not be found (are you missing a using directive or an assembly reference?) CustomAction.cs(12,23): error CS0246: The type or namespace name 'ActionResul t' could not be found (are you missing a using directive or an assembly referen ce?) Mat Skildum -Original Message- From: John Cooper [mailto:jocoo...@jackhenry.com] Sent: Tuesday, August 27, 2013 11:55 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] 64 bit version of MS build cannot find the WIX toolset Ok. So the proj files are modern. What is the path of WiX on the build server and how was it installed there? What is the specific message from the build logs? -- John Merryweather Cooper Build Install Engineer -- ESA Jack Henry Associates, Inc.(r) Shawnee Mission, KS 66227 Office: 913-341-3434 x791011 jocoo...@jackhenry.com www.jackhenry.com -Original Message- From: Skildum, Mathew [mailto:mathew.skil...@aspect.com] Sent: Tuesday, August 27, 2013 11:38 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] 64 bit version of MS build cannot find the WIX toolset All of the WIX projects in question have those lines in place: WixTargetsPath Condition= '$(WixTargetsPath)' == '' AND '$(MSBuildExtensionsPath32)' != '' $(MSBuildExtensionsPath32)\Microsoft\WiX\v3.x\Wix.targets/WixTargetsPath WixTargetsPath Condition= '$(WixTargetsPath)' == '' $(MSBuildExtensionsPath)\Microsoft\WiX\v3.x\Wix.targets/WixTargetsPath I just realized that forgot to mention I was using the .Net 4.0 version of MS Build. MAT SKILDUM SR PRINCIPAL ENGINEER +1 (630) 227.8534 WORK +1 (847) 909.9921 MOBILE mathew.skil...@aspect.com aspect.com -Original Message- From: John Cooper [mailto:jocoo...@jackhenry.com] Sent: Tuesday, August 27, 2013 11:05 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] 64 bit version of MS build cannot find the WIX toolset How far back do you wixproj files go? Modern ones should have something like: lt;WixTargetsPath Condition= '$(WixTargetsPath)' == '' AND '$(MSBuildExtensionsPath32)' != '' gt;$(MSBuildExtensionsPath32)\Microsoft\WiX\v3.x\Wix.targetslt;/WixTargetsPathgt; lt;WixTargetsPath Condition= '$(WixTargetsPath)' == '' gt;$(MSBuildExtensionsPath)\Microsoft\WiX\v3.x\Wix.targetslt;/WixTargetsPathgt; Older files don't have both lines causing things to fail on x64 systems. -- John Merryweather Cooper Build Install Engineer -- ESA Jack Henry Associates, Inc.(r) Shawnee Mission, KS 66227 Office: 913-341-3434 x791011 jocoo...@jackhenry.com www.jackhenry.com -Original Message- From: Skildum, Mathew [mailto:mathew.skil...@aspect.com] Sent: Tuesday, August 27, 2013 10:44 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] 64 bit version of MS build cannot find the WIX toolset I am using WIX 3.8 (build 3.8.708). The build system is using the GA version of WIX 3.7. I am havine issues on both systems. -Original Message- From: Blair Murri [mailto:os...@live.com] Sent: Tuesday, August 27, 2013 10:37 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] 64 bit version of MS build cannot find the WIX toolset Which version of WiX are you running? There was a bug a ways back about that. From: mathew.skil...@aspect.com To: wix-users@lists.sourceforge.net Date: Tue, 27 Aug 2013 14:54:30 + Subject: [WiX-users] 64 bit version of MS build cannot find the WIX toolset I know there is probably a posting somewhere out on the web describing the issue I am having, but I am not able to find it at the present moment. The problem I am current having is that the 64 bit version of MS build does not properly evaluate the build variables and is not able to find WIX tools. The 32 bit version works correctly and everything is happy, but when I switch MS Build targets everything goes to pot. Does anyone have a way around this issue or a link to the documentation on why I am seeing this? Thank you in advance, Mat Skildum -- Introducing Performance Central, a new site from SourceForge and AppDynamics. Performance Central is your source for news, insights, analysis and resources for efficient Application Performance Management. Visit us today! http://pubads.g.doubleclick.net/gampad/clk?id=48897511iu=/4140/ostg.c lktrk ___ WiX-users mailing list WiX-users
Re: [WiX-users] 64 bit version of MS build cannot find the WIX toolset
You have broken references in your custom action project to Microsoft.Deployment.WindowsInstaller.dll. It should be in C:\Program Files (x86)\WiX Toolset v3.7\bin\. -- John Merryweather Cooper Build Install Engineer -- ESA Jack Henry Associates, Inc.(r) Shawnee Mission, KS 66227 Office: 913-341-3434 x791011 jocoo...@jackhenry.com www.jackhenry.com -Original Message- From: Skildum, Mathew [mailto:mathew.skil...@aspect.com] Sent: Tuesday, August 27, 2013 12:05 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] 64 bit version of MS build cannot find the WIX toolset WIX was installed through the released installed and the installation path is C:\Program Files (x86)\WiX Toolset v3.7. Here is an example of the build errors: CustomAction.cs(4,17): error CS0234: The type or namespace name 'Deployment' does not exist in the namespace 'Microsoft' (are you missing an assembly refere nce?) CustomAction.cs(12,58): error CS0246: The type or namespace name 'Session' co uld not be found (are you missing a using directive or an assembly reference?) CustomAction.cs(12,23): error CS0246: The type or namespace name 'ActionResul t' could not be found (are you missing a using directive or an assembly referen ce?) Mat Skildum -Original Message- From: John Cooper [mailto:jocoo...@jackhenry.com] Sent: Tuesday, August 27, 2013 11:55 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] 64 bit version of MS build cannot find the WIX toolset Ok. So the proj files are modern. What is the path of WiX on the build server and how was it installed there? What is the specific message from the build logs? -- John Merryweather Cooper Build Install Engineer -- ESA Jack Henry Associates, Inc.(r) Shawnee Mission, KS 66227 Office: 913-341-3434 x791011 jocoo...@jackhenry.com www.jackhenry.com -Original Message- From: Skildum, Mathew [mailto:mathew.skil...@aspect.com] Sent: Tuesday, August 27, 2013 11:38 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] 64 bit version of MS build cannot find the WIX toolset All of the WIX projects in question have those lines in place: WixTargetsPath Condition= '$(WixTargetsPath)' == '' AND '$(MSBuildExtensionsPath32)' != '' $(MSBuildExtensionsPath32)\Microsoft\WiX\v3.x\Wix.targets/WixTargetsPath WixTargetsPath Condition= '$(WixTargetsPath)' == '' $(MSBuildExtensionsPath)\Microsoft\WiX\v3.x\Wix.targets/WixTargetsPath I just realized that forgot to mention I was using the .Net 4.0 version of MS Build. MAT SKILDUM SR PRINCIPAL ENGINEER +1 (630) 227.8534 WORK +1 (847) 909.9921 MOBILE mathew.skil...@aspect.com aspect.com -Original Message- From: John Cooper [mailto:jocoo...@jackhenry.com] Sent: Tuesday, August 27, 2013 11:05 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] 64 bit version of MS build cannot find the WIX toolset How far back do you wixproj files go? Modern ones should have something like: lt;WixTargetsPath Condition= '$(WixTargetsPath)' == '' AND '$(MSBuildExtensionsPath32)' != '' gt;$(MSBuildExtensionsPath32)\Microsoft\WiX\v3.x\Wix.targetslt;/WixTargetsPathgt; lt;WixTargetsPath Condition= '$(WixTargetsPath)' == '' gt;$(MSBuildExtensionsPath)\Microsoft\WiX\v3.x\Wix.targetslt;/WixTargetsPathgt; Older files don't have both lines causing things to fail on x64 systems. -- John Merryweather Cooper Build Install Engineer -- ESA Jack Henry Associates, Inc.(r) Shawnee Mission, KS 66227 Office: 913-341-3434 x791011 jocoo...@jackhenry.com www.jackhenry.com -Original Message- From: Skildum, Mathew [mailto:mathew.skil...@aspect.com] Sent: Tuesday, August 27, 2013 10:44 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] 64 bit version of MS build cannot find the WIX toolset I am using WIX 3.8 (build 3.8.708). The build system is using the GA version of WIX 3.7. I am havine issues on both systems. -Original Message- From: Blair Murri [mailto:os...@live.com] Sent: Tuesday, August 27, 2013 10:37 AM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] 64 bit version of MS build cannot find the WIX toolset Which version of WiX are you running? There was a bug a ways back about that. From: mathew.skil...@aspect.com To: wix-users@lists.sourceforge.net Date: Tue, 27 Aug 2013 14:54:30 + Subject: [WiX-users] 64 bit version of MS build cannot find the WIX toolset I know there is probably a posting somewhere out on the web describing the issue I am having, but I am not able to find it at the present moment. The problem I am current having is that the 64 bit version of MS build does not properly evaluate the build variables and is not able to find WIX tools. The 32 bit version works correctly and everything is happy, but when I switch MS Build targets everything goes
Re: [WiX-users] 64 bit version of MS build cannot find the WIX toolset
On 8/27/13 10:05 AM, Skildum, Mathew wrote: Here is an example of the build errors: CustomAction.cs(4,17): error CS0234: The type or namespace name 'Deployment' does not exist in the namespace 'Microsoft' (are you missing an assembly refere nce?) CustomAction.cs(12,58): error CS0246: The type or namespace name 'Session' co uld not be found (are you missing a using directive or an assembly reference?) CustomAction.cs(12,23): error CS0246: The type or namespace name 'ActionResul t' could not be found (are you missing a using directive or an assembly referen ce?) These are C# compile errors. It appears you might be missing a reference to a DTF assembly. Or perhaps the assembly reference you already has an incorrect HintPath and can't be found...? -- Edwin G. Castro -- Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] 64 bit version of MS build cannot find the WIX toolset
All hint paths are correct as everything build correctly in Visual Studio (2010 and 2012). The only time it fails is when I use the 64 bit version of MS Build. Mat Skildum -Original Message- From: Edwin Castro [mailto:0ptikgh...@gmx.us] Sent: Tuesday, August 27, 2013 12:54 PM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] 64 bit version of MS build cannot find the WIX toolset On 8/27/13 10:05 AM, Skildum, Mathew wrote: Here is an example of the build errors: CustomAction.cs(4,17): error CS0234: The type or namespace name 'Deployment' does not exist in the namespace 'Microsoft' (are you missing an assembly refere nce?) CustomAction.cs(12,58): error CS0246: The type or namespace name 'Session' co uld not be found (are you missing a using directive or an assembly reference?) CustomAction.cs(12,23): error CS0246: The type or namespace name 'ActionResul t' could not be found (are you missing a using directive or an assembly referen ce?) These are C# compile errors. It appears you might be missing a reference to a DTF assembly. Or perhaps the assembly reference you already has an incorrect HintPath and can't be found...? -- Edwin G. Castro -- Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] 64 bit version of MS build cannot find the WIX toolset
Building correctly on VS 2010 or 2012 doesn't tell you much as both of the those cache references. Where is the Microsoft.Deployment.WindowsInstaller assembly on your build server, and what does the HintPath look like on the failing custom action project? -- John Merryweather Cooper Build Install Engineer -- ESA Jack Henry Associates, Inc.(r) Shawnee Mission, KS 66227 Office: 913-341-3434 x791011 jocoo...@jackhenry.com www.jackhenry.com -Original Message- From: Skildum, Mathew [mailto:mathew.skil...@aspect.com] Sent: Tuesday, August 27, 2013 1:03 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] 64 bit version of MS build cannot find the WIX toolset All hint paths are correct as everything build correctly in Visual Studio (2010 and 2012). The only time it fails is when I use the 64 bit version of MS Build. Mat Skildum -Original Message- From: Edwin Castro [mailto:0ptikgh...@gmx.us] Sent: Tuesday, August 27, 2013 12:54 PM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] 64 bit version of MS build cannot find the WIX toolset On 8/27/13 10:05 AM, Skildum, Mathew wrote: Here is an example of the build errors: CustomAction.cs(4,17): error CS0234: The type or namespace name 'Deployment' does not exist in the namespace 'Microsoft' (are you missing an assembly refere nce?) CustomAction.cs(12,58): error CS0246: The type or namespace name 'Session' co uld not be found (are you missing a using directive or an assembly reference?) CustomAction.cs(12,23): error CS0246: The type or namespace name 'ActionResul t' could not be found (are you missing a using directive or an assembly referen ce?) These are C# compile errors. It appears you might be missing a reference to a DTF assembly. Or perhaps the assembly reference you already has an incorrect HintPath and can't be found...? -- Edwin G. Castro -- Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users NOTICE: This electronic mail message and any files transmitted with it are intended exclusively for the individual or entity to which it is addressed. The message, together with any attachment, may contain confidential and/or privileged information. Any unauthorized review, use, printing, saving, copying, disclosure or distribution is strictly prohibited. If you have received this message in error, please immediately advise the sender by reply email and delete all copies. -- Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] 64 bit version of MS build cannot find the WIX toolset
On 8/27/13 11:03 AM, Skildum, Mathew wrote: All hint paths are correct as everything build correctly in Visual Studio (2010 and 2012). The only time it fails is when I use the 64 bit version of MS Build. Can you provide the reference XML from the project file? I assume you have not modified them manually, correct? -- Edwin G. Castro -- Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] 64 bit version of MS build cannot find the WIX toolset
The Microsoft.Deployment.WindowsInstaller assembly is located in the default installation location. No customization has been done to the system or the projects. Here is the project file section that lists the above assembly refference: ItemGroup Reference Include=System / Reference Include=System.Core RequiredTargetFramework3.5/RequiredTargetFramework /Reference Reference Include=System.Management.Automation, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL SpecificVersionFalse/SpecificVersion HintPath..\..\Assemblies\Powershell\System.Management.Automation.dll/HintPath PrivateTrue/Private /Reference Reference Include=System.Windows.Forms / Reference Include=Microsoft.Deployment.WindowsInstaller / /ItemGroup Mat Skildum -Original Message- From: Edwin Castro [mailto:0ptikgh...@gmx.us] Sent: Tuesday, August 27, 2013 1:13 PM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] 64 bit version of MS build cannot find the WIX toolset On 8/27/13 11:03 AM, Skildum, Mathew wrote: All hint paths are correct as everything build correctly in Visual Studio (2010 and 2012). The only time it fails is when I use the 64 bit version of MS Build. Can you provide the reference XML from the project file? I assume you have not modified them manually, correct? -- Edwin G. Castro -- Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] 64 bit version of MS build cannot find the WIX toolset
That doesn't look right. Bearing in mind that we're still using WiX 3.6 RTM, my HintPath looks like: lt;Reference Include=Microsoft.Deployment.WindowsInstaller, Version=3.0.0.0, Culture=neutral, PublicKeyToken=ce35f76fcda82bad, processorArchitecture=MSILgt; lt;HintPathgt;..\..\..\..\..\Program Files (x86)\WiX Toolset v3.6\bin\Microsoft.Deployment.WindowsInstaller.dlllt;/HintPathgt; lt;/Referencegt; I don't think you're going to resolve an assembly without a hint path unless it's in the GAC. -- John Merryweather Cooper Build Install Engineer -- ESA Jack Henry Associates, Inc.(r) Shawnee Mission, KS 66227 Office: 913-341-3434 x791011 jocoo...@jackhenry.com www.jackhenry.com -Original Message- From: Skildum, Mathew [mailto:mathew.skil...@aspect.com] Sent: Tuesday, August 27, 2013 1:45 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] 64 bit version of MS build cannot find the WIX toolset The Microsoft.Deployment.WindowsInstaller assembly is located in the default installation location. No customization has been done to the system or the projects. Here is the project file section that lists the above assembly refference: ItemGroup Reference Include=System / Reference Include=System.Core RequiredTargetFramework3.5/RequiredTargetFramework /Reference Reference Include=System.Management.Automation, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL SpecificVersionFalse/SpecificVersion HintPath..\..\Assemblies\Powershell\System.Management.Automation.dll/HintPath PrivateTrue/Private /Reference Reference Include=System.Windows.Forms / Reference Include=Microsoft.Deployment.WindowsInstaller / /ItemGroup Mat Skildum -Original Message- From: Edwin Castro [mailto:0ptikgh...@gmx.us] Sent: Tuesday, August 27, 2013 1:13 PM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] 64 bit version of MS build cannot find the WIX toolset On 8/27/13 11:03 AM, Skildum, Mathew wrote: All hint paths are correct as everything build correctly in Visual Studio (2010 and 2012). The only time it fails is when I use the 64 bit version of MS Build. Can you provide the reference XML from the project file? I assume you have not modified them manually, correct? -- Edwin G. Castro -- Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users NOTICE: This electronic mail message and any files transmitted with it are intended exclusively for the individual or entity to which it is addressed. The message, together with any attachment, may contain confidential and/or privileged information. Any unauthorized review, use, printing, saving, copying, disclosure or distribution is strictly prohibited. If you have received this message in error, please immediately advise the sender by reply email and delete all copies. -- Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users
Re: [WiX-users] 64 bit version of MS build cannot find the WIX toolset
MSBuild uses the AssemblySearchPaths property to determine the locations where it searches for assembly references. See http://msdn.microsoft.com/en-us/library/vstudio/bb629394.aspx You could either set the HintPath for the reference OR you could add the location of Microsoft.Deployment.WindowsInstaller.dll to AssemblySearchPaths with something like this: PropertyGroup AssemblySearchPaths C:\Program Files (x86)\WiX Toolset v3.6\bin; $(AssemblySearchPaths) /AssemblySearchPaths /PropertyGroup Note that you could possibly shadow other assemblies you depend on if they exist in WiX's bin directory (or whatever appropriate directory you use). My guess as to why 32-bit MSBuild (on the command line, not through Visual Studio) is that AssemblySearchPaths must be getting set with 32-bit only path. Perhaps something like C:\Program Files\WiX Toolset v3.6\bin which would only resolve for 32-bit processes... You can use the /verbose:diagnostic command line option to show you property values and a lot of other stuff you never cared about too! On 8/27/13 11:59 AM, John Cooper wrote: That doesn't look right. Bearing in mind that we're still using WiX 3.6 RTM, my HintPath looks like: lt;Reference Include=Microsoft.Deployment.WindowsInstaller, Version=3.0.0.0, Culture=neutral, PublicKeyToken=ce35f76fcda82bad, processorArchitecture=MSILgt; lt;HintPathgt;..\..\..\..\..\Program Files (x86)\WiX Toolset v3.6\bin\Microsoft.Deployment.WindowsInstaller.dlllt;/HintPathgt; lt;/Referencegt; I don't think you're going to resolve an assembly without a hint path unless it's in the GAC. -- John Merryweather Cooper Build Install Engineer -- ESA Jack Henry Associates, Inc.(r) Shawnee Mission, KS 66227 Office: 913-341-3434 x791011 jocoo...@jackhenry.com www.jackhenry.com -Original Message- From: Skildum, Mathew [mailto:mathew.skil...@aspect.com] Sent: Tuesday, August 27, 2013 1:45 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] 64 bit version of MS build cannot find the WIX toolset The Microsoft.Deployment.WindowsInstaller assembly is located in the default installation location. No customization has been done to the system or the projects. Here is the project file section that lists the above assembly refference: ItemGroup Reference Include=System / Reference Include=System.Core RequiredTargetFramework3.5/RequiredTargetFramework /Reference Reference Include=System.Management.Automation, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL SpecificVersionFalse/SpecificVersion HintPath..\..\Assemblies\Powershell\System.Management.Automation.dll/HintPath PrivateTrue/Private /Reference Reference Include=System.Windows.Forms / Reference Include=Microsoft.Deployment.WindowsInstaller / /ItemGroup Mat Skildum -Original Message- From: Edwin Castro [mailto:0ptikgh...@gmx.us] Sent: Tuesday, August 27, 2013 1:13 PM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] 64 bit version of MS build cannot find the WIX toolset On 8/27/13 11:03 AM, Skildum, Mathew wrote: All hint paths are correct as everything build correctly in Visual Studio (2010 and 2012). The only time it fails is when I use the 64 bit version of MS Build. Can you provide the reference XML from the project file? I assume you have not modified them manually, correct? -- Edwin G. Castro -- Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users NOTICE: This electronic mail message and any files transmitted with it are intended exclusively for the individual or entity to which it is addressed. The message, together with any attachment, may contain confidential and/or privileged
Re: [WiX-users] 64 bit version of MS build cannot find the WIX toolset
There's an issue open requesting WiX to write the AssemblySearchPaths in 64-bit hive. That isn't done today. On Tue, Aug 27, 2013 at 12:27 PM, Edwin Castro 0ptikgh...@gmx.us wrote: MSBuild uses the AssemblySearchPaths property to determine the locations where it searches for assembly references. See http://msdn.microsoft.com/en-us/library/vstudio/bb629394.aspx You could either set the HintPath for the reference OR you could add the location of Microsoft.Deployment.WindowsInstaller.dll to AssemblySearchPaths with something like this: PropertyGroup AssemblySearchPaths C:\Program Files (x86)\WiX Toolset v3.6\bin; $(AssemblySearchPaths) /AssemblySearchPaths /PropertyGroup Note that you could possibly shadow other assemblies you depend on if they exist in WiX's bin directory (or whatever appropriate directory you use). My guess as to why 32-bit MSBuild (on the command line, not through Visual Studio) is that AssemblySearchPaths must be getting set with 32-bit only path. Perhaps something like C:\Program Files\WiX Toolset v3.6\bin which would only resolve for 32-bit processes... You can use the /verbose:diagnostic command line option to show you property values and a lot of other stuff you never cared about too! On 8/27/13 11:59 AM, John Cooper wrote: That doesn't look right. Bearing in mind that we're still using WiX 3.6 RTM, my HintPath looks like: lt;Reference Include=Microsoft.Deployment.WindowsInstaller, Version=3.0.0.0, Culture=neutral, PublicKeyToken=ce35f76fcda82bad, processorArchitecture=MSILgt; lt;HintPathgt;..\..\..\..\..\Program Files (x86)\WiX Toolset v3.6\bin\Microsoft.Deployment.WindowsInstaller.dlllt;/HintPathgt; lt;/Referencegt; I don't think you're going to resolve an assembly without a hint path unless it's in the GAC. -- John Merryweather Cooper Build Install Engineer -- ESA Jack Henry Associates, Inc.(r) Shawnee Mission, KS 66227 Office: 913-341-3434 x791011 jocoo...@jackhenry.com www.jackhenry.com -Original Message- From: Skildum, Mathew [mailto:mathew.skil...@aspect.com] Sent: Tuesday, August 27, 2013 1:45 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] 64 bit version of MS build cannot find the WIX toolset The Microsoft.Deployment.WindowsInstaller assembly is located in the default installation location. No customization has been done to the system or the projects. Here is the project file section that lists the above assembly refference: ItemGroup Reference Include=System / Reference Include=System.Core RequiredTargetFramework3.5/RequiredTargetFramework /Reference Reference Include=System.Management.Automation, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL SpecificVersionFalse/SpecificVersion HintPath..\..\Assemblies\Powershell\System.Management.Automation.dll/HintPath PrivateTrue/Private /Reference Reference Include=System.Windows.Forms / Reference Include=Microsoft.Deployment.WindowsInstaller / /ItemGroup Mat Skildum -Original Message- From: Edwin Castro [mailto:0ptikgh...@gmx.us] Sent: Tuesday, August 27, 2013 1:13 PM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] 64 bit version of MS build cannot find the WIX toolset On 8/27/13 11:03 AM, Skildum, Mathew wrote: All hint paths are correct as everything build correctly in Visual Studio (2010 and 2012). The only time it fails is when I use the 64 bit version of MS Build. Can you provide the reference XML from the project file? I assume you have not modified them manually, correct? -- Edwin G. Castro -- Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users -- Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more! Discover the easy way to master current and previous Microsoft technologies and advance your career. Get an incredible 1,500+ hours of step-by-step tutorial videos with LearnDevNow. Subscribe today and save! http://pubads.g.doubleclick.net/gampad/clk?id=58040911iu=/4140/ostg.clktrk ___ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists