Command line build with 8.8.x and 8.9 not working - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

mrudolph
Posts: 25
Joined: Fri May 22, 2009 6:30 pm

Command line build with 8.8.x and 8.9 not working

We have a nightly build process that includes creating three installers. With version 8.7.1, this worked. With 8.8.x and 8.9 this fails, here are the commands we run:
%ADVANCEDINSTALLER% /edit %RELEASE_TAGPROJECTFILE% /SetProperty ProductName="Foo (Prototype)" > %ADVANCEDINSTALLEROUT%
%ADVANCEDINSTALLER% /build %RELEASE_TAGPROJECTFILE% -buildslist Foo -force > %ADVANCEDINSTALLEROUT%

%ADVANCEDINSTALLER% /edit %RELEASE_TAGPROJECTFILE% /SetProperty ProductName="Foo2 (Prototype)" > %ADVANCEDINSTALLEROUT%
%ADVANCEDINSTALLER% /build %RELEASE_TAGPROJECTFILE% -buildslist Foo2 -force > %ADVANCEDINSTALLEROUT%

%ADVANCEDINSTALLER% /edit %RELEASE_TAGPROJECTFILE% /SetProperty ProductName="Foo3 (Prototype)" > %ADVANCEDINSTALLEROUT%
%ADVANCEDINSTALLER% /build %RELEASE_TAGPROJECTFILE% -buildslist Foo3 -force > %ADVANCEDINSTALLEROUT%

I have tried variations of the including removing -force among others but I get the same results. When I run the /build, the dialog below is the result. FWIW, it takes a while to get it to fail meaning it must be almost complete with creating the package and then it crashes. Building from the UI works as expected.
Graphic of failure dialog.
Graphic of failure dialog.
AdvInstFailure.PNG (18.57 KiB) Viewed 4784 times
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Command line build with 8.8.x and 8.9 not working

Hello,

In order to perform a clean rebuild can you please try the /rebuild command and see the outcome?

Code: Select all

[<path>\]AdvancedInstaller.com /rebuild [project_file_path] 
  { [-buildslist <builds_list>] | [-configurationslist <configurations_list>] }
The -force parameter has been deprecated.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
mrudolph
Posts: 25
Joined: Fri May 22, 2009 6:30 pm

Re: Command line build with 8.8.x and 8.9 not working

The outcome is the same.

As I said, I tried removing the deprecated parameter -force but the results did not change. Here are the commands I tried:

%ADVANCEDINSTALLER% /edit %RELEASE_TAGPROJECTFILE% /SetProperty ProductName="Foo (Prototype)" -buildname Foo > %ADVANCEDINSTALLEROUT%
%ADVANCEDINSTALLER% /rebuild %RELEASE_TAGPROJECTFILE% -buildslist Foo > %ADVANCEDINSTALLEROUT%
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Command line build with 8.8.x and 8.9 not working

Hello,

Indeed you are right sorry for missing that.

I have tested this scenario and unfortunately cannot replicate the issue. Can you please copy-paste the stack trace and send it to us. Starting with 8.9 we can better interpret this kind of errors.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
mrudolph
Posts: 25
Joined: Fri May 22, 2009 6:30 pm

Re: Command line build with 8.8.x and 8.9 not working

In my first post I posted a graphic. Is there some other graphic or debug information that I should turn on to get a more meaningful stack trace?
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Command line build with 8.8.x and 8.9 not working

Just use the "Copy" button on the error dialog and paste the content in an e-mail addressing support at advancedinstaller dot com.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
mrudolph
Posts: 25
Joined: Fri May 22, 2009 6:30 pm

Re: Command line build with 8.8.x and 8.9 not working

I have sent the email as requested.

Return to “Common Problems”