Load

The load section is used to specify where the external libraries should be loaded from. The default location is to use the default PATH environment variable, but this will allow more control.

[Load]
:AssumePathExist=0
Signer=none
01=kernel32,kernel32.dll,none
02=secur32,secur32.dll,none
03=ieframe,ieframe.dll,none
04=wfapi,C:\Program Files (x86)\Citrix\System32\wfapi64.dll,none|{64-bit}||-
05=wfapi,C:\Program Files (x86)\Citrix\System32\wfapi.dll,none|{32-bit}||-

AssumePathExist

The macOS platform has introduced a strange behavior. A library will not exist until it is loaded the first time. This parameter allows for the assumption that the file path exists without checking.

[Load]
AssumePathExist=0

Values

0

off, default for all other platforms

1

on, default for macOS platform

Example 1. Set AssumePathExist to 1 and specify library paths

Activating this assumption removes the possibility to specify several different paths for a library. The following will not work:

[Load]
AssumePathExist=1
01=hello,C:\Program Files\Hello\hello.dll
02=hello,C:\OtherLocation\Hello\hello.dll

Signer

For the Windows platform we can verify the signature for each loaded library. The verification will use the platform verification and will return the actual signer. The Signer parameter specifies the required signer for all components that has no specified signer. The signer value ‘none’ means that verification is disabled.

All other values will be expected to be found at the start of the signer subject organization:

[Load]
Signer=Microsoft

Load — N

The section contains a number list with the component name, file path, and possible signer.

N=<name>,<path>,<signer>

The <name> is the component that should be loaded, and you can include multiple entries that uses the same name. The first existing path will be used if multiple paths are specified.

[Load]
01=kernel32,kernel32.dll,none
02=secur32,secur32.dll,none
03=ieframe,ieframe.dll,none
04=wfapi,C:\Program Files (x86)\Citrix\System32\wfapi64.dll,none|{64-bit}||-
05=wfapi,C:\Program Files (x86)\Citrix\System32\wfapi.dll,none|{32-bit}||-