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>
| Key | Values | Description |
|---|---|---|
| RuntimeVLIncludeIt | True / False | Must be True to include the 4D Volume Desktop designated by the following keys |
| RuntimeVLWinFolder | Path | Folder of 4D Volume Desktop for Windows |
| RuntimeVLMacFolder | Path | Package of 4D Volume Desktop for macOS |
| RuntimeVLIconWinPath | Path | Application icon for Windows (.ico) |
| RuntimeVLIconMacPath | Path | Application icon for macOS (.icns, the info.plist file is updated) |
| IsOEM | True / False | Include 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
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).
| Key | Values | Description |
|---|---|---|
| ClientWinIncludeIt | True / False | Must be True to include the Windows client designated by ClientWinFolderToWin or ClientWinFolderToMac |
| ClientWinFolderToWin | Path | 4D Volume Desktop for Windows, when building on Windows |
| ClientWinFolderToMac | Path | 4D Volume Desktop for Windows or Windows .4darchive file, when building on macOS |
| ClientMacIncludeIt | True / False | Must be True to include the macOS client designated by ClientMacFolderToMac or ClientMacFolderToWin |
| ClientMacFolderToMac | Path | 4D Volume Desktop for macOS, when building on macOS |
| ClientMacFolderToWin | Path | macOS .4darchive file, when building on Windows |
| ClientWinIconForWinPath | Path | Icon of the Windows client (.ico), when building on Windows |
| ClientWinIconForMacPath | Path | Icon of the Windows client (.ico), when building on macOS |
| ClientMacIconForWinPath | Path | Icon of the macOS client (.icns), when building on Windows |
| ClientMacIconForMacPath | Path | Icon of the macOS client (.icns), when building on macOS |
| DatabaseToEmbedInClientWinFolder | Path | Windows folder containing the compiled structure to embed in a single-user client |
| DatabaseToEmbedInClientMacFolder | Path | macOS folder containing the compiled structure to embed in a single-user client |
| IsOEM | True / False | Include 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
/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.