Error initializing msi database

Got a problem you cannot solve? Try here.
khalprin
Posts: 46
Joined: Fri Aug 25, 2006 2:02 pm

Error initializing msi database

Postby khalprin » Fri Jul 13, 2012 8:14 am

I get this error when trying to build my project. I just upgraded from Installaware 9R2 to Installaware 2012. I have another project that builds without error using Intallaware 2012. The issue is not a permissions problem (I have full permission to all project-related folders) and 9R2 could build the project in same location (and while logged in as the same user). Any ideas what might cause this?

Building Project: <name>
Output Folder: <snip>\Release\SingleDeployment Type: Compressed Single Self Installing EXE
Code Signing: Enabled
Compression: Best
Compiler Variables: UAC=requireAdministrator,INSTALLAWARE_DRM_LAUNCHES=FALSE,INSTALLAWARE_DRM_DAYSRELATIVE=TRUE,INSTALLAWARE_DRM_DAYSABSOLUTE=FALSE,INSTALLAWARE_DRM_DAYS=FALSE,INSTALLAWARE_DRM_YEAR=2012,INSTALLAWARE_DRM_MONTH=7,INSTALLAWARE_DRM_DAY=13,INSTALLAWARE_DRM_EXPIREUSAGE=FALSE,INSTALLAWARE_DRM_EXPIREFIXED=FALSE,BUILDMODE=SFX,"LANGUAGE=English","TITLE=<name>",TARGETDIR=$TARGETDIR$,IADIR=C:\PROGRA~2\INSTAL~2\INSTAL~1,PROJDIR=<snip>,IAVER=13.00
###
Cleared output folder <snip>\Release\SingleError during build: Unable to initialize MSI database, recommend IDE restart (or verify build folder permissions)

FrancescoT
Site Admin
Posts: 5360
Joined: Sun Aug 22, 2010 4:28 am

Re: Error initializing msi database

Postby FrancescoT » Fri Jul 13, 2012 10:57 am

Dear User,

are you building from IDE or using command line?

Let me know.

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

khalprin
Posts: 46
Joined: Fri Aug 25, 2006 2:02 pm

Re: Error initializing msi database

Postby khalprin » Fri Jul 13, 2012 12:07 pm

I'm building from the IDE. Here's more information...I've now gotten this to build a couple of times with no apparent change to anything in the project (and definitely no change in permission settings). I don't know what makes it work or what makes it fail.

FrancescoT
Site Admin
Posts: 5360
Joined: Sun Aug 22, 2010 4:28 am

Re: Error initializing msi database

Postby FrancescoT » Fri Jul 13, 2012 12:50 pm

Dear User,

Let me know if you still have problem or if you have more info to share.

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

khalprin
Posts: 46
Joined: Fri Aug 25, 2006 2:02 pm

Re: Error initializing msi database

Postby khalprin » Wed Jul 18, 2012 10:32 am

It's back!

I open the IDE, click to Build Single File and I get the same error as before. No permission changes, no changes to the project. What can I do to resolve this?

FrancescoT
Site Admin
Posts: 5360
Joined: Sun Aug 22, 2010 4:28 am

Re: Error initializing msi database

Postby FrancescoT » Wed Jul 18, 2012 11:25 am

Dear User,

Which OS are you using?
Can you post the build log file?

Let me know.

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

khalprin
Posts: 46
Joined: Fri Aug 25, 2006 2:02 pm

Re: Error initializing msi database

Postby khalprin » Wed Jul 18, 2012 2:03 pm

I'm using 2008 Server service pack 2.
Is the build log what shows up in the window while building..or is there a file?

Here's what is in the window:

Building Project: <snip>
Output Folder: <snip>\Release\SingleDeployment Type: Compressed Single Self Installing EXE
Code Signing: Enabled
Compression: Best
Compiler Variables: UAC=requireAdministrator,INSTALLAWARE_DRM_LAUNCHES=FALSE,INSTALLAWARE_DRM_DAYSRELATIVE=TRUE,INSTALLAWARE_DRM_DAYSABSOLUTE=FALSE,INSTALLAWARE_DRM_DAYS=FALSE,INSTALLAWARE_DRM_YEAR=2012,INSTALLAWARE_DRM_MONTH=7,INSTALLAWARE_DRM_DAY=13,INSTALLAWARE_DRM_EXPIREUSAGE=FALSE,INSTALLAWARE_DRM_EXPIREFIXED=FALSE,BUILDMODE=SFX,"LANGUAGE=English","TITLE=<snip>",TARGETDIR=$TARGETDIR$,IADIR=C:\PROGRA~2\INSTAL~2\INSTAL~1,PROJDIR=<snip>\DOCUME~1\INSTAL~1\COMMUN~1,IAVER=13.00
###
Cleared output folder <snip>\Release\SingleError during build: Unable to initialize MSI database, recommend IDE restart (or verify build folder permissions)

FrancescoT
Site Admin
Posts: 5360
Joined: Sun Aug 22, 2010 4:28 am

Re: Error initializing msi database

Postby FrancescoT » Thu Jul 19, 2012 7:43 am

Can you contact me at: support@installaware.com?

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

Adam
Posts: 26
Joined: Tue Jul 10, 2012 5:28 am

Re: Error initializing msi database

Postby Adam » Fri Jul 20, 2012 7:01 am

Hi Khalprin

I have the same issue. All you need to do after opening IDE is click Open, then reopen your project. It will build after that.

It seems to be a problem when IDE starts with a project already loaded.

Note: It doesn't happen every time, but when it does I just save and reopen it.

Cheers
Adam

khalprin
Posts: 46
Joined: Fri Aug 25, 2006 2:02 pm

Re: Error initializing msi database

Postby khalprin » Fri Jul 20, 2012 7:14 am

Wow - that trick appears to work for me too. I repeated this procedure three times in a row:

Open InstallAware - my project opens automatically.
Build - error
Open my project again (select cancel when asked to save [why is it asking to save anyway?])
Build - success

Thanks.

FrancescoT
Site Admin
Posts: 5360
Joined: Sun Aug 22, 2010 4:28 am

Re: Error initializing msi database

Postby FrancescoT » Fri Jul 20, 2012 7:25 am

Thanks Adam ... this is interesting.

Are you using the same OS (Win 2008 Server)?

I would like to replicate if possible.

Let me know.

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

Adam
Posts: 26
Joined: Tue Jul 10, 2012 5:28 am

Re: Error initializing msi database

Postby Adam » Mon Jul 23, 2012 3:19 am

Hi Francisco

Yep - I'm running it on 2008 Standard as well.

Cheers
Adam

FrancescoT
Site Admin
Posts: 5360
Joined: Sun Aug 22, 2010 4:28 am

Re: Error initializing msi database

Postby FrancescoT » Mon Jul 23, 2012 9:14 am

I will try to replicate it!
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

rpmtec
Posts: 1
Joined: Tue Sep 25, 2012 9:20 am

Re: Error initializing msi database

Postby rpmtec » Tue Dec 18, 2012 1:29 pm

Has there been any progress on this? We have recently upgraded from v9 to v12 and encountering the same issues running MIABUILD.exe.

Building the project via the IDE works when using the "Open" menu but this is not a viable solution to the problem as it requires human intervention. I have attempted this with both our existing MPR files and newly built projects with the exact same result.

I was wondering if this is possibly caused by some environment settings.

Code: Select all

D:\Build>miabuild /b=1 "D:\Path\to\The.mpr"


Code: Select all

Error during build: Unable to initialize MSI database, recommend IDE restart (or verify build folder permissions)


We are running on Windows Vista Business

Thanks!

FrancescoT
Site Admin
Posts: 5360
Joined: Sun Aug 22, 2010 4:28 am

Re: Error initializing msi database

Postby FrancescoT » Wed Dec 19, 2012 10:30 am

Dear User,

I have executed a test to try to replicate your issue, but using my test environment works fine.

Just a question, are you using IA 12 or 2012?

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE


Return to “Technical Support”

Who is online

Users browsing this forum: Baidu [Spider] and 52 guests