Build: "File could not be read" - 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!

RedDrago
Posts: 33
Joined: Thu Jan 19, 2012 9:23 am

Build: "File could not be read"

Hello,

almost every single time I try to build the setup, I get the following message:
File "...\AppData\Local\Temp\sqlE87F.tmp" could not be read.
Build finished because an error was encountered.

This error occurs only when the Action 'Adding "AI_SQLScript" table rows' is beeing performed.

I'am able to build the setup after several attemps. But where does this problem come from? On my old computer, I did not have that problem.

Best regards,
Tobias
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Build: "File could not be read"

Hi Tobias,

Our application creates that file and uses it during build from the temporary location. I am not sure why the file isn't available everytime on that machine.

Can you please check for any antivirus or such software that may interact with that file upon build on that machine? Also, can you try building using another user account?
If the above don't prove conclusive, I recommend you try to build on another machine.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
RedDrago
Posts: 33
Joined: Thu Jan 19, 2012 9:23 am

Re: Build: "File could not be read"

Hello Mihai,
mihai.petcu wrote:Can you please check for any antivirus or such software that may interact with that file upon build on that machine?
I didn't expect my antivirus software could be the culprit. We are using Kaspersky, and after deactivating the software, I was able to build the setup without any problems.
Either way I have to deactivate Kaspersky or find a way to configurate it in a way, so that it does not causing any trouble.

Is there a way to tell AI where the tmp-files should be created?

Thanks so far,
Tobias
mihai.petcu
Posts: 3860
Joined: Thu Aug 05, 2010 8:01 am

Re: Build: "File could not be read"

Hi Tobias,
Either way I have to deactivate Kaspersky or find a way to configurate it in a way, so that it does not causing any trouble.
Unfortunately this is beyond our reach, you will have to contact Kaspersky support on this.
Is there a way to tell AI where the tmp-files should be created?
I'm afraid not, temporary files are created in the Temporary folder.

All the best,
Mihai
Mihai Petcu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
RedDrago
Posts: 33
Joined: Thu Jan 19, 2012 9:23 am

Re: Build: "File could not be read"

Hello Mihai,

in the end it was, as usual, more simple than it looked like.
I just had to add AI to the trusted applications.

Thanks,
Tobias

Return to “Common Problems”