tjasher
Posts: 4
Joined: Thu Mar 23, 2023 12:49 pm

Error building installs. Unable to open temp file

Fri Mar 24, 2023 6:14 pm

I'm on day two of evaluating advanced installer.

I build the first two demo installs and part way through the second install I suddenly cannot build.

I keep getting errors that a file in my temp folder cannot be opened.

Error opening file: "C:\Users\xxxx\AppData\Local\Temp\BUI8846.tmp\AFTCEA4.exe".

or another installer build thows this:

File "C:\InstallerTests\ProfessionalTutorial\ProfessionalTutorial-cache\part1\MyPackageName1.cab" could not be read.

Nothing will build now.

Any ideas here? Honestly not looking great from an eval point of view.

Regards,
TJ

Liviu
Posts: 1035
Joined: Tue Jul 13, 2021 11:29 am
Contact:  Website

Re: Error building installs. Unable to open temp file

Tue Mar 28, 2023 11:29 am

Hello TJ,

This problem may appear if an antivirus software or another application blocks the installer build process. Can you try to disable the antivirus from your machine and see if the problem persists?

You can also try the solutions below:

- make sure the EXE file is not kept in use by another process
- make sure the output folder is not open during the build process
- make sure the output folder does not require special writing permissions
- go in the "Builds" page of your project and change the output folder to another drive (e.g. D:\MyFolder)

Just let me know if any of the above solutions worked.

Best regards,
Liviu
________________________________________
Liviu Sandu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”