Page 1 of 2

Error initializing msi database

Posted: Fri Jul 13, 2012 8:14 am
by khalprin
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)

Re: Error initializing msi database

Posted: Fri Jul 13, 2012 10:57 am
by FrancescoT
Dear User,

are you building from IDE or using command line?

Let me know.

Regards

Re: Error initializing msi database

Posted: Fri Jul 13, 2012 12:07 pm
by khalprin
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.

Re: Error initializing msi database

Posted: Fri Jul 13, 2012 12:50 pm
by FrancescoT
Dear User,

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

Regards

Re: Error initializing msi database

Posted: Wed Jul 18, 2012 10:32 am
by khalprin
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?

Re: Error initializing msi database

Posted: Wed Jul 18, 2012 11:25 am
by FrancescoT
Dear User,

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

Let me know.

Regards

Re: Error initializing msi database

Posted: Wed Jul 18, 2012 2:03 pm
by khalprin
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)

Re: Error initializing msi database

Posted: Thu Jul 19, 2012 7:43 am
by FrancescoT
Can you contact me at: support@installaware.com?

Regards

Re: Error initializing msi database

Posted: Fri Jul 20, 2012 7:01 am
by Adam
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

Re: Error initializing msi database

Posted: Fri Jul 20, 2012 7:14 am
by khalprin
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.

Re: Error initializing msi database

Posted: Fri Jul 20, 2012 7:25 am
by FrancescoT
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

Re: Error initializing msi database

Posted: Mon Jul 23, 2012 3:19 am
by Adam
Hi Francisco

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

Cheers
Adam

Re: Error initializing msi database

Posted: Mon Jul 23, 2012 9:14 am
by FrancescoT
I will try to replicate it!

Re: Error initializing msi database

Posted: Tue Dec 18, 2012 1:29 pm
by rpmtec
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!

Re: Error initializing msi database

Posted: Wed Dec 19, 2012 10:30 am
by FrancescoT
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