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
- :
- Empty tables to be filled
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
Mar 28, 2013
06:56 AM
Empty tables to be filled
I get an error ERROR_BAD_QUERY_SYNTAX (1615) when I call MsiDatabaseOpenView with a query on empty tables.
I'm using this call to get the handle to the view. That handle is not set up after the call.
I wish to dynamically fill the tables ServiceControl, ServiceInstall and Registry with information found whilst running a major upgrade / install product crossover.
Reading this link:
http://community.flexerasoftware.com/showthread.php?161797-ISSetAllUsers-appears-to-hang-IS-12/page6&p=361243#post361243
I think the problem may be that empty tables are being removed from the final setup.exe (msi there in).
Can anyone please confirm this is the cause.
I don't think that putting some dummy values in the tables is the right way to solve the problem.
Is there a way to prevent specific tables being removed when the install file is created (if this is indeed the problem) ?
OR
Is this a bug in the behaviour of InstallScript. It is after all possible in SQL to return an empty recordset (the direct equivalent of my actions).
This is a bit of a show stopper right now so I'd really appreciate any ones information/suggestions to solve this issue.
Thanks in advance.
I'm using this call to get the handle to the view. That handle is not set up after the call.
I wish to dynamically fill the tables ServiceControl, ServiceInstall and Registry with information found whilst running a major upgrade / install product crossover.
Reading this link:
http://community.flexerasoftware.com/showthread.php?161797-ISSetAllUsers-appears-to-hang-IS-12/page6&p=361243#post361243
I think the problem may be that empty tables are being removed from the final setup.exe (msi there in).
Can anyone please confirm this is the cause.
I don't think that putting some dummy values in the tables is the right way to solve the problem.
Is there a way to prevent specific tables being removed when the install file is created (if this is indeed the problem) ?
OR
Is this a bug in the behaviour of InstallScript. It is after all possible in SQL to return an empty recordset (the direct equivalent of my actions).
This is a bit of a show stopper right now so I'd really appreciate any ones information/suggestions to solve this issue.
Thanks in advance.
(13) Replies