qinfchen
Posts: 2
Joined: Wed Apr 06, 2011 2:32 pm

Question about install repair

Hi,

I am trying to understand how repair works, but i couldn't find any info related to my questions:

1. What actions are being run during repair mode?
2. What is the difference between install/reinstall and repair?

Thanks in advance
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Question about install repair

Hi and welcome to the Advanced Installer Forums,
What actions are being run during repair mode?
The standard actions from this article are processed for each installation mode. However some standard actions are specific to only one installation mode( mentioned in their brief definition ). Custom actions can also be scheduled after each standard action so your installer can have the intended functionality. For more information about custom actions please follow this article.
What is the difference between install/reinstall and repair?
Here are definitions to the install modes:
  • Install. This includes copying the necessary files, initial configuration of the registry, and the creation of the desktop and Start menu shortcuts that allow users to find and use the software.
  • Modify. This involves adding or removing features after the initial installation. For example, after the initial installation of word processing software, a user could decide to install the spell-check feature. Note that this differs from configuration, where users specify how they want the software to appear, for example, which toolbars will be displayed.
  • Repair. This involves keeping the software in a working state without regard to what happens. For example, if a user deletes the executable file for their spreadsheet, and then chooses the spreadsheet from the Start menu, the executable file would be reinstalled automatically, thereby repairing the software.
All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
qinfchen
Posts: 2
Joined: Wed Apr 06, 2011 2:32 pm

Re: Question about install repair

Thank you for the detailed answer.

What are the actions processed in the install mode but not in the repair mode? or vice versa. The article you provided does not mention it at all.
Also, how is the property set during a repair? Does repair use the properties set from previous install?
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Question about install repair

Hi,
What are the actions processed in the install mode but not in the repair mode? or vice versa. The article you provided does not mention it at all.
If the standard action definition doesn't mention any specific information about the install mode, then it is executed on all install modes.
Also, how is the property set during a repair? Does repair use the properties set from previous install?
A public/private property's value can be set during the installation process in any mode and that value is available only during the same process. Since a repair involves executing an install package on a machine which already has the same package installed, we are looking at two different install processes. For more information about properties, please follow this article.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”