How to disable self repair
Hello,
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? )
Thanks!
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? )
Thanks!
0 Comments
[ + ] Show comments
Answers (4)
Please log in to answer
Posted by:
turbokitty
17 years ago
Posted by:
WiseUser
17 years ago
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).
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).
Posted by:
chris.penney
17 years ago
Posted by:
chris.penney
17 years ago
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.
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.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.