Setup installs runtimes on uninstall

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

Setup installs runtimes on uninstall

Postby anja_laenge » Wed May 18, 2016 7:57 am

Hi,

in case my setup installs missing runtines and I uninstall one of these runtimes prior to uninstalling, the setup will install this runtime when I start the setup in uninstall mode.

How to fix this behaviour?

Regards
Anja

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

Re: Setup installs runtimes on uninstall

Postby FrancescoT » Wed May 18, 2016 12:36 pm

Dear Anja,

use the "REMOVE" pre-defined variable to conditionally execute the respective "checkxxx" Runtime script.

For example; supposing the project includes the "Net Framework 4.52" RTMs, it's just necessary to skip the execution of the respective "checknet46_x86x64" on un-install (REMOVE = TRUE).
script_view.png
script_view.png (15.18 KiB) Viewed 3937 times

Hope this helps you.

Regards
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: 121
Joined: Tue Nov 20, 2012 1:02 am

Re: Setup installs runtimes on uninstall

Postby anja_laenge » Fri Jul 22, 2016 8:22 am

Works fine, when starting the remove from the Control Panel;
does not work when starting the Setup manually.

Regards
Anja

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

Re: Setup installs runtimes on uninstall

Postby FrancescoT » Fri Jul 22, 2016 1:41 pm

Dear Anja,

you may try to include with the check, the value of "MAINTENANCE" pre-defined variable.

Regards
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: No registered users and 216 guests