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!

scholzr
Posts: 9
Joined: Thu May 24, 2012 6:26 pm

Builds with separate prerequisite sources

Is it possible to add a second build to my problem with the prerequisite sources included in the build? the main build in the project is an exe installer with the prerequisites being downloaded from the source website. I now need to create a second build for putting on a CD, and I would like to be able to include the sources for the prerequisites in the build as size is not a concern any more. I don't want to have to create a second project for this as the installer has a lot of complex logic that i don't wan't to try to maintain twice.
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Builds with separate prerequisite sources

Hello,

In order to achieve this you should add your prerequisites as feature-based prerequisites to your project.

Here's the steps to proceed:
- Go to "Media" page and add a new MSI build (i.e. NewMsiBuid) using context menu option.
- Go to "Prerequisites" page and add your package prerequisite using "Download single file from URL" option from "Prerequisites Setup Files" tab.
- Add the second package prerequisite using "Use files from disk" option.
- Go to "Organization" page, select your first prerequisite feature, enable "Include feature only in the selected builds" option from "Feature Properties" right pane and select your default build.
- Select the second prerequisite feature, enable "Include feature only in the selected builds" option from "Feature Properties" right pane and select your new build (NewMsiBuid).
- Build your project.

Let us know if this helped.

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

Return to “Building Installers”