Work with msi database
Hello
I create msi package in VS2010. This package allow several installations using instance transform. I program some application which will make installer database transform and then will begin installation with parameters. For creating transform I need update some values in installer database. And that is the problem. Update of the first value runs correctly, I made commit and close of the view. But when I call OpenDatabase(pathtoDB, transactmode) second time, then there is COMexception "OpenDatabase,DatabasePath,OpenMode". and path to msi is correct. I wonder if this is caused, by opened database, but at MSDN is written, that DB is released automaticaly, or it can be set to null. But nothing works. Do you have some experience with this problem?
Thank you.
I create msi package in VS2010. This package allow several installations using instance transform. I program some application which will make installer database transform and then will begin installation with parameters. For creating transform I need update some values in installer database. And that is the problem. Update of the first value runs correctly, I made commit and close of the view. But when I call OpenDatabase(pathtoDB, transactmode) second time, then there is COMexception "OpenDatabase,DatabasePath,OpenMode". and path to msi is correct. I wonder if this is caused, by opened database, but at MSDN is written, that DB is released automaticaly, or it can be set to null. But nothing works. Do you have some experience with this problem?
Thank you.
0 Comments
[ + ] Show comments
Answers (0)
Please log in to answer
Be the first to answer this question
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.