Sreeram
Posts: 26
Joined: Mon Aug 17, 2015 12:19 pm

Turn on/Off windows feature before installing Prerequisite

Before installing the prerequisite, i need to turn on .Net framework 3.5 windows feature. As the prerequisite requires this framework to be turned on.

I was currently using Windows Feature Bundle and started installing. But the prerequisite is still asking for .Net framework 3.5.

I think there should be an option to run Windows feature bundle prior to installing prerequisite.


Kindly provide me the details.


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

Re: Turn on/Off windows feature before installing Prerequisite

Hello,

Can you please add your prerequisite package as a post-install prerequisite and see if this helped?

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Sreeram
Posts: 26
Joined: Mon Aug 17, 2015 12:19 pm

Re: Turn on/Off windows feature before installing Prerequisite

Hi,

I have tried creating installer in the same way, the prerequisites are installing after the installation of main application.

But the requirement for me is that i need to install in the below steps--

1. Prerequisites
2. Main Application

I need to set Windows feature turn on/off before installing Prerequisites.

The steps to be followed are as follows -

1. Windows Feature turn on/off
2. Install prerequisites
3. Install Main Application

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

Re: Turn on/Off windows feature before installing Prerequisite

Hello,

In this case you can create a completely separate setup package only for tuning on/off the Windows features. Then you can add this package as a pre-install prerequisite (it should be added before the other prerequisites in the "Prerequisites" page list) to your main project.

Note: The prerequisites from "Prerequisites" page are executed in the order they are added/scheduled in the list.

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

Return to “Common Problems”