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

Comments

Please log in to comment

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

Answers

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?
Answered 05/23/2007 by: AngelD
Red Belt

Please log in to comment
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.
Answered 05/23/2007 by: fuz_kitten
Second Degree Blue Belt

Please log in to comment
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 ?
Answered 05/24/2007 by: jmcfadyen
Fifth Degree Black Belt

Please log in to comment
Answer this question or Comment on this question for clarity