How to populate table at runtime?
Windows Installer proposes a few methods in Automation Interface:
This method is not appropriate, it returns Database objects in read-only mode:
Set oDatabase = Session.Database
Next method is to open database directly from Installer object:
Set oDatabase = oInstaller. OpenDatabase( name , openMode )
Unfortunately, because the OpenDatabase method initiates database access, it cannot be used with a running installation.
Any suggestion will be helpful.
This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Populate table at runtime
Started by
AntonS
, Sep 27 2004 15:19
3 replies to this topic
Posted 28 September 2004 - 09:41
Any changes you make to the database at runtime are temporary, this is by design.
Regards
-Stein Åsmul
-Stein Åsmul
Posted 28 September 2004 - 15:19
For the general idea of temporarily modifying an MSI database at run time, anyway, perhaps see this InstallShield newsletter tip: http://www.installsh...s/msiaccess.asp.
Robert Dickau
InstallShield, a Macrovision company
InstallShield training, books, seminars, newsletters, ...
InstallShield, a Macrovision company
InstallShield training, books, seminars, newsletters, ...
Posted 29 September 2004 - 06:31
Thanks a lot, Robert!
I find the article comprehensive enough for my purposes.
I find the article comprehensive enough for my purposes.