Updating MSI database table during runtime
Posted 27 January 2006 - 20:13
I've started a thread regarding this, but I believe there may be a better way to go about this than what was suggested:
In the help files I've found information on msi functions that allow me to use sql commands on the msi database during runtime -- such as the "MsiViewModify" function. Am I heading in the right direction?
I'm a bit confused on how I actually connect to the running msi database. I've looked at "MsiGetActiveDatabase(hInstall)" but I don't understand how I get a value into the "hInstall" variable that contains the handle to my msi database.
Can anyone help me, or point me towards a resource that has instructions on how to do this?
Posted 30 January 2006 - 11:41
In a Basic MSi project using control condition would be the recommended way.
Posted 30 January 2006 - 23:01
How would a control be disabled in InstallScript?
Edited by bhagelin, 30 January 2006 - 23:07.
Posted 01 February 2006 - 10:10
Posted 01 February 2006 - 18:24
I do believe however, that the project type is in fact InstallScript MSI -- I made that determination based upon the InstallShield features available. Is there another way to check the project type?
Posted 01 February 2006 - 18:51
Now, I have the same issue but with an InstallScript project. Is there a way I can enable/disable dialog controls during runtime with InstallScript? I suppose I'll post this in the InstallScript section...
Edited by bhagelin, 01 February 2006 - 18:52.