PDA

View Full Version : Installer tries to overwrite existing Registry key



maribago
07-31-2002, 02:44 PM
This particular key is:
HLM\software\microsoft\jet\4.0\ISAM formats\dBase III

This key is used by other software so we don't want our installer to remove it when a user Uninstalls.

When the installer runs, it seems to try to overwrite the existing Registry key/values. It fails and reports error 1406 ...user does not have sufficient access.

User is Admin so has sufficient permission.

What we want to do:
Have the installer create a new key/value if and only if the key and value do not exist.

Suggestions?

Btw, Uninstall Behavior for this key is set to "Automatic". The "Install only" option is greyed out.

_doog_
08-01-2002, 08:59 AM
have you tried to create an own component for this key and set the registry key as key-file?

maribago
08-01-2002, 09:59 AM
No, haven't tried what you mention.
For the present we have been able to make the installer work by forcing "Install Only (+)". First we delete all key values, then the "Install Only" option becomes available (in no longer greyed out), then we manually re-enter all the key values. A pain, but it works.
Thanks for your suggestions.