/build/static/layout/Breadcrumb_cap_w.png

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.

0 Comments   [ + ] Show comments

Answers (0)

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.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ