tpzworks
Posts: 7
Joined: Wed Sep 25, 2013 12:30 pm

Feature based prerequisites in quiet mode

When installer is run in quiet mode, Feature based prerequisites are installed AFTER main installation.
When in GUI mode, Feature based prerequisites are installed BEFORE main installation.

This behavior is not acceptable for us because we need to have proper order of installation in all cases.

Do you have a solution?
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Feature based prerequisites in quiet mode

Hello,
When installer is run in quiet mode, Feature based prerequisites are installed AFTER main installation.
When in GUI mode, Feature based prerequisites are installed BEFORE main installation.
Indeed this is our default behavior.

In order to have a proper order of installation in all cases you can have your prerequisites as:
  • Pre-Install ones which will be installed by an EXE bootstrapper before your MSI is launched.
    Post-Install ones which are launched after your main installation.
Please let us know if you have other questions.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
tpzworks
Posts: 7
Joined: Wed Sep 25, 2013 12:30 pm

Re: Feature based prerequisites in quiet mode

They are feature based and cannot be installed in pre-install stage
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Feature based prerequisites in quiet mode

Hello,

Can you please try to add them as a Post-install prerequisites because these are feature-based prerequisites which are launched after your main installation. They are also handled by the installation user interface.

Please let us know if that helped.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
tpzworks
Posts: 7
Joined: Wed Sep 25, 2013 12:30 pm

Re: Feature based prerequisites in quiet mode

We could, but then we would also have to move all custom actions that depends on the prerequisite. Some of them take some time while installing and moving them to post install stage would mean we get no progress indication.

From our perspective: Installation order should be the same no matter how you perform the installation. Could you please provide an option in the future version to control this.
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Feature based prerequisites in quiet mode

Hello,

Unfortunately for the “Feature-based” prerequisites we cannot achieve this specific scenario to have the same installation order no matter how you perform the installation(silent or with Full UI) due to Windows Installer limitation.

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.
If you always want to have the same prerequisite order you can added them as “Pre-Install” or “Post-Install”. The Pre-Install prerequisite are handled by bootstrapper in separate process. After the prerequisite finish installation then the .msi package is launched by the bootstrapper. The Post-install prerequisites behaves the same way as Feature-Based prerequisites in a silent installation, no matter how you perform the installation (silent or with Full UI) .

If you have other questions, please let us know.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”