This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Is there a way to turn off auto-repair?
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Apr 14, 2009
08:42 AM
Is there a way to turn off auto-repair?
If one of the installed dlls is missing, the auto-repair feature is triggered.
Is there a way to turn off this feature?
Thanks.
Is there a way to turn off this feature?
Thanks.
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Apr 16, 2009
01:48 AM
Hi,
You can disable auto-repair after installation on a target machine by following this procedure:
That's it! The auto-repair feature is now disabled.
To enable it again, rename the 2 registry keys above to their original names.
Now, I haven't found a way to disable this auto-repair feature in my MSI package. If anybody can propose a solution applicable to a Basic MSI project, that would be cool.
Regards
You can disable auto-repair after installation on a target machine by following this procedure:
- Identify the product code of the application you have installed (For example, our application's product code is 4FE58D04-55DE-4C70-BAB0-EA3B47BB5DC8)
- Open regedit
- Browse to HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\Products and identify the key which corresponds to the compact product code of your application (for example 40D85EF4ED5507C4AB0BAEB374BBD58C).
- Rename this key, for instance by adding an underscore in front of it: _40D85EF4ED5507C4AB0BAEB374BBD58C
- Browse to HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Installer\Features and identify the key which corresponds to the compact product code of your application (for example 40D85EF4ED5507C4AB0BAEB374BBD58C)
- Rename this key, for instance by adding an underscore in front of it: _40D85EF4ED5507C4AB0BAEB374BBD58C
That's it! The auto-repair feature is now disabled.
To enable it again, rename the 2 registry keys above to their original names.
Now, I haven't found a way to disable this auto-repair feature in my MSI package. If anybody can propose a solution applicable to a Basic MSI project, that would be cool.
Regards