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!

hsc
Posts: 117
Joined: Wed Mar 02, 2016 2:55 pm

Two configurations in Visual Studio

Hi,

I followed building debug and release versions of installer and Install files with the same name to create an AI project that has two configuration (Release and Debug). I can run both configurations from the AI environment but when I go to Visual Studio 2012, and open Configuration Manager, all it offers me for the AI project is the "DefaultBuild" configuration. Even when I manually patch the .sln file, Visual Studio switches back to "DefaultBuild" as soon as I go to Configuration Manager.

I'd like to run the "Debug" installer project when the solution configuration is "Debug", and "Release" when the project config is "Release". Any ideas?

Thanks
Hans
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Two configurations in Visual Studio

Hello Hans and welcome to our forums,

We apologize for our delayed reply.

Please note this is the normal implementation of our Advanced Installer extension for Visual Studio. You cannot define multiple build configuration for the setup project you added to your solution. Every time you build your solution the setup project will include the built output of the current projects build configuration. So, all you will have to do in Visual Studio will be to create a build configuration which will contain the desired builds for all of your solution projects (excepting the setup project). At build time the setup project will include the built outputs for every application project you chose to include in the setup project.

If you have any questions just let us know.

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

Return to “Building Installers”