cappa1983
Posts: 8
Joined: Mon Jul 30, 2012 3:38 pm

Repair Options...

Hi Everyone,

When I choose the "repair" option, It runs through all of the features and components. I need to change that so when a user selects to "repair" the program, he/she can select which features to repair... is this possible? if so, how can it be done?

Thanks,

NJ
Daniel
Posts: 8276
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Repair Options...

Hello,

I'm afraid you can not achieve what you want. Please keep in mind that on repair mode if a component key file is missing, then the related component will be reinstalled. So, a feature will be reinstalled during repair only if at least one of its components will be reinstalled.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
cappa1983
Posts: 8
Joined: Mon Jul 30, 2012 3:38 pm

Re: Repair Options...

Thanks for the reply, Daniel.

Could you please clarify the below line
So, a feature will be reinstalled during repair only if at least one of its components will be reinstalled.
Do you mean to imply that the repair will only execute the feature if one of its components are missing/absent?

Thanks,

NJ
Daniel
Posts: 8276
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Repair Options...

Hello,

Please keep in mind that every component, from "Organization" page has a key resource that can be only a file, a folder, a registry key or value or a data source. The resources are displayed under their component. The key resources are displayed with a key overlaid over the resource's usual image.

On repair mode if a component key resource is missing or corrupt, then the related component will be reinstalled. A feature will be reinstalled during repair only if at least one of its components will be reinstalled. So, on repair mode a feature will be reinstalled if at least one key resource of its components is missing or corrupt.

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”