Best practice tu remove all keypath on a MSI package
Hello,
i would like to know if a way exist to remove all key path on a msi file ?
thank you for your answer
i would like to know if a way exist to remove all key path on a msi file ?
thank you for your answer
0 Comments
[ + ] Show comments
Answers (3)
Please log in to answer
Posted by:
AngelD
17 years ago
I wouldn't say removing keypaths has any Best practice guidelines.
You could always use the WindowsInstaller.Installer object in a vbscript to modify the Component table to set the KeyPath column to blank. Thus have in mind that the folder defined in the Directory column will be used as keypath instead.
Why would you want to do this?
You could always use the WindowsInstaller.Installer object in a vbscript to modify the Component table to set the KeyPath column to blank. Thus have in mind that the folder defined in the Directory column will be used as keypath instead.
Why would you want to do this?
Posted by:
fuz_kitten
17 years ago
What do you want to achieve? If you want to disable self repair read this: THIS
If you remove the keypath (i.e. reg, file or ODBC) the folder in the Directory_ column will become the keypath.
If you remove the keypath (i.e. reg, file or ODBC) the folder in the Directory_ column will become the keypath.
Posted by:
jmcfadyen
17 years ago
the simple way is toast the keypath column of the component table.
like other have mentioned I would not recommend this though.
if you want to disable self repair then removing the component ID is the "Microsoft approach" to disabling self repair.
again its kinda dodgy ?
what is the result you are looking to achieve ?
like other have mentioned I would not recommend this though.
if you want to disable self repair then removing the component ID is the "Microsoft approach" to disabling self repair.
again its kinda dodgy ?
what is the result you are looking to achieve ?
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.