Advertised Shortcuts and Active Setup

Both can be used to insure that registry settings for the current user are populated.  What do you do in the case where you deploy the application with the user already logged in.  That rules out Active Setup which leaves an Advertised Shortcut.  If the application will most likely be invoked by opening a file associated with the app, that goes around the AS.  How do you deal with this if you need to insure that the proper registry settings are deployed before the application gets lauched?

0 Comments   [ + ] Show comments

Answers (3)

Posted by: Ifan 9 years ago
Second Degree Green Belt

You can make advertised file associations... If that isn't good enough, make a script CA that sets the settings for every user profile, and the default profile on the system during installation.

  • It looks like in order to make advertised file associations I will need to use the Extension and ProgID tables. When doing a validate on the MSI I receive a few warnings that some registry entries are used in an unsupported way and should be in the ProgID table. Is there a simple way to move those reg entries to the ProgID table or am I mixed up here? - joedown 9 years ago
  • I was able to use IS to extract the com info and import the populated ProgID and Class tables into my transform. After install if I launch a file associated with this app it is still not initiating self repair unless I launch it using the Start Menu shortcut. I'm wondering if I have something wrong with my Extension table or am I missing something else? - joedown 9 years ago
Posted by: terebent 9 years ago
Second Degree Brown Belt

Just create a advertised package and the selfhealing will be called even if you open the application using an associated file.

  • This is a vendor package so it is already created. - joedown 9 years ago
    • You can advertise it even is a vendor msi. - terebent 9 years ago
  • That is what I'm trying to do but I have been unable to get it to work and I'm not sure what the problem is. I've populated the Class, Extension, MIME, and ProgId tables. The only thing I'm not sure of is my features and components in the different tables. My advertised shortcut is working properly so I know I have my top level feature and feature parent set correctly. - joedown 9 years ago
Posted by: Hussi 9 years ago
Purple Belt

Is the feature  to which user registry and extension  associated same ?

  • Should the component and feature be the same for the extension as the user registry? If I do that I receive a "cannot be advertised because the KeyPath disallows it." error when validating. - joedown 9 years ago
  • component needs to be diffrent feature needs to be same - Hussi 9 years ago
  • So I create a new component for the entry in the Extension table. What is the KeyPath supposed to be? - joedown 9 years ago
  • The keypath can be exe or dll which the extension points to
    ...When any advertised entry point is triggered (here File association) it will check for all broken components in that feature so if the HKCU registry are set as keypath for different component in same feature it will trigger self heal. - Hussi 9 years ago

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login


This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ