Skip to main content
Version: Next

Sources files

These keys designate the source applications (4D Volume Desktop, 4D Server) and the icons used for the build. They are located under the <SourcesFiles> node, in a <RuntimeVL> sub-node for single-user applications and a <CS> sub-node for client/server applications.

All paths can be absolute or relative to the structure file. An ...IncludeIt key set to True is required for the corresponding application to be included in the build.

Single-user application (RuntimeVL)​

<Preferences4D>
<BuildApp>
<SourcesFiles>
<RuntimeVL>
<RuntimeVLIncludeIt>True</RuntimeVLIncludeIt>
<RuntimeVLWinFolder>C:\4D\4D Volume Desktop\</RuntimeVLWinFolder>
<RuntimeVLIconWinPath>C:\MyApp\MyApp.ico</RuntimeVLIconWinPath>
</RuntimeVL>
</SourcesFiles>
</BuildApp>
</Preferences4D>
KeyValuesDescription
RuntimeVLIncludeItTrue / FalseMust be True to include the 4D Volume Desktop designated by the following keys
RuntimeVLWinFolderPathFolder of 4D Volume Desktop for Windows
RuntimeVLMacFolderPathPackage of 4D Volume Desktop for macOS
RuntimeVLIconWinPathPathApplication icon for Windows (.ico)
RuntimeVLIconMacPathPathApplication icon for macOS (.icns, the info.plist file is updated)
IsOEMTrue / FalseInclude OEM deployment licenses

RuntimeVLWinFolder and RuntimeVLMacFolder are mandatory if BuildApplicationSerialized is True. Otherwise, an error is returned and the build is stopped.

If an icon key is omitted, the default 4D Volume Desktop icon is used. See also Customizing application icons.

Client/server application (CS)​

<Preferences4D>
<BuildApp>
<SourcesFiles>
<CS>
<ServerIncludeIt>True</ServerIncludeIt>
<ServerWinFolder>C:\4D\4D Server\</ServerWinFolder>
<ClientWinIncludeIt>True</ClientWinIncludeIt>
<ClientWinFolderToWin>C:\4D\4D Volume Desktop\</ClientWinFolderToWin>
</CS>
</SourcesFiles>
</BuildApp>
</Preferences4D>

Server​

KeyValuesDescription
ServerIncludeItTrue / FalseMust be True to include the 4D Server designated by the following keys
ServerWinFolderPathFolder of 4D Server for Windows
ServerMacFolderPathFolder of 4D Server for macOS
ServerIconWinPathPathServer icon for Windows (.ico)
ServerIconMacPathPathServer icon for macOS (.icns, the info.plist file is updated)

ServerWinFolder and ServerMacFolder are mandatory if BuildServerApplication is True. Otherwise, an error is returned and the build is stopped.

If an icon key is omitted, the default 4D Server icon is used.

Clients​

The client keys are named according to the platform of the client application (ClientWin..., ClientMac...) and to the platform of the build machine (...ToWin, ...ToMac, ...ForWinPath, ...ForMacPath).

KeyValuesDescription
ClientWinIncludeItTrue / FalseMust be True to include the Windows client designated by ClientWinFolderToWin or ClientWinFolderToMac
ClientWinFolderToWinPath4D Volume Desktop for Windows, when building on Windows
ClientWinFolderToMacPath4D Volume Desktop for Windows or Windows .4darchive file, when building on macOS
ClientMacIncludeItTrue / FalseMust be True to include the macOS client designated by ClientMacFolderToMac or ClientMacFolderToWin
ClientMacFolderToMacPath4D Volume Desktop for macOS, when building on macOS
ClientMacFolderToWinPathmacOS .4darchive file, when building on Windows
ClientWinIconForWinPathPathIcon of the Windows client (.ico), when building on Windows
ClientWinIconForMacPathPathIcon of the Windows client (.ico), when building on macOS
ClientMacIconForWinPathPathIcon of the macOS client (.icns), when building on Windows
ClientMacIconForMacPathPathIcon of the macOS client (.icns), when building on macOS
DatabaseToEmbedInClientWinFolderPathWindows folder containing the compiled structure to embed in a single-user client
DatabaseToEmbedInClientMacFolderPathmacOS folder containing the compiled structure to embed in a single-user client
IsOEMTrue / FalseInclude OEM deployment licenses

If an icon key is omitted, the default 4D Volume Desktop icon is used. See also Selecting client archive for the concurrent platform.

IsOEM​

XML paths
/Preferences4D/BuildApp/SourcesFiles/RuntimeVL/IsOEM
/Preferences4D/BuildApp/SourcesFiles/CS/IsOEM

Values: True / False (default)

If True, the built application (single-user or client/server, depending on the node) includes the OEM deployment licenses. Otherwise, the application is built in demo mode. This key requires an OEM license.