/build/static/layout/Breadcrumb_cap_w.png

ActiveSetup registry repair

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

Answers (3)

Posted by: sushant1985 11 years ago
White Belt
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

Posted by: pjgeutjens 11 years ago
Red Belt
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.


Comments:
  • 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. - dandirk 11 years ago
Posted by: jpsmx 11 years ago
White Belt
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

Don't be a Stranger!

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

Sign up! or login

View more:

Share

 
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