/bundles/itninjaweb/img/Breadcrumb_cap_w.png
hi all,

here's a good one for you all;

i have created a package for office communicator that puts a key into HKLM\...\Run

but something is really weird, when windows starts ocs is not started. it has to be repaired first, then it works as expected.

i have never seen this behavior before. how is it possible, since the run key is present, that it does not trigger the self-healing by itself? why do i need to click the shortcut to repair it?

someone knows how to fix this?

i'm using WFWI 7

thanks all!
0 Comments   [ - ] Hide 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.
Answer this question or Comment on this question for clarity

Answers

0
Just because you have an entry in the 'Run' key doesn't mean a package will repair. For that, you need to trigger an advertised entry-point. That can be a shortcut, a file association or COM+ registration.

Search AppDeploy for John McFadyen's blog on repair/self-healing.
Answered 04/29/2009 by: VBScab
Red Belt

Please log in to comment
0
what? run key is not a trigger? crap! i thought it was.

thanks!
Answered 04/29/2009 by: kardock
Second Degree Green Belt

Please log in to comment
0
It could be but the executable that is launched from the Run registry entry would need to call an entrypoint (ex. COM-Component) for a self-heal to take place.
Did you use COM-Advertising or just the Registry table (hope not SelfReg) to register any COM-Component (.DLL)?
Answered 04/29/2009 by: AngelD
Red Belt

Please log in to comment
0
i know nothing about COM-Advertising, can you tell me where to get info on this?

thanks Angel
Answered 04/29/2009 by: kardock
Second Degree Green Belt

Please log in to comment
0
Do a search?

turn on advertising in the tools -> options
use WiseComCapture.exe stored in the "Program Files\...\Windows Installer Editor" folder to produce a .reg file
import the .reg file and wise should do the rest for your.

Nice step-by-step description from Ian at http://itninja.com/question/gnu,-freeware-and-shareware-programs-to-cloning2953&mpage=1&key=Ꟊ

I suggest you read "A packagers guide to the Windows Registry and COM" at http://johnmcfadyen.spaces.live.com/blog/cns!9DD01136FC094724!151.entry
Answered 04/29/2009 by: AngelD
Red Belt

Please log in to comment
0
i'll do my homeworks!

thanks man!
Answered 04/30/2009 by: kardock
Second Degree Green Belt

Please log in to comment