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!

DDi
Posts: 17
Joined: Tue Feb 25, 2014 1:22 pm

Error opening file during build with AdvancedInstaller.com

During the build of my MSI I get an exception "Error opening file: .....". I am building the MSI via commandline AdvancedInstaller.com in a scheduled task, so no user interface.

When I build the same MSI with Advanced Installer UI, so having a UI, the MSI builds without any problem.

The 'problem' file can be found and opened at the reported location. I already tried to use a tool to view opened files, but without any results. Disabling virusscanner doesn't help either.

The aip has the following config for the specific file:

- a custom action determines if a certain product is installed
- when this product is installed the file will be placed in this folder
- otherwise the file is placed in our own folder, so that it can be copied to the folder by hand

So the file is added twice to the aip.

Any help is welcome to solve this problem.

PS aip is an AI 8.02 project. Also tried to build it with AI 10
Dan
Posts: 4530
Joined: Wed Apr 24, 2013 3:51 pm

Re: Error opening file during build with AdvancedInstaller.c

Hello and welcome to Advanced Installer forums,

This may happens if you are using files from a per-user location and you are building your project with a schedule task from another account.

If this is not your case, please send us the .AIP (project file) to support at advancedinstaller dot com so we can investigate it? If it contains confidential information you can send us a small test project which reproduce this behavior. Also, tell us which file cannot be found when you get the build error.

Best regards,
Dan
Dan Ghiorghita - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
DDi
Posts: 17
Joined: Tue Feb 25, 2014 1:22 pm

Re: Error opening file during build with AdvancedInstaller.c

The scheduled task has the same user, so that's not the problem. I will send you the .aip file.

Return to “Building Installers”