We have a product that we use Advanced Installer to build the installation package for. However, we have stumbled upon a problem that we cannot seem to solve by our own.
Our process looks (in short) like this:
- Checkout from Git (where also the .aip file is located)
- Build (and test) the solution
- Generate resource files
- Build setup (using AI command line)
- Publish
I tested to do a full build. Then I logged on manually into the build server and opened the gui for AI. I then did a rebuild of the setup process, which rendered in the same result. On whim, I removed the Italian files and added them again, and then did a rebuild. To my surprise, then everything are included as it should. Happy to having solved it, i pushed the new .aip file to the repository and did a new full build. Unfortunately this did not solve the automatic build. Each time I did rebuild after I removed and readded the missing files, everything worked, though.
I have looked through the command line api, and found that I could remove the files and add them again in the script. However, I consider this to be a last resort, so I haven't tested if it works yet. If some filenames are changed, or files are added or removed, this will break the script. I could not either find a way to remove files using wild cards, even though it's just the lesser of two evils doing this by folder instead of file by file.
So, finally, my questions:
- Has anyone else encountered this problem?
- Does anyone have some tips on how to proceed?
- Does anyone have a pointer or two onto where we might have made a wrong turn or so?