简体   繁体   中英

Making an installer for the app with Visual Studio 2015 Community Edition integrating VC++ 2015 Environment in it

I have no problems creating installer for my app using free Visual Studio 2015 Community Edition and a plugin for it , however I have absolutely no luck integrating latest Visual C++ Runtime Environment into installer.

I know the recommended way is to include MSM module, which I did, but still no luck: when deployed on some machine, the app got installed properly, but the damn Runtime Environment is not.

I am about to drop the whole Visual Studio thing and go back to MinGW, since I use Qt. I like it, but the official version is 32-bit only which was the single reason to try Visual Studio.

Any solutions?

Right-click the setup in solution explorer and select Properties, then Prerequisites, then check the Create setup program to install prerequisites. That shows a list of prerequisites that includes the VC 14 C++ runtimes (VS 2015). You'll end up with a setup.exe that will install the marked prerequisites and then install your MSI.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM