Software Deployment Question

How to disable self repair

06/14/2007 2956 views
Is there a way to disable self repairing from occuring? I know you can remove all file keys path but wanted to know if there is a simplier way of doing it (ie. maybe throught the command line? )

0 Comments   [ + ] Show comments


Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

All Answers

You could convert the advertised shortcut into a regular shortcut and remove any other entry points (such as file associations).
Answered 06/15/2007 by: turbokitty
6th Degree Black Belt

The DISABLEADVTSHORTCUTS property can be used to disable advertised shortcuts, but it won't disable other advertised entry points.

However, you could also move all advertised components to a position in the feature tree where they're unlikely to trigger a repair (ie: their own separate feature at the top of the tree).
Answered 06/16/2007 by: WiseUser
Fourth Degree Brown Belt

How To Disable Windows Installer Resiliency - http://support.microsoft.com/default.aspx?scid=kb;en-us;303439
This is not recommended, but by disabling the Windows Installer service, auto-repair will also be disabled.
Answered 06/18/2007 by: chris.penney
Senior Yellow Belt

How do I turn off repair for a file that users are expected to modify or delete?

Packaging tools normally create advertised shortcuts so that, upon launch, the program verifies that all of its files exist. To change this behavior so that it does not repair the file, select the files and change the Condition property to NOT REINSTALL so that the file will not get reinstalled on a repair. Set its Transitive property to TRUE so that the condition is re-evaluated. This will cause the installer to appear briefly on the screen the first time after the file is deleted, while it verifies that the file should not be reinstalled, but you will not see the installer after that.
Answered 06/18/2007 by: chris.penney
Senior Yellow Belt

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login


This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ