bchetana
Posts: 95
Joined: Sat Dec 01, 2012 11:36 am

Install pre-install preperquisites for MSI package

I have a MSI package. How can I install pre-install preperquisites in silent mode?

I want to install other product and get the installtion location of the same in installed params. and then install my application.

How can I achive this.
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Install pre-install preperquisites for MSI package

Hello,
I have a MSI package. How can I install pre-install preperquisites in silent mode?
In order to achieve that you can go in the Prerequisites page and in the command line field from the Prerequisite Setup tab, add the according parameter(e.g. If it is MSI based you can use /q) for a silent installation.
Then, you can go in the Dialogs page and select the Silent Install (no UI) option for the Bootstrapper UI.
I want to install other product and get the installtion location of the same in installed params. and then install my application.
If you want to use the APPDIR value of your main installation package as the installation location for your prerequisites, then you cannot do this for a Pre-Install prerequisite. However, you can add your prerequisite as a Feature-Based prerequisite and use the APPDIR value of your main installation package as the same location for the prerequisite too.

Please let us know if that helped, otherwise give us more details about your specific scenario.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
bchetana
Posts: 95
Joined: Sat Dec 01, 2012 11:36 am

Re: Install pre-install preperquisites for MSI package

Hi ....

As I said, My main package type is MSI. When
I add the Prerequisite in my installer, the package is automatically changed to EXE.

SO from MEDIA, I have changed package type to Single MSI and the Dialogs page -Bootstrapper UI is disabled....

Cant we add, prereq to MSI package??? We use MSI for GPO installtion. So In this case How can prerequsites be installed along with my main application in silent mode ???
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Install pre-install preperquisites for MSI package

Hello,

Indeed, when your prerequisite is a Pre-install one, then the package type is automatically turned into an .EXE. This is happening because these prerequisites, Pre-install, are handled by our EXE bootstrapper before the MSI is launched. Please take a look on our Prerequisites Page article.

So, you should add the related prerequisite in the Feature-based section to keep the package type as an .MSI.

If you have other questions, please let us know.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
bchetana
Posts: 95
Joined: Sat Dec 01, 2012 11:36 am

Re: Install pre-install preperquisites for MSI package

But when we add prerequisite in the Feature-based section, during silent installtion the prerequisite will be installed at the end of main installtion,,,
http://www.advancedinstaller.com/forums ... =2&t=26738
How to over come this.....

I want prerequisite to be installed before my main installtion (MSI package)
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Install pre-install preperquisites for MSI package

Hello,

Unfortunately, the Feature-based prerequisites are launched after the main installation package during a silent installation and cannot run before the main installation package due to Windows Installer limitations.

Let me explain you how we support the “Feature based” prerequisite:
Full UI installation package:
  • -We have a synchronous custom action in the “Install UI sequence” . This is required because you cannot have two .msi packages running in install UI sequence.
Silent installation package:
  • -We have an .EXE custom action, asynchronous execution which is launched after the install execute state from the main package ends. We do this because for silent installation there is no UI sequence, so we cannot schedule a custom action to be executed before install execute sequence starts.
Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”