I’ve only ever used FinalBuilder to copy files to folders and then compile Innosetup scripts. Well actually I do a bit more than that but I’m trying to keep things simple (and probably failing).
This week I’ve been setting up a FB8 project to build all of the applications first instead of doing it manually. It seems to be working great, except for one thing. When I test the installers, after installing everything one program displays the following error when run:
"Unable to execute file: C:\xxxx\xxxx.exe
CreateProcess failed; code 14001.
The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log or use the command-line sxstrace.exe tool for more detail.
Now the thing is this (and all of the others) is a Delphi 32-bit program. If I build the program manually and then run the installer build scripts, I don’t get the error when it’s been run after the installation. I hope that makes sense because it does sound a bit confusing.
I’m guessing I haven’t set something correctly in FB8, but right now I don’t know what it could be.
This is most likely due to a missing manifest resource - the Delphi IDE automatically adds one to the project.res - FinalBuilder needs a bit of configuration.
Thanks Vincent. If I understand the article correctly, I should set the Manifest option in Delphi to None? So does FB create the manifest file if I check the Manifest checkbox in the FB action? Or do I need to manually create the manifest file?
Sorry for all the questions. I’ve never really played around with manifests before.
You need to create the mainifest file yourself, and point Delphi (select custom manifest) and FinalBuilder to it (make sure you add the manifest file to version control).
Just copy the example in the blog post and edit as needed.
Another question: When Manifest File is set to Auto Generate, there is an option for Enable Runtime Themes. How do I specify this when using a custom Manifest file?
This is in Tokyo 10.2.3 (I have Athens 12.3 but have to upgrade all of my 3rd party components).
No worries, I didn’t even realise it was long weekend - heading off to London tonight (going to DelphiSummit in Amsterdam next week) - been too focused on prepping for the trip.