Page 1 of 1
Setup installs runtimes on uninstall
Posted: Wed May 18, 2016 7:57 am
by anja_laenge
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
Re: Setup installs runtimes on uninstall
Posted: Wed May 18, 2016 12:36 pm
by FrancescoT
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 (15.18 KiB) Viewed 3942 times
Hope this helps you.
Regards
Re: Setup installs runtimes on uninstall
Posted: Fri Jul 22, 2016 8:22 am
by anja_laenge
Works fine, when starting the remove from the Control Panel;
does not work when starting the Setup manually.
Regards
Anja
Re: Setup installs runtimes on uninstall
Posted: Fri Jul 22, 2016 1:41 pm
by FrancescoT
Dear Anja,
you may try to include with the check, the value of "MAINTENANCE" pre-defined variable.
Regards