A new Flexera Community experience is coming on November 25th, click here for more information.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Clear all key files at once

Hello,

is it possible to clear all key files at once.

We use Admin Studio 7, and in the moment I clear every file single.
(3) Replies
Key files ( actually key resources since it could be non-file resource data ) is expressed in the KeyPath column of the Component table. By clearing this out you specifiy the directory of the component is the default key file.

I'm not sure ORCA or the Direct Editor can do this in one shot so your best bet would be to use a script ( like WiSQL.vbs in the Platform SDK ) to issue the command

update `Component` set `Component.KeyPath` = ''

( I didn't check the syntax of the above but it looks right to me )


BTW, I'm curious why you would want to do this.
Thank you very much
you won't be able to use advertised shortcuts, have COM servers, be able to upgrade the package or use anything vaguely useful.

It sounds like MSI is the wrong technology for you.

Why would you want to do this to a package?