I need help in closing an MSI file.
I am making an MSI file editor, where i can open and update an msi file. but the problem is when i try to reopen the same file (just to cross check the updated msi), it throws an error
OpenDatabase,DatabasePath,OpenMode
on this line
database = installer.OpenDatabase(msiFile.FullName, MsiOpenDatabaseMode.msiOpenDatabaseModeTransact);
So, i believe its because the msi file is already open. can anyone help me out in closing an already opened msi.