Re: Help needed!!!!!!!!!!!
Guys, i m new to this Apps PAcking industry. i have a question for yal...
I have an advertised shortcut. How does the advertised shortcut check for keypaths? What i mean to say is, when i double click an advertised shortcut of a broken application, the msiexec service is called and application self-repairs. I dont know how the advertised shortcut make a check for all keypaths? Is there a hidden service that runs that makes a check for these keypaths?
I have an advertised shortcut. How does the advertised shortcut check for keypaths? What i mean to say is, when i double click an advertised shortcut of a broken application, the msiexec service is called and application self-repairs. I dont know how the advertised shortcut make a check for all keypaths? Is there a hidden service that runs that makes a check for these keypaths?
0 Comments
[ + ] Show comments
Answers (18)
Please log in to answer
Posted by:
sunny07
14 years ago
check this site for complete information on self healing
http://johnmcfadyen.spaces.live.com/
Posted by:
AngelD
14 years ago
Posted by:
cygan
14 years ago
having a good foundation is the key
have a look at my pointers
in addition read about the diff b/w advertised and non advertised shortcuts
what is an entry point
read about features / components etc
read about self repair and how it is triggered
you will get lots of info if you google
cheers
have a look at my pointers
in addition read about the diff b/w advertised and non advertised shortcuts
what is an entry point
read about features / components etc
read about self repair and how it is triggered
you will get lots of info if you google
cheers
Posted by:
mitrokin
14 years ago
Posted by:
captain_planet
14 years ago
Posted by:
mitrokin
14 years ago
i did check that ....
i read everything.
I tried this following experiment.
I created a msi and an advertised shortcut in it. i installed my app, Disabled msiexec service. Application still works. Now who would be performing the checks for keypaths.. this is my question left unclear even after reading the blogs
i read everything.
I tried this following experiment.
I created a msi and an advertised shortcut in it. i installed my app, Disabled msiexec service. Application still works. Now who would be performing the checks for keypaths.. this is my question left unclear even after reading the blogs
Posted by:
AngelD
14 years ago
Now who would be performing the checks for keypaths
The short version; it is the Windows Installer service (msiserver).
The Windows Installer resiliency feature (self-healing) cannot check for broken components if the service is disabled meaning; no repair will/can occur. It will still be possible to start the application.
The short version; it is the Windows Installer service (msiserver).
The Windows Installer resiliency feature (self-healing) cannot check for broken components if the service is disabled meaning; no repair will/can occur. It will still be possible to start the application.
Posted by:
mitrokin
14 years ago
Angel. You are wrong. If u disable this service.And then u run the advertised shortcut, the application starts (Provided that nothing is broken). If something is broken repair is triggered but since the service is disabled, repair fails. But how does the system come to a decision that repair should be triggered.
Posted by:
anonymous_9363
14 years ago
Splitting hairs, rather, aren't we? The result is the same: if the service is disabled, the repa\ir doesn't happen.
how does the system come to a decision that repair should be triggered.You answered your own question earlier. If a key path is missing, repair takes place. As for the actual mechanics, a session with ProcMon [have you seen this mentioned here before?] will show you the process. The various registry entries for the product's features and components are read and key paths checked for their presence.
Posted by:
pjgeutjens
14 years ago
If u disable this service.And then u run the advertised shortcut, the application starts (Provided that nothing is broken). If something is broken repair is triggered but since the service is disabled, repair fails. But how does the system come to a decision that repair should be triggered.
Well, one thing you should realise is that an advertised shortcut doesn't actually point to the exe that gets started (unlike a normal shortcut), but instead points to one that is stored in C:\Windows\Installer\<Guid>\
if I'm not mistaken this provides a link to a component (GUID) that is the starting point for Windows Installer's search for things that need repairing.
EDIT: and that's only the mechanism for shortcuts, there's similar mechanisms for file associations, dll's. Here the link to the component is provided by something called a Darwin Descriptor ( something to Google [;)] ) embedded into the registration
PJ
Posted by:
mitrokin
14 years ago
PJ: "if I'm not mistaken this provides a link to a component (GUID) that is the starting point for Windows Installer's search for things that need repairing."
Now my scenario is that all my keypaths are present and msiexec service is disabled. In this scenario the application launches.
NOw since the windows installer service is disabled. who will search for things that need repairing?
Now my scenario is that all my keypaths are present and msiexec service is disabled. In this scenario the application launches.
NOw since the windows installer service is disabled. who will search for things that need repairing?
Posted by:
anonymous_9363
14 years ago
Posted by:
AngelD
14 years ago
Posted by:
AngelD
14 years ago
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.