Skip to content
This repository was archived by the owner on Apr 22, 2023. It is now read-only.

Cannot build msi installer on v0.10.39 #25563

Closed
richardlau opened this issue Jun 23, 2015 · 10 comments
Closed

Cannot build msi installer on v0.10.39 #25563

richardlau opened this issue Jun 23, 2015 · 10 comments

Comments

@richardlau
Copy link
Member

I'm no longer able to build msi installers on Windows after e7c84f8.

...
Building node-0.10.39
Project file contains ToolsVersion="12.0". This toolset is unknown or missing. You may be able to resolve this by installing the appropriate .NET Framework for this toolset. Treating the project as if it had ToolsVersion="4.0".
Project file contains ToolsVersion="12.0". This toolset is unknown or missing. You may be able to resolve this by installing the appropriate .NET Framework for this toolset. Treating the project as if it had ToolsVersion="4.0".
C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V110\Microsoft.Cpp.Platform.targets(44,5): error MSB8020: The builds tools for v120 (Platform Toolset = 'v120') cannot be found. To build using the v120 build tools, either click the Project menu or right-click the solution, and then select "Update VC++ Projects...". Install v120 to build using the v120 build tools. [D:\build\jenkins\workspace\Node.js-Windows-Intel-32\node\tools\msvs\msi\custom_actions.vcxproj]
Project file contains ToolsVersion="12.0". This toolset is unknown or missing. You may be able to resolve this by installing the appropriate .NET Framework for this toolset. Treating the project as if it had ToolsVersion="4.0". 

My build environment is Visual Studio 2010 SP1 and WiX Toolset v3.6 on Windows 7, which is able to successfully build the msi installers for v0.10.38. I can also successfully build the installers on v0.10.39 if I revert e7c84f8.

@misterdjules
Copy link

@richardlau I had to fix a few issues (not identical to yours, but related) with Windows builds due to e7c84f8, and came up with misterdjules@5423d14. It looks like it might fix your problem, would you mind giving this change a try and let me know if it fixes your problem?

@mhdawson
Copy link
Member

Richard had tried the patches in that but had issues either while applying them or building after they were applied. I don't have the details but I'm sure he'll add when he gets in tomorrow.

@misterdjules misterdjules added this to the 0.10.40 milestone Jun 24, 2015
@misterdjules
Copy link

Added as a P-2 as I don't think a significant number of Windows users build their own installers. It would be nice to have that fixed before doing the next v0.10 release though, which is why I added it to the v0.10.40 milestone.

@misterdjules
Copy link

@richardlau misterdjules@5423d14 is now available in a pull request that I just created. Would you mind giving it a try and letting me know if this PR fixes your build problems?

Thank you!

@richardlau
Copy link
Member Author

@misterdjules I applied the PR, which has fix the initial ToolsVersion problem, but now has the following error:

https://gist.github.com/richardlau/eae6275b90077b207753

I will try reinstalling WiX.

@misterdjules
Copy link

@richardlau Interesting, I haven't had that compilation error before, I'll try to reproduce it asap.

@richardlau
Copy link
Member Author

I reinstalled WiX 3.6 but still get the error. I'll try updating WiX next.

@richardlau
Copy link
Member Author

Tried WiX 3.6->3.8 and encountered the error. The error goes away and I can successfully build the installers with WiX 3.9 R2 (and #25569 ).

@misterdjules
Copy link

@richardlau Thanks for letting us know 👍

@misterdjules misterdjules modified the milestones: 0.10.40, 0.10.41 Jul 10, 2015
@richardlau
Copy link
Member Author

Verified fixed in v0.10 by #25569. 👍

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants