/build/static/layout/Breadcrumb_cap_w.png

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

0 Comments   [ + ] Show comments

Answers (3)

Posted by: AngelD 16 years ago
Red Belt
0
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?
Posted by: fuz_kitten 16 years ago
Second Degree Blue Belt
0
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.
Posted by: jmcfadyen 16 years ago
5th Degree Black Belt
0
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 ?
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
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