- Revenera Community
- InstallShield Forum
- Re: Accessing the InstallShield Database at Run Time
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Printer Friendly Page
Accessing the InstallShield Database at Run Time
As per the above article, I am able to get values of the MSI database table for ComboBox or any MSI database table. However, when I tried to run on the InstallShield specific table (tables starts with IS), it throws the following error:
1615 (Error.BadQuerySyntax) \"SELECT * FROM ISProductConfigurationInstance\".
Is there any way to access values of InstallShield specific tables?
NOTE: We are using managed code (c# standard action and Install.ActiveDatabase.OpenView API) to get database values.
Looks like your question is specific to the InstallShield product. I will go ahead and move your question to the appropriate forum so you can get the assistance you need.
Hi @RaviPatel ,
You can't query installshield specific tables from MSI table since MSI database table will only contain tables specific to Windows installer's pre-defined tables.
InstallShield specific tables are used to interpret given values during build time and be saved in MSI specific table values so those tables won't be present in MSI database.
Hi @RaviPatel ,
I dont think so that would be possible in run-time.Just curious about use-case or scenario so that we could go for suggestions during build time or some customization like custom-action or script related stuff.
Setup.exe launcher handles multiple Instances support, hence MSI tables will not store this information.
During build process, InstallShield writes this information (present in ISProductConfigurationInstance table in ISM file) to the setup.ini as below.
As @Jenifer mentioned, you can read this information from your managed custom action.