UI Build completes successfully, but command line does not

Got a problem you cannot solve? Try here.
cati-Jason
Posts: 8
Joined: Thu Jan 19, 2012 10:09 am

UI Build completes successfully, but command line does not

Postby cati-Jason » Thu Mar 20, 2014 7:34 am

UI Build completes successfully, but command line does not

We recently upgraded to Installaware 18 and have completed most of our changes for doing direct deploy. On our build machine (server 2008) I am able to build the installer within the InstallAware UI without issue, however issuing the command line build (which we have done for years) fails with: Error during build: Access violation at address 00000000. Write of address 00000000

In order to troubleshoot I temporarily installed on a different machine and could do both UI and CMD line successfully (I am admin on both). I determined that on the build machine the command line build was failing after it copied all of the files.. the next step that wold normally be written out is related to the install fonts plug-in (but it never shows that line). I've re-installed Installaware several times as well as the MD-Plugins (and rebooted), I also copied over the InstallAware directory from the machine that worked over to the build machine with no change in result.

I guess I'm stumped, it doesn't make much sense to me that the UI works, but the command line doesn't. Any help or pointers would be appreciated.
Thanks,
Jason

bokkie
Posts: 767
Joined: Sun Feb 08, 2009 6:30 am

Re: UI Build completes successfully, but command line does n

Postby bokkie » Thu Mar 20, 2014 9:18 am

Jason,

Does the command line build work if you create a new project, out of the box as it were, using one of the IA templates?

That is, no need to add anything of your own to it, just build it in the IDE and build it using miabuild. Does that work?

There's something about an access violation message that stirs a distant memory, like a problem within an MSIcode script but I may be having a "senior moment". :D
Peter. Smartly dressed, he still resembles an unmade bed.
InstallAware MVP

cati-Jason
Posts: 8
Joined: Thu Jan 19, 2012 10:09 am

Re: UI Build completes successfully, but command line does n

Postby cati-Jason » Thu Mar 20, 2014 9:54 am

Ok, so doing a brand new one works for command line and UI on that machine.. hmm. let me play around with altering the content of the installer, and if I don't get anywhere there, then I'll go over the MSI script to see what might cause the issue.

cati-Jason
Posts: 8
Joined: Thu Jan 19, 2012 10:09 am

Re: UI Build completes successfully, but command line does n

Postby cati-Jason » Thu Mar 20, 2014 10:44 am

Here's some new info, I rolled back my code from source control to a year ago. At that time we were using Installaware 2012, and could do command line builds on this machine without issue. We received the same error: "Error during build: Access violation at address 00000000. Write.."

Is it possible we have a script upgrade issue that's only presenting its-self on this machine and only while doing the miabuild.exe command line build?

Thanks,
Jason

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

Re: UI Build completes successfully, but command line does n

Postby FrancescoT » Thu Mar 20, 2014 11:24 am

Dear Jason,

In all honesty, I've never had a similar experience.

Are you sure that script file doesn't get corrupted for some mysterious reasons?

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

cati-Jason
Posts: 8
Joined: Thu Jan 19, 2012 10:09 am

Re: UI Build completes successfully, but command line does n

Postby cati-Jason » Thu Mar 20, 2014 11:50 am

I can't imagine how, since I can go back and forth between the UI and the cmd line and the UI still works.. but at this point I won't rule anything out. My path forward is to go back a couple service releases to emulate the same upgrade path the our development machine went through. I'm clearing everything off the build machine and starting from nil. Will keep you updated if I figure this one out.
Thanks

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

Re: UI Build completes successfully, but command line does n

Postby FrancescoT » Thu Mar 20, 2014 12:56 pm

Dear Jason,

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

cati-Jason
Posts: 8
Joined: Thu Jan 19, 2012 10:09 am

Re: UI Build completes successfully, but command line does n

Postby cati-Jason » Thu Mar 20, 2014 3:53 pm

Francesco,

So far no luck with couple different other tries.. since things work in the UI, I'm trying to figure out if it is somehow running in a different context than the command line. Is it safe to assume that the UI also uses the miabuild.exe executable to perform it's build? I'm trying to establish what is constant vs. variable between the two.
Thanks,
Jason

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

Re: UI Build completes successfully, but command line does n

Postby FrancescoT » Fri Mar 21, 2014 12:48 pm

Dear Jason,

... Is it safe to assume that the UI also uses the miabuild.exe executable to perform it's build?

Yes, the same miabuild.exe executable is used by the UI as well ... so this is why, it seems strange the issue you are having.

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

cati-Jason
Posts: 8
Joined: Thu Jan 19, 2012 10:09 am

Re: UI Build completes successfully, but command line does n

Postby cati-Jason » Sun Mar 23, 2014 6:32 pm

It still doesn't work from a command prompt for some reason, but it does work ok as a visual studio project post build command.. That's good enough for now.
Thanks,
Jason


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 40 guests