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?
Answers (3)
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
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