kjullion
Posts: 176
Joined: Mon Nov 11, 2013 9:02 pm

Disabling Modify / Repair from the MaintenaneTypeDlg

Hi,
Our setup is fairly straightforward in that it doesn't install multiple features. On the Product Details > Add or Remove Programs (Control Panel) we have set to "on" both the "Disable Modify" and "Disable Repair" this works perfectly if the user goes to Control Panel to add/remove a program. But, if they instead run our setup to do the first install and then, re-run the same setup file (forgetting that they had done so already) then AI's MaintenaneTypeDlg appears and gives them the option to Modify or Repair or Remove.

What is the recommended way to ensure that Remove becomes the only viable option here? Should I edit the MaintenaneTypeDlg? And if so, in what way...just set those two buttons to Enabled = False?

Thanks!
Catalin
Posts: 6586
Joined: Wed Jun 13, 2018 7:49 am

Re: Disabling Modify / Repair from the MaintenaneTypeDlg

Hello,
What is the recommended way to ensure that Remove becomes the only viable option here? Should I edit the MaintenaneTypeDlg? And if so, in what way...just set those two buttons to Enabled = False?
By setting the "Enabled" attribute to "False" for the specified buttons ("Modify" and "Repair"), yes, the only viable option for the user will be the "Remove" button as shown in the following screenshot:
Capture.PNG
Capture.PNG (28.85 KiB) Viewed 2273 times
Hope this helps.

Kind regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”