|
|
#1 (permalink) |
|
Guest
Posts: n/a
|
Hi,
I've written an application to stuff some binaries and my custom action DLL into an empty MSI. When the MSI runs, my custom action DLL extracts these binaries and installs the product. So, this application opens the database (MsiOpenDatabase) in transaction mode & run query to insert a binary into the binary table and execute the view. After the calls, I commit the database (MsiDatabaseCommit). This application works fine on Windows XP, but fails on Windows 7 at the MsiDatabaseCommit() call. On getting the extended error, I code an error code: "2213", which means "Error saving database tables". The Windows Installer version on Windows 7 machine is 5.0 (sufficient for running MsiDatabaseCommit). My application has the manifest to run as administrator (requreAdministrator level of execution). Moreover, I tried signing the empty MSI & the application, thinking whether the issue may be because of the absence of signing. But, still doesn't work. Any help is appreciated. Thank You. Punit. |
|
|
|
#2 (permalink) |
|
Guest
Posts: n/a
|
There're clearly (undocumented) changes. One is that you need a
Property table, maybe that's your issue. See http://code.dblock.org/ShowPost.aspx?id=81. |
|
![]() |
| Thread Tools | |
| Display Modes | |
|
|