Page 1 of 1

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

Posted: Wed Jul 28, 2021 4:03 am
by Mord
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

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

Posted: Wed Jul 28, 2021 1:23 pm
by FrancescoT
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>

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

Posted: Thu Sep 02, 2021 10:12 am
by Mord
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...

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

Posted: Sun Oct 24, 2021 7:57 am
by Mord
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

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

Posted: Mon Oct 25, 2021 2:29 pm
by FrancescoT
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?

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

Posted: Thu Oct 28, 2021 3:19 am
by Mord
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

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

Posted: Fri Oct 29, 2021 2:07 pm
by FrancescoT
Then due the discontinuous behaviors, do you have any Third Party Anti Virus installed on your build machine?