We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

davepl
Posts: 3
Joined: Sun Sep 06, 2015 7:13 pm

Project dependent on VS2015 runtimes - how?

My project is dependent on the VS2015 CRTs, which are a new refactored CRT entirely. I believe installing vc_redistx86.exe covers most of it, but if I have to build manual scripts to install and report progress and integrate it silently into my project, that's the sort of thing I figured an Advanced Installer would do for me.

What's the shortest approach to an AIP project that will painlessly install a VS2015 native C++ app onto a Win7 or newer machine? Right now I've been trying to bundle and execute the redist but I wind up with a progress bart that stalls for a couple of minutes and I expect most users would bail (and it doesn't work right now for me anyway).

Thanks for any guidance!
Dave
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Project dependent on VS2015 runtimes - how?

Hello Dave and welcome to our forums,

To achieve what you need you can add the vc_redistx86.exe setup as a prerequisite to your main installation package.

Since you are new, I highly recommend you read our tutorials for a better understanding of how to use Advanced Installer to efficiently deploy your products. This will also help you better understand support team's suggestions now and in the future. The Simple and Professional tutorials are especially important.

If you have any questions just let us know.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
davepl
Posts: 3
Joined: Sun Sep 06, 2015 7:13 pm

Re: Project dependent on VS2015 runtimes - how?

I've done those, but in the Pro tutorial it says:

"Advanced Installer also comes with a list of common used prerequisites, for which all the settings are already defined." There's a bug somehow in that the list (third pane) did not come up until after I'd been back to the Organization pane, saved, and come back. Could be user error.

You do not appear to have VS2015 support yet. Is that forthcoming, something downloadable, or am I stuck with doing it all manually for now?
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Project dependent on VS2015 runtimes - how?

Hello,

Starting with our latest version of Advanced Installer (12.4) the "Visual C++ Redistributable for Visual Studio 2015" prerequisites were added in our predefined prerequisites list. So, please download and use our latest version of AI.

Regarding the display bug you told us, I'm afraid I cannot replicate it. Can you please try to iterate a detailed step by step test case which we can follow to replicate it on our side (maybe attach some screenshots)?

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
davepl
Posts: 3
Joined: Sun Sep 06, 2015 7:13 pm

Re: Project dependent on VS2015 runtimes - how?

Thanks! I also found that statically linking to the runtimes is far easier, as you don't wind up having to put things outside your own folder. Much preferred to me, anyway.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Project dependent on VS2015 runtimes - how?

You're welcome.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”