Installation of Qlik Sense via Powershell
- Unrestricted Execution Policy
- Internet Access
This file installs Qlik Sense 3.1.2 and newer using Shared Persistence. It is recommended that this file be used, older versions should be ignored and are kept for historical reasons.
This script installs Qlik Sense 3.1.1 with the following:
- Qlik Sense 3.1.1 downloaded to local directory
- Qlik-CLI downloaded to local directory
- Qlik-CLI installed into PowerShell Modules
- Service Account added to local administrators group
- Qlik Sense 3.1.1 installed as a Central Node
- Qlik Sense licensed
Utilises Qlik-CLI (https://github.com/ahaydon/Qlik-Cli) to perform license step.
Note: If you set the config file to createuser = 1 a user will be created. Local only
Note: If running non-interactively the installation may fail due to Postgres needing to write to a location that doesn't yet exist. In order to resolve this consider creating an environment variable (PGPASSWORD) with the password of the Super User. This is commented out in the code. (https://www.postgresql.org/docs/9.3/static/libpq-envars.html)
- Edit the config file C:\installation\qlik-sense-automated-install-master\install-qs-cfg.xml with your config
- Launch Powershell (As administrator)
- Execute: Set-ExecutionPolicy Unrestricted
- Execute the following code (line by line or enter into a local PS script and execute):
- qs_install_3.1.2.ps1
- sp_config.xml
- install-qs-cfg.xml
New-Item -ItemType directory -Path C:\installation\ -force
$source = 'https://github.com/clintcarr/qlik-sense-automated-install/archive/master.zip'
$destination = 'c:\installation\master.zip'
Invoke-WebRequest $source -OutFile $destination
Expand-Archive c:\installation\master.zip -dest c:\installation\
New-Item -ItemType directory -Path C:\installation\ -force
$source = 'https://github.com/clintcarr/qlik-sense-automated-install/archive/master.zip'
$destination = 'c:\installation\master.zip'
Invoke-WebRequest $source -OutFile $destination
$shell = New-Object -ComObject shell.application
$zip = $shell.NameSpace("C:\installation\master.zip")
foreach ($item in $zip.items()) {
$shell.Namespace("c:\installation\").CopyHere($item)}
- using Powershell enter c:\installation\qlik-sense-automated-install-master\
- Execute: .\install-qs.ps1 path .\install-qs-cfg.xml
install-qs.ps1 c:\installation\install-qs-cfg.xml
XML Configuration file for installer
This script downloads and installs Qlik-CLI.
Adam Haydon (https://github.com/ahaydon/Qlik-Cli)
Leigh Kennedy (Heartbeat of QPS code)
This software is made available "AS IS" without warranty of any kind. Qlik support agreement does not cover support for this script.