Hi guys.

In my MSI i have created a custom action to set a path the quick launch folder in the users profile.

My question is , is there a way when say a user deletes a shortcut out of the Quick Launch folder that the application will repair and put the shortcut back?

Any help anyone can give would be fab
.
Thanks
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
If an entry point is invoked each component's keypath will be checked and if any is broken the shortcut will be repaired. This is true for the feature the component resides in and all parent feature of that feature.
Answered 09/14/2006 by: AngelD
Red Belt

Please log in to comment
0
Hi cjwallace,
AFAIK, this won't be possible, because you can't use such a link as key to a feature. In the users context, only registry entries are allowed as keys. Therefore, there is now way, how Windows Installer could detect the absence of the link.
If you do need that really, then you have to check it programatically.
I wouldn't do such things anyway, because the quick launch belongs to each user alone.
You don't need a custom action to put the link into quick launch, that can be done by a MSI alone.
Regards, Nick
Answered 09/15/2006 by: nheim
Tenth Degree Black Belt

Please log in to comment
0
I wouldn't say that it is not allowed... it's just a rule like many others ;)

But to make this happen you would have to add the shortcut .lnk file as a regular file to the package in its own component and then set that .lnk file as the keypath (You will get ICE error on this that you should use a registry keypath instead of file). One thing to have in mind is that the Quick Launch shortcut (.lnk) will only repair on regular users and not local admins.
Answered 09/15/2006 by: AngelD
Red Belt

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