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?

Postby pointeman » Mon Dec 26, 2011 1:41 pm

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

Postby giaviv » Mon Dec 26, 2011 10:36 pm

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

Postby pointeman » Tue Dec 27, 2011 11:46 am

No. I tried that idea too. I'm wondering if it has anything to do with this post: viewtopic.php?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

Postby giaviv » Tue Dec 27, 2011 6:49 pm

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

Postby Bill Stephens » Fri Jan 06, 2012 10:48 am

Any update on this? I have the exact same issue after upgrading from 9r2 Studio to 2012 Studio. Thanks.
Attachments
miabuild1.jpg
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 33616 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

Postby pointeman » Fri Jan 06, 2012 1:37 pm

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

Postby Bill Stephens » Fri Jan 06, 2012 2:00 pm

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

Postby pointeman » Fri Jan 06, 2012 6:00 pm

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

Postby Bill Stephens » Mon Jan 09, 2012 1:47 pm

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

Postby Bill Stephens » Tue Jan 17, 2012 3:58 pm

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

Postby fticcheng » Thu Jan 19, 2012 11:00 am

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 33489 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

Postby giaviv » Mon Jan 30, 2012 12:13 am

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

Postby Bill Stephens » Wed Feb 01, 2012 10:52 am

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

Postby giaviv » Wed Feb 01, 2012 12:56 pm

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

Postby Bill Stephens » Wed Feb 01, 2012 3:35 pm

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
IA12.jpg
Screenshot of command line build failure.
IA12.jpg (99.22 KiB) Viewed 33370 times
BasicSetup.zip
Default project from Basic Setup template.
(474.01 KiB) Downloaded 893 times


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 71 guests