I am looking at converting our build machines to use Docker images, and although the Delphi compiler has a command line option, the actual installer itself does not seem to, and therefore requires a Windows user interface, meaning it can't be installer into Docker for Windows. Has anyone managed to build a Delphi compiler docker image?
Asked
Active
Viewed 1,415 times
2
-
I have to ask. Why install on docker under windows ? – GuidoG Nov 14 '18 at 09:37
-
2This is for a build machine, the dcc32/64 compiler can be run from the command line, so having non-permanent machines should avoid a permanent VM (Or VMs) having to be provisioned. – Mark Humphreys Nov 14 '18 at 09:57
-
When calling the installer from the command line via `setup LANGUAGE=English USERNAME="" USERCOMPANY="" PERSON_DW32=TRUE PERSON_CPPB=FALSE key1=xxxx key2=xxxxxx key3=xxxxxx key4=xxxx INSTALL_FEATURE_RADCOREBCBW64=FALSE INSTALL_FEATURE_COREOSXW32=FALSE INSTALL_BDE=FALSE INSTALL_FEATURE_DATABASE=FALSE INSTALL_FEATURE_HELPFILES=FALSE INSTALL_FEATURE_IBX=FALSE INSTALL_INTERBASE=FALSE INSTALL_FEATURE_COREMOBILE=FALSE INSTALL_FEATURE_CORBA=FALSE`, it still calls the 'visual installer' – Mark Humphreys Nov 16 '18 at 09:42
-
@Mark Humphreys: Please insert a "/s" separated by a space character right behind the call to SETUP.EXE and in front of the "LANGUAGE=..." parameter. Please see [Setup Command Line Parameters](https://www.installaware.com/flashhelp/setupcommandlineparameters.htm) for more info. And please in the future add the comment to the content that your are referring to, in this case my answer. Thanks. – Olaf Hess Nov 16 '18 at 10:34
1 Answers
1
There is an article Unattended Delphi installation on how to perform an unattended install of Delphi by using command line parameters, meaning that the installation does not require any user input and does not show any GUI. Unfortunately you do not specify which version of Delphi you want to install. If I remember correctly Delphi starting with version 2007 uses InstallAware as its installer. According to the question Can RAD Studio 2007 to XE6 be installed from pure command line? the instructions in the article are still valid for Delphi XE6 and possibly for later versions as well.

Olaf Hess
- 1,453
- 11
- 18