Error during build: Unable to build setup files: Operation cancelled

Got a problem you cannot solve? Try here.
Mord
Posts: 8
Joined: Sun Mar 11, 2018 8:52 am

Error during build: Unable to build setup files: Operation cancelled

Postby Mord » Wed Jul 28, 2021 4:03 am

Dear Help
I have this error message : "Error during build: Unable to build setup files: Operation cancelled" Once I tried to build from external command via Jenkins or any other cmd software. I'm using InstallawareX13 admin version
Thanks
Mor

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

Re: Error during build: Unable to build setup files: Operation cancelled

Postby FrancescoT » Wed Jul 28, 2021 1:23 pm

Dear Mor,

I don't think the problem depends on "miabuild" tool.

By the way, does the build complete successfully when invoking "miabuild.exe" from command line?
For example: miabuild.exe <projectfile>
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

Mord
Posts: 8
Joined: Sun Mar 11, 2018 8:52 am

Re: Error during build: Unable to build setup files: Operation cancelled

Postby Mord » Thu Sep 02, 2021 10:12 am

Yes it's working from the CMD but to not from Jenkins
Injected runtime files
Compressing Album\21413AFD\7D4F914\CopyMaster.ini
Compressing Microsoft Visual C++ Runtime 14.0 update 1 (x64)\mFileBagIDE.dll\8CEEA2FA\VC_redist.x64.exe
Compressing Microsoft Windows Installer 3.1\mWinRun.dll\ansi\msiexec.exe
Compressing USTER® EVS FABRIQ SHADE\51E1C1A9\9D2BE839\Styles.Def
Compressing Microsoft Windows Installer 3.1\mWinRun.dll\ansi\instmsi.msi
Error during build: Unable to build setup files: Operation cancelled...

Mord
Posts: 8
Joined: Sun Mar 11, 2018 8:52 am

Re: Error during build: Unable to build setup files: Operation cancelled

Postby Mord » Sun Oct 24, 2021 7:57 am

Any other option?

I still have this problem

Error during build: Unable to build setup files:

Build failed


The problem does not happen all the time, but many times during build it happens. I run the build again or twice and then it builds without a problem

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

Re: Error during build: Unable to build setup files: Operation cancelled

Postby FrancescoT » Mon Oct 25, 2021 2:29 pm

As already said and for whar you are reporting, the problem doesn't depend on miabuild.exe.

It may be possible that when invoked via Jenkins, the tool fails to resolve system environment variable or project directories.

Then due the discontinuous behaviors, do you have any Third Party Anti Virus installed on your build machine?
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

Mord
Posts: 8
Joined: Sun Mar 11, 2018 8:52 am

Re: Error during build: Unable to build setup files: Operation cancelled

Postby Mord » Thu Oct 28, 2021 3:19 am

Dear Francesco,

I can reprodcue the problem also from the installaware program and not only from external
To reprodce,:
1 press on build as one file (commpress to one msi file)
2. it's stuck with the error Unable to build setup files: during the compressing process

""""
Compressing EVSNEWInstall.msi
Error during build: Unable to build setup files: Operation cancelled

Build failed

Process completed with exit code 1
28/10/2021 00:37:53: Step 'InstallAware complete build' failed
28/10/2021 00:37:53: Build ended (elapsed = 00:08:38).

"""""
3. It always happand during the compressing , any time it's stuck in a diffrent compressing level
4. Once I press to rebuild it (for one msi file like step 1) can solved the problem

What should I do to pass the compression in one time only ? What i'm doing wrong

Regards

Mor

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

Re: Error during build: Unable to build setup files: Operation cancelled

Postby FrancescoT » Fri Oct 29, 2021 2:07 pm

Then due the discontinuous behaviors, do you have any Third Party Anti Virus installed on your build machine?
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 37 guests