/build/static/layout/Breadcrumb_cap_w.png

Software Question


Possible to check which features/components were selected during install?

10/23/2019 220 views

I have an MSI based application that allows for quite a bit of customization.  This app was installed ages ago and we don't necessarily know which features/components were installed via the ADDLOCAL property.  We only know without a shadow of a doubt that the ADDLOCAL property was used, was not set to ALL but set to a subset of the available features/components.  I'm aware this information is typically in the installation log, especially if used with verbose logging, but there's no guarantee the log is present on the machine.

Is the information about what the ADDLOCAL property was set to stored on the system?  (WMI?  Registry?)

0 Comments   [ + ] Show comments

Comments



Community Chosen Answer

2

Oooooh! It's "Fun With Packed GUIDs" time, yay!

Start by seeking out my QAD script for handling so-called "packed" or "compressed" GUIDs. [thought-cloud appears..."Did I use the word "munge" in that script?]

Find the ProductCode for the app, then find its packed GUID as keys at 'HKEY_CLASSES_ROOT\Installer\Features'. The feature name will appear as a value. Then you can find the source MSI's details at  'HKEY_CLASSES_ROOT\Installer\Products\[packed GUID]\SourceList\Net'. In that, you can obviously match the features with the components.


Have fun!

Answered 10/24/2019 by: VBScab
Red Belt

All Answers

1

usually recorded in the install log for that app

Answered 10/23/2019 by: SMal.tmcc
Red Belt

  • Thanks for taking the time to reply! You're not wrong and it's something I have considered but it's something of a gamble:
    a) A log may not have been generated
    b) A log was generated but has since been deleted.
    I was hoping this information would have been stored in a safe (read: permanent) location for reliable querying.
    • I do not know of any other place that is stored since it is called from a command line. Hopefully someone else may know a trick
      • I might be reading into this but you said "since it is called from a command line": Does this mean it might be handled differently if a Transform was used?
    • was this app hand installed or scripted thru some management system
      • This was more about finding a reliable measurable method to verify current state in order to later validate a future state change.