I have a Visual C++ solution. When I install it on a different machine and run, it searches for t开发者_JS百科he .Net Framework. How do I include the .Net Framework in the installer itself? I have made a simple installer using Visual studio.
You can add a .NET Framework prerequisite:
- http://msdn.microsoft.com/en-us/library/77z6b8tz(VS.80).aspx?ppud=4
- http://msdn.microsoft.com/en-us/library/ms165429(VS.80).aspx?ppud=4
- http://msdn.microsoft.com/en-us/library/ms165429.aspx?ppud=4
This way Visual Studio will generate an EXE bootstrapper for your MSI which handles the prerequisite installation.
精彩评论