Discard the /TYPE and /COMPONENTS parameter on upgrade

Viewed 161

In case of an upgrade / re-installation, is there a way to discard the /TYPE and /COMPONENTS parameter value passed on the command line to the installer and instead use the previously used values ? I can read the values used earlier from Registry (or alternatively make out the details based on existence of files assuming they have not been manually altered)

I have read the following threads and can disable the "Select Components" page in UI mode

  1. Inno Setup Skip "Select Components" page when /Type command-line parameter is specified
  2. InnoSetup: Disable components page on upgrade

However, if the aforesaid parameters are passed from command line, they seem to override the defaults.

1 Answers
Related