Create a Setup and Deployment Project in windows without .net support
I have got a vc++ project and for that I have created .exe and .lib. Now, I am trying to create a set up project for this. I am following the instructions given on this link: http://msdn.microsoft.com/en-us/library/ms235317(v=vs.90).aspx
under the heading: Procedures for deploying Visual C++ library DLLs as private assemblies
I am removing mfcm90.dll, mfcm90u.dll, and msvcm90.dll from my set up project and my .exe has been built with "No Common Language Runtime support" option.
I am making a release build of set up project. Now, when I try to install this project on a windows machine, which does not have any visual studio installed, it asks for installation of .NET and even that installation is failing. How can I create a set up project without requiring .NET 开发者_如何学Godependency.
Thanks, sg
A .NET Framework installer is launched during install only if you added it as a prerequisite. You can change prerequisites by clicking the "Prerequisites..." button in your setup project Properties pane.
For your project you should make sure that no .NET Framework prerequisite is checked.
Seems, my answer is a bit late, but may be it will be useful for someone else.
Right mouse click on the your deployment project -> View -> Launch condition -> delete .NET condition from "Requirement" tree.
精彩评论