Go Back   PackageDeploy Application Packaging Forums > Package Development > Application Packaging > Platformsdk MSI

Reply
 
LinkBack Thread Tools Display Modes
Old 06-28-2010, 07:01 AM   #1 (permalink)
PS
Guest
 
Posts: n/a
Default MsiDatabaseCommit fails on Windows 7

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.
  Reply With Quote
Old 06-28-2010, 02:01 PM   #2 (permalink)
dblock
Guest
 
Posts: n/a
Default Re: MsiDatabaseCommit fails on Windows 7

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.
  Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 10:51 PM.


vBulletin, Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
2007 - 2012 PackageDeploy.com