IA-2012 Cmd-Line ERROR Run IA-9 Project - MSI DB Init Fail?

Got a problem you cannot solve? Try here.
pointeman
Posts: 59
Joined: Thu Feb 21, 2008 8:12 pm

IA-2012 Cmd-Line ERROR Run IA-9 Project - MSI DB Init Fail?

Post by pointeman »

I'm receiving different IA_2012 command-line ERROR now. This time it fails to initialize the MSI database:

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

Note:
1. Again I'm able to successfully build this project using IA-2012 GUI.
2. The build directory drive is "E:\" (external USB drive).
3. All directories are the same for both GUI and Command-line build.

[DOS bat file]
CD "C:\Program Files (x86)\InstallAware\InstallAware 2012\"
miabuild.exe "E:\My Documents\InstallAware\2012\ProjectXFile.mpr"
giaviv
Posts: 2039
Joined: Fri Dec 17, 2010 1:39 pm

Re: IA-2012 Cmd-Line ERROR Run IA-9 Project - MSI DB Init Fa

Post by giaviv »

Hi,

Does relocating the project to a permanent drive solve the issue?
Aviv Giladi
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
pointeman
Posts: 59
Joined: Thu Feb 21, 2008 8:12 pm

Re: IA-2012 Cmd-Line ERROR Run IA-9 Project - MSI DB Init Fa

Post by pointeman »

No. I tried that idea too. I'm wondering if it has anything to do with this post: http://www.installaware.com/forums/view ... f=2&t=7955

Also built a new project with IA-2012:
- It fails using Command-Line build.
- It builds successfully using GUI.

I don't get it.
giaviv
Posts: 2039
Joined: Fri Dec 17, 2010 1:39 pm

Re: IA-2012 Cmd-Line ERROR Run IA-9 Project - MSI DB Init Fa

Post by giaviv »

Hi,

Could you please attach a reproducing project here?
Aviv Giladi
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Bill Stephens
Posts: 10
Joined: Fri Jan 06, 2012 10:29 am

Re: IA-2012 Cmd-Line ERROR Run IA-9 Project - MSI DB Init Fa

Post by Bill Stephens »

Any update on this? I have the exact same issue after upgrading from 9r2 Studio to 2012 Studio. Thanks.
Attachments
Screen shot. Drive 'v' is mapped to a different computer that has IA v9 installed. Drive 'c' is a local drive w/IA v2012.
Screen shot. Drive 'v' is mapped to a different computer that has IA v9 installed. Drive 'c' is a local drive w/IA v2012.
miabuild1.jpg (199.21 KiB) Viewed 46069 times
pointeman
Posts: 59
Joined: Thu Feb 21, 2008 8:12 pm

Re: IA-2012 Cmd-Line ERROR Run IA-9 Project - MSI DB Init Fa

Post by pointeman »

Your having the same problem I see. We depend heavily on the command-line feature of InstallAware. Been Using Vista Business x64 and IA-9 Studio successfully until we upgraded to IA-2012 Studio about one month ago, big heartache. Support has been working on this for weeks now without any solution. Stay tuned-in here and pray for a solution soon. We're stuck in the mud until it's fixed.

Q. What OS are you using?
Bill Stephens
Posts: 10
Joined: Fri Jan 06, 2012 10:29 am

Re: IA-2012 Cmd-Line ERROR Run IA-9 Project - MSI DB Init Fa

Post by Bill Stephens »

Windows 2008 Sp2 (64bit)

I get the same 'unable to initialize' error if I try building from inside the IDE when the IDE was opened by double-clicking the .mpr file. If I open the project from inside the IDE then it builds fine. I even tried creating a new Basic Setup using the IA 2012 Example Projects template -- same results.
pointeman
Posts: 59
Joined: Thu Feb 21, 2008 8:12 pm

Re: IA-2012 Cmd-Line ERROR Run IA-9 Project - MSI DB Init Fa

Post by pointeman »

Q. What Windows Operating System (OS) are you using?
Bill Stephens
Posts: 10
Joined: Fri Jan 06, 2012 10:29 am

Re: IA-2012 Cmd-Line ERROR Run IA-9 Project - MSI DB Init Fa

Post by Bill Stephens »

I'm using Windows 2008 Sp2 (64bit).
Bill Stephens
Posts: 10
Joined: Fri Jan 06, 2012 10:29 am

Re: IA-2012 Cmd-Line ERROR Run IA-9 Project - MSI DB Init Fa

Post by Bill Stephens »

Bump ^^^^^^^^
fticcheng
Posts: 3
Joined: Fri May 01, 2009 11:54 am

Re: IA-2012 Cmd-Line ERROR Run IA-9 Project - MSI DB Init Fa

Post by fticcheng »

Not exactly the same, but I am encountering this error as well in IA 2012. It is my first time using command prompt build and here is my screenshot.

My OS is Windows 7 (x64). Any advice would be appreciated.

Thanks.
Attachments
IA Build error.jpg
IA Build error.jpg (69 KiB) Viewed 45942 times
giaviv
Posts: 2039
Joined: Fri Dec 17, 2010 1:39 pm

Re: IA-2012 Cmd-Line ERROR Run IA-9 Project - MSI DB Init Fa

Post by giaviv »

Hi,

Could you please attach a reproducing project?
Aviv Giladi
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Bill Stephens
Posts: 10
Joined: Fri Jan 06, 2012 10:29 am

Re: IA-2012 Cmd-Line ERROR Run IA-9 Project - MSI DB Init Fa

Post by Bill Stephens »

Hi Aviv, thanks for looking at this.

You can just create a new Basic Setup using the IA 2012 Example Projects template and try building it from the command line. This should produce the error.
giaviv
Posts: 2039
Joined: Fri Dec 17, 2010 1:39 pm

Re: IA-2012 Cmd-Line ERROR Run IA-9 Project - MSI DB Init Fa

Post by giaviv »

Hi Bill,

You report DOES NOT reproduce an issue on my IA 2012. Attached is the Basic Setup project that builds just fine from the command line.
Could you please attach the project you are testing with?
Aviv Giladi
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help -F1 anywhere in the InstallAware IDE
Bill Stephens
Posts: 10
Joined: Fri Jan 06, 2012 10:29 am

Re: IA-2012 Cmd-Line ERROR Run IA-9 Project - MSI DB Init Fa

Post by Bill Stephens »

I've attached a setup project created from the IA12 Basic Setup template. It builds successfully from within the IDE but fails when trying to build from the command line. (I did not see your attached project.)
Attachments
Screenshot of command line build failure.
Screenshot of command line build failure.
IA12.jpg (99.22 KiB) Viewed 45823 times
BasicSetup.zip
Default project from Basic Setup template.
(474.01 KiB) Downloaded 1553 times
Post Reply