How to install iLok License Support Installer silently

This guide is for installing the iLok License Support Installer silently for use within CircleCI, it is split into two sections you need to generate a .iss file and the second is to use the file to silently install the software.

Generating the .iss file

You will need to re-run a windows job with SSH for the RDP step later on.

The iLok license support install software can be downloaded here.

To download this within your config.yml CircleCI job you can use the following command alternatively you can run the following two commands on the executor using a PowerShell window if you prefer omitting the -run:

-run: Invoke-WebRequest -Uri -OutFile C:\Users\circleci\

This will download the install to the location C:\Users\circleci\

Once this is complete you can use the following command to expand the .zip to C:\Users\circleci\

- run: Expand-Archive -Path C:\Users\circleci\ -DestinationPath C:\Users\circleci\

You will now have the expanded directory located at C:\Users\circleci\

At this point, you will need to connect to the windows machine using RDP using our guide linked here.

Once connected to the machine over RDP you will need to run the program using the -r argument on the installer .exe to generate the .iss file, you will require RDP as the installer requires the GUI to complete the install.

You can use the following command on a PowerShell window to start the installer.

& 'C:\Users\circleci\LicenseSupportInstallerWin64_v5.6.3_46ee731e\License Support Win64.exe' -r 

You can also specify where to store the .iss file with the -f1 option (i.e. License Support Win64.exe -r -f1“C:\Temp\SilentInstall.iss”).

At this point, you should have a file called setup.iss located under C:\Windows or where you have specified if using the -f1 parameter.

You can copy and paste this file from the RDP session to your local machine by either dragging and dropping or using the copy-and-paste function.

You will need to upload this file to a location that is accessible by a CircleCI job for use on the silent install. We would recommend adding this to your VCS and using the special checkout step to pull this file.

The second part of this guide will assume the file is accessible from the top level of your VCS.

Silent install

The following config.yml will complete the silent install and each step is explained below

version: 2.1
win: circleci/windows@2.2.0
name: win/default
shell: powershell.exe
- checkout
- run:
command: |
Invoke-WebRequest -Uri -OutFile C:\Users\circleci\
Expand-Archive -Path C:\Users\circleci\ -DestinationPath C:\Users\circleci\
& 'C:\Users\circleci\LicenseSupportInstallerWin64_v5.6.3_46ee731e\License Support Win64.exe' -s -f1“C:\Users\circleci\project\setup.iss”
- build

The checkout step pulls down the contents from your VCS into the C:\Users\circleci\project\ folder in the example above the setup.iss file is located at the top level.

The Invoke-WebRequest and Expand-Archive commands are the same commands from the generating the .iss file section above.

The final line of the command section does the silent install by having the License Support installer and “.iss” file defined if your setup.iss that was generated is located in another location please change the final section to the full directory of the file.

It will run “License Support Win64.exe” using the -s switch along with pointing it to the “.iss” file on the command line which will silently install the software.

Was this article helpful?
2 out of 3 found this helpful



Article is closed for comments.