i've an advertised shortcut and after launching the shortcut which is advertised i should get some entries under HKCU/Software/... but i'm not getting, when i repair the application i can see those registry keys coming under HKCU...

we should not impplement Active setup again when application has Advertised shortcut, as per best practises

please suggest me... thanks in advance

4 Comments   [ + ] Show Comments

Comments

  • Self Healing (advertised shortcut) and repairs are similar but slightly different.

    Self-Healing will check all key files of the components in the same feature level and any features/components BELOW in the same feature tree. The starting location of this check is the one which includes the exe the advertised shortcut is launching.

    Repair will do a key files check on all components and features installed.

    This difference is VERY important when working with Advertised shortcuts. You can even move components and features around to limit the self-heal to ONLY check/repair the components with per user data, which in some cases can significantly shorten the time it takes to self-heal.

    Basically ensure the component you are trying to put down in a self-heal is in the same feature as the exe in which the advertise shortcut launches.
  • thanks for ur response .....
    but i've tried that even.... putting all in the same feature where advertised shortcut is present. but still it is not working....
  • Solve ICE errors for that msi and install again and check
  • read the link posted below... there is a very good and detailed explanation of how advertised shortcuts work.

    The only other thing I can think to check, is to make sure the key file/reg of the component that includes the user data is "missing" when the self-heal runs. This usually means the key should be per user data itself.
Please log in to comment

Answers

1

Tukkudu,

Your advertised shortcut may not have been configured correctly. Try this - Create a new feature for your HKCU stuff and make it the parent of the feature containing the advertised shortcut.

Answered 06/19/2013 by: SnowLyric
Second Degree Brown Belt

  • A good post which explains in detail - http://www.itninja.com/question/self-heal-for-install-shield-msi
    • Awesome link... the jmcfaden post is pure info gold.
Please log in to comment
1

You need to check 2 things:

1) If your shortcut is advertised properly.

2) The components have a HKCU keypath. If the keypath is of HKLM, then it will not self heal.

Answered 06/20/2013 by: piyushnasa
Red Belt

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