antidotcb
Posts: 34
Joined: Mon May 17, 2010 8:10 am

Multiple feature based chained packages

Hello,

I have following functionality to implement:
Amount of similar minor .msi files that will be developed by me using AI (some file deployment, some configuration changes)
All above msi-packages are about to be installed in one major package
I am trying to implement them as feature based prerequisites.
- I need to do some custom actions before installation of these minor packages *OK*
- I need to install these minor packages one by one, in case of failure of any - should allow to user to interrupt or continue overall installation process *OK*
- I need to choose which of these packages will be installed *OK*
- I need major package do some custom actions for overall configuration after installation *OK*

- I need to uninstall all these minor packages with uninstallation of major *FAIL*
- I need these minor packages installed when I run major package installation in silent mode *FAIL*


I was thinking that following fields control this behavior (see screenshot), but in reality these fields do nothing and result the same:
screen.png
screen.png (41.32 KiB) Viewed 3603 times
- if I run installation in silent mode - no chained packages are installed
- if I uninstall major package - no chained packages are uninstalled
Daniel
Posts: 8276
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Multiple feature based chained packages

Hello,
- if I run installation in silent mode - no chained packages are installed
Please keep in mind that on Windows Vista and above, in order to silently install prerequisites packages the main installation package should run elevated. So, you should check "Run as administrator" option from "Install Parameters" page, or use the "Run as administrator" context menu option from Windows Explorer when installing.
- if I uninstall major package - no chained packages are uninstalled
I've tested your scenario using version 9.3 of Advanced Installer, but I cannot reproduce the behavior. Can you please give us more details about this (maybe exemplify)? Also, can you reproduce this on multiple clean machines?

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

Return to “Building Installers”