Questions on command line build

Got a problem you cannot solve? Try here.
tzachk
Posts: 171
Joined: Wed Jul 18, 2012 12:14 am

Questions on command line build

Postby tzachk » Wed Feb 20, 2013 4:14 am

Hi Support,

I have the following questions regarding command line build:
- I need the output as msi and not exe. What do I need to run?
- I want the resulting folder to be the one that I've set in /o without the addition of release\single.

Regards,
Tzach

tzachk
Posts: 171
Joined: Wed Jul 18, 2012 12:14 am

Re: Questions on command line build

Postby tzachk » Wed Feb 20, 2013 4:46 am

Another question.

Can I prevent the miabuild.exe from clearing the target folder each time, and overwrite existing file?

Regards,
T.

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

Re: Questions on command line build

Postby FrancescoT » Wed Feb 20, 2013 9:18 am

Dear Tzachk,

I need the output as msi and not exe. What do I need to run?

If you are using InstallAware NX or above, it is possible to generate a MSI file output from command line, passing the pre-defined InstallAware compiler variable "MSI_ALL" as TRUE with the "miabuild.exe" command line tool.

Otherwise, you can use the "pgplwiz.exe" command line tool to convert to MSI a previously generated file with "miabuild.exe".

I want the resulting folder to be the one that I've set in /o without the addition of release\single.

Unless not differently specified using the "miabuild.exe" allowed parameters, it is used the project output setting by default.

Can I prevent the miabuild.exe from clearing the target folder each time, and overwrite existing file?

No you can't.

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

tzachk
Posts: 171
Joined: Wed Jul 18, 2012 12:14 am

Re: Questions on command line build

Postby tzachk » Wed Feb 20, 2013 10:21 am

Thanks.

Tzach

tzachk
Posts: 171
Joined: Wed Jul 18, 2012 12:14 am

Re: Questions on command line build

Postby tzachk » Wed Feb 20, 2013 10:25 am

Hi Francesco,

how do I execute pgplwiz.exe in command line? it always open a dialog.

Regards,
T.

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

Re: Questions on command line build

Postby FrancescoT » Wed Feb 20, 2013 11:37 am

Dear Tzachk,

When launched from command line a progress dialog comes up while running ( ... closed automatically on completion).

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

pwall
Posts: 37
Joined: Fri Nov 11, 2011 11:30 am

Re: Questions on command line build

Postby pwall » Wed May 15, 2013 7:35 am

pgplwiz.exe doesn't seem to understand '/?', it will display a pop-up dialague. So it's guessing at the options to get it right.
Have a look at this thread, another member of the forum gives a great example on how to use pgplwiz.
http://forums.installaware.com/viewtopic.php?f=2&t=1969


Patrick.

pwall
Posts: 37
Joined: Fri Nov 11, 2011 11:30 am

Re: Questions on command line build

Postby pwall » Fri May 17, 2013 8:47 am

Hate to revitalize an old thread, but…..
I’ve gotten the command line interface to build the exe and converit to an msi. Everything works great, except it’s not picking up the version number that I supply via the command line.
Thus, when I install the msi, under ‘Program and Features’, my product is listed with no version.

Here are the commands:
miabuild "C:\InstallAware_Projects\PRODUCT\PRODUCT.mpr" /o="C:\Temp\PRODUCT" /b=1 /r VERSION="1.2.3.40012" Manufacturer="Me"
c:\Program Files (x86)\InstallAware\InstallAware 2012\group policy\pgplwiz.exe" c:\temp\PRODUCT\Release\Single\PRODUCTSetup.exe "ALLUSERS=TRUE" c:\temp\PRODUCT\Release\Single\PRODUCTSetup.msi "PRODUCT Name" 1.2.3.40022


No errors are produced. Product does install.

Thanks!

Patrick.

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

Re: Questions on command line build

Postby FrancescoT » Fri May 17, 2013 11:29 am

Dear Patrick,

Please use a single topic if you want to post the same question.

Anyway, I just replied to the other one ...
http://www.installaware.com/forum/viewtopic.php?f=2&t=1969&p=34985#p34985

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: No registered users and 82 guests