Customising Logon points in Advanced Access Control is a fairly easy process. Customisation allows you to add a corporate look and feel to the user interface. However, removing and redeploying the Logon Point will remove all customisations - the Logon Point is just a bunch of HTML and graphic files. Here’s how to customise the source files so that redeployed and new Logon Points will already have your customisations.
- Navigate to \Program Files\Citrix\Access Gateway\WebServicesCabContent.
- Make a backup copy of LogonAgentApp.CAB - allow for roll back if anything fails.
- Extract LogonAgentApp.CAB to a folder. For this example I’m using as C:\Temp\LogonAgentApp
- Make all customisation to the Logon Point files. See here and here for information on customising the Logon Point.
- Download CABSDK.EXE from Microsoft Cabinet Software Development Kit (Surely there’s a better tool around..)
- Extract CABSDK.EXE and copy the files from \BIN to C:\Temp.
- Run the following command-line to pack the Logon Point source files back into a .CAB file: CABARC.EXE -p -r -P Temp\ -P LogonAgentApp\ N LogonAgentApp.CAB LogonAgentApp\*.*
- Copy the new .CAB file to \Program Files\Citrix\Access Gateway\WebServicesCabContent.
- Deploy your Logon Points with customisations intact.
The CABSDK is quite old but it does the trick. Documentation for CABARC.EXE in included in Word format in CABSDK.EXE. A breakdown of the command line is like this:
-p CABARC will preserve the paths names for each file within the .CAB file
-r CABARC will add all subfolders and files (recurse) to the .CAB file
-P This command is used to script the \Temp and \LogonAgentApp folders from the paths. Otherwise the .CAB file will list the files with an additional path
N This command tells CABARC to create a new .CAB file. In this instance LogonAgentApp.CAB
NOTE: I doubt that this would be supported by Citrix, so make sure you keep a copy of the original .CAB file.