jstevenco
Posts: 20
Joined: Tue Jan 01, 2008 1:27 am

Remove or Repair Control Panel behavior

Hi AI-ers,

Is there a way to force the repair and remove options invoked from ARP in the control panel to use the interactive rather than quiet mode?

Thanks,

Steve
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Hi Steve,

Please note that on XP, the Repair (Change) option show an User Interface and interacts with the user. You can customize the dialogs shown by using the "Dialogs" page in an Enterprise project.

However, the remove option does not show an User Interface because this is not supported by Windows Installer (the uninstallation is silent). This is also the case when using the Repair option on Vista.

Since Windows Installer does not support what you need, the only way to show an user interface in these cases is to create one yourself through a custom action (this is a little complicated). You can read more about custom actions here:
http://www.advancedinstaller.com/user-g ... -page.html

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
jstevenco
Posts: 20
Joined: Tue Jan 01, 2008 1:27 am

Hi Cosmin,

Thanks for the reply. I tried a number of workarounds and finally opted for (i believe) the simplest one. In AI's Product Details I checked "Disable Repair" and "Disable Remove" and left "Disable Modify" unchecked. This gives me just the Change button in ARP which lets me present Repair/Remove to users interactively via the maintenance logic.

As a sidenote: will this behavior be consistent with with Vista as far as you know? I was a bit confused by your use of "Change" (which I assumed meant "Modify") and "Repair". Is it just Repair AND Remove that are silent in Vista?

best regards,

Steve
Cosmin
Posts: 5797
Joined: Tue Jul 10, 2007 6:39 pm
Contact: Website

Hi Steve,
will this behavior be consistent with with Vista as far as you know?
Yes, if you use the "Disable Remove" and "Disable Repair" options, you will have only the "Change" option on both XP and Vista.
Is it just Repair AND Remove that are silent in Vista?
On XP there are two options:
- Change (launches the Maintenance mode = Modify, Repair and Remove options)
- Remove (silent)

On Vista there are three options:
- Uninstall (silent)
- Change (launches the Maintenance mode = Modify, Repair and Remove options)
- Repair (silent)

Regards,
Cosmin
Cosmin Pirvu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”