Hi,

I cannot remember how does active setup should be modified so it repairs just one particular registry key, not whole MSI. Can anyone give some examples?

0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Community Chosen Answer

1

Hi,

1) Create Current Feature as your parent feature & move your HKCU registry component in this feature directly

2) Specify stubpath command line as msiexec /fu {ProductCode} /qb!

3) This will repair your registry component only insted of whole MSI

Answered 12/14/2012 by: sushant1985
White Belt

Please log in to comment

Answers

0

If you're using activesetup write the registry key through script instead of triggering an MSI repair.

If you're instead able to use MSI self-heal (triggered through advertised entrypoint in MSI), put your registry key in a separate top-level feature that is parent to all other features.

Answered 12/06/2012 by: pjgeutjens
Red Belt

  • What he said... You can't really selectively repair as far as I know. As Pjg said, you can with self-heal, if you structure your features and components right.
Please log in to comment
0

Here are the repair options below. If you want only one registry key repaired you could use the command regedt32.exe /s "your registry key"

Repair Options
 /f[p|e|c|m|s|o|d|a|u|v] <Product.msi | ProductCode>
  Repairs a product
  p - only if file is missing
  o - if file is missing or an older version is installed (default)
  e - if file is missing or an equal or older version is installed
  d - if file is missing or a different version is installed
  c - if file is missing or checksum does not match the calculated value
  a - forces all files to be reinstalled
  u - all required user-specific registry entries (default)
  m - all required computer-specific registry entries (default)
  s - all existing shortcuts (default)
  v - runs from source and recaches local package

Answered 12/06/2012 by: jpsmx
White Belt

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