I encountered strange behaviour when using Install File command. What I want to do is:
- install Firebird,
override two .conf files.
- install Firebird,
override only databases.conf file.
I run installer from InstallAware Studio (quite old version, InstallAware 2012 with runtimes, Build Moooya 9.26.11), or manually from Output Folder.
I tried to install them in different order, but it didn't change a thing.
I tested running those commands without installing Firebird (and having wrong .conf files in place), and it worked like a charm. Firebird installer is made with InnoSetup, but it's execution is supposed to be completed since InstallAware is ordered to wait until completion, so I don't expect problems from that side (maybe wrongly?).
I tried to delete those files in target directory after Firebird installation and before installing my versions, but again, it didn't change a thing.
I can manually override those files after agreeing to use Admin priviliges, which installer should already have.
I checked many times if firebird.conf I try to install is the right one - I copied path from IA project and opend the file - it's content is corrrect.
Code: Select all
if Variable FB_64_BIT Equals TRUE
Set Variable PROGRESS to 70
Run Program $SUPPORTDIR$\Firebird-4.0.0.2496-1-x64.exe $CMD_PARAMS$ (WAIT, get result into variable FIREBIRD_INSTALLATION_RESULT)
if Variable FIREBIRD_INSTALLATION_RESULT not Equals 0
MessageBox: Informacja, Instalacja Firebird nie powiodła się i zakończyła kodem $FIREBIRD_INSTALLATION_RESULT$.
else
Install Files C:\Projects\Product\install\IA\Firebird\Firebird_4_0_configi\databases.conf to $FB_TARGETDIR$
Install Files C:\Projects\Product\install\IA\Firebird\Firebird_4_0_configi\firebird.conf to $FB_TARGETDIR$
end
Set Variable PROGRESS to 90
end
...
Apply Install (get result into variable SUCCESS)
I am puzzled what more can I try to overcome this issue.
I don't think trying to write a plug-in that would override those configs (or edit them) is the right call, since it might take some time and might still prove fruitless. But it is the only path I can see.
So all in all I am looking for your educated guesses what might be preventing my version of firebird.conf from being installed.