This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Suite setup.exe error 0x80070057 RegistryExists
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 02, 2013
06:45 AM
Suite setup.exe error 0x80070057 RegistryExists
As soon as I run a new Suite I've just built I get an obscure-looking error dialog (attached) with the type and error number above. I have set a condition:
Exit Conditions > Exit Message ("Excel must be installed first") > None > Registry Exists > Registry Key ("HKEY_CLASSES_ROOT\.xls")
If this condition is true (key not found) then I should get the message. If it is false then the installation should continue. Or have I misunderstood how this works?
Exit Conditions > Exit Message ("Excel must be installed first") > None > Registry Exists > Registry Key ("HKEY_CLASSES_ROOT\.xls")
If this condition is true (key not found) then I should get the message. If it is false then the installation should continue. Or have I misunderstood how this works?
(5) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 02, 2013
09:22 AM
From the inline help for the Registry Key field, you should be using the abbreviation HKLM instead of HKEY_LOCAL_MACHINE. Thus your final key should be: HKLM\.xls; perhaps we can make a future version of the IDE fix this up automatically.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 02, 2013
09:28 AM
So, it's designed to fail if you copy-and-paste a key from the registry editor. Brilliant!
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 02, 2013
09:33 AM
MichaelU wrote:
... Thus your final key should be: HKLM\.xls; perhaps we can make a future version of the IDE fix this up automatically.
Michael, I would vote for that as I have been stung by that too!
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 02, 2013
09:34 AM
At the very least the build should fail if there's an invalid registry root.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 05, 2013
08:36 AM
I can only hope we weren't trying to just save a few bytes in the built output; even knowing what the error meant (bad input), I had to look in the IDE to figure out why the string that looked right was wrong. So totally agreed; we need build-time validation (and ideally design-time fixes) here.