Change setup order

Got a problem you cannot solve? Try here.
anja_laenge
Posts: 114
Joined: Tue Nov 20, 2012 1:02 am

Change setup order

Postby anja_laenge » Thu Feb 04, 2021 7:37 am

Hi,

in our current project we need to install several runtimes and PreRequisites.
Following the steps in a normal InstallAware generated setup, these steps take place before the user even had the chance to read and maybe disagree the license.

Our customer wants to change this.
So, what would be necessary to move the prereq handling to a later point?

Move the whole [REGION: Check/Install Application Pre-Requisites]
before the [label: Main Install] block?

This should move all checks, setups and dialogs.

Would this affect the msi database or any maintenance operations?
Something I am missing here?

kind regards
Anja

FrancescoT
Site Admin
Posts: 5360
Joined: Sun Aug 22, 2010 4:28 am

Re: Change setup order

Postby FrancescoT » Thu Feb 04, 2021 2:07 pm

Of course you can. It just a matter of coding.

Of course again, depending on the modifications, this may have more or less impact on existing installations.

If you intend to proceed in this way, I recommend you to deploy such modifications as a full package update, which full removes the existing installation, and install the new update from scratch.
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

anja_laenge
Posts: 114
Joined: Tue Nov 20, 2012 1:02 am

Re: Change setup order

Postby anja_laenge » Fri Feb 05, 2021 2:30 am

Hello Francesco,

sorry, my description was unclear. It is a completely new project, we provided a first setup, and this is an aspect he wants to change - so there are no existing installations of this product.

Moving the mentioned region should do this, regarding the user experience?

Regarding the internal logic and effects on the resulting installation:
Am I right, that none of the changes to the system from the prereq setup scripts will be undone during uninstallation?

One of the prereqs might require a reboot.
With an unmodified setup, prereq installs wouold start, a dialog would inform the user, the reboot would take place and the setup would resume, reaching the welcome dialog at some point, collect information on setuptype, location etc and install the product.

What would happen in a setup like the one descriped above?

kind regards
Anja

FrancescoT
Site Admin
Posts: 5360
Joined: Sun Aug 22, 2010 4:28 am

Re: Change setup order

Postby FrancescoT » Fri Feb 05, 2021 2:26 pm

Dear Anja,

you are asking for something which cannot have a direct answer. Because, it depends only on how you write the code.
You can modify and sequence any part of the setup script as you prefer. There are no limitations ...it's just a matter of coding.

Am I right, that none of the changes to the system from the prereq setup scripts will be undone during uninstallation?

Once again, This only depends on how you implement that part of the code. By design, assuming you are referring to the App Rtm scripts included with IA, these exclusively install a package. However, if these get invoked while uninstalling, of course this will cause some problems ...surely for what concerns the user experience.

At any rate, most recent IA versions include the "Delayed Elevation" template. This, if I haven't missed your target, does exactly what you need.
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE


Return to “Technical Support”

Who is online

Users browsing this forum: Google [Bot] and 29 guests