Skip to main content
Announcements
Get Ready. A New Qlik Learning Experience is Coming February 17! LEARN MORE
cancel
Showing results for 
Search instead for 
Did you mean: 
jrathgebercs
Contributor III
Contributor III

Qlik Sense Feb 2024-Looking for silent installation

Hi All,

We are migrating our Qlik Sens server on new domain. We done the installation on dev server because they have allowed to get service account user & pwd  . But They are not allowing to window login using service account with password to install the Qlik Sense in UAT and PROD sever. So we are planning to use silent installation process. I have prepared the set of script to test first in dev but getting error. Could you please correct the script. Please find the below Run.bat and spc.cfg file.

1.Run.bat 

Qlik_Sense_setup.exe -silent
-install
-log "D:\Qlik Install\QlikInstallation.log" accepteula=1
desktopshortcut=1
skipstartservices=1 
installdir=D:\Program Files\Qlik\Sense 
userwithdomain="MyServiceaccount" 
userpassword="Service account pwd" 
dbpassword=qlik@2024 
hostname="My server Name" 
cleanup=1 
sharedpersistenceconfig="C:\Qlik Install\spc.cfg"} 
senddata=1
skipvalidation=1

2.SPC.CFG

<?xml version="1.0"?>
<SharedPersistenceConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<DbUserName>qliksenserepository</DbUserName>
<DbUserPassword>qlik@2024</DbUserPassword>
<DbHost>Localhost</DbHost>
<DbPort>4432</DbPort>
<RootDir>\\Hostname\QlikShare</RootDir>
<StaticContentRootDir>\\Hostname\QlikShare\StaticContent</StaticContentRootDir>
<ArchivedLogsDir>\\Hostname\QlikShare\ArchivedLogs</ArchivedLogsDir>
<AppsDir>\\Hostname\QlikShare\Apps</AppsDir>
<CreateCluster>true</CreateCluster>
<InstallLocalDb>false</InstallLocalDb>
<ConfigureDbListener>true</ConfigureDbListener>
<ListenAddresses>*</ListenAddresses>
<IpRange>0.0.0.0/0,::/0</IpRange>
<MaxConnections>100</MaxConnections>
<!--<JoinCluster>true</JoinCluster>-->
<HttpPortNumber>80</HttpPortNumber>
<HttpsPortNumber>443</HttpsPortNumber>
<EnableHttpPort>false</EnableHttpPort>
<DbMaximumConnectionPoolSize>90</DbMaximumConnectionPoolSize>
</SharedPersistenceConfiguration>

Thank you.

Labels (1)
7 Replies
mpc
Partner - Specialist II
Partner - Specialist II

Hi, 

What's the error you are currently getting ? 
You can use any administrator account to install Qlik Sense, not only the service account.

Best

From Next Decision and mpc with love
Sebastian_Linser

Hello,

it looks good, you would not need "-install" -s or -silent is enough for the installation. Your problem is the password for the database user. a @ will be translated wrong when used in a dos prompt. Try  "qilk!2024" just to see if that works as expected.

 

in the line for the config file you have a } to much sharedpersistenceconfig="C:\Qlik Install\spc.cfg"}  should just be sharedpersistenceconfig="C:\Qlik Install\spc.cfg".

 

best regards

Sebastian

Help users find answers! Don't forget to mark a solution that worked for you! 🙂
jrathgebercs
Contributor III
Contributor III
Author

Hi @Sebastian_Linser  & @mpc ,

Thank you for your response and comments, I have corrected the password like this qilk!2024 and also removed the }. Still getting this error.

jrathgebercs_0-1738567772114.png

 

Thankyou.

diegozecchini
Specialist
Specialist

want to try:

Qlik_Sense_setup.exe -silent -install -accepteula=1 ^
-log "D:\Qlik Install\QlikInstallation.log" ^
-desktopshortcut=1 ^
-skipstartservices=1 ^
-installerdir="D:\Program Files\Qlik\Sense" ^
-userwithdomain="MyServiceaccount" ^
-userpassword="Service account pwd" ^
-dbpassword="qlik!2024" ^
-hostname="My server Name" ^
-cleanup=1 ^
-sharedpersistenceconfig="C:\Qlik Install\spc.cfg" ^
-senddata=1 ^
-skipvalidation=1

jrathgebercs
Contributor III
Contributor III
Author

Hi @diegozecchini ,

I have updated code per your comments. Now I am not seeing any error but when i am executing this script command window getting close after 5 or 6 second and nothing happing.

jrathgebercs_0-1738637703612.png

Could you please suggest me .

Thank you.!!

Sebastian_Linser

Hello @jrathgebercs 

-log "D:\Qlik Install\QlikInstallation.log" accepteula=1desktopshortcut=1skipstartservices

there need to be spaces inbetween

-log "D:\Qlik Install\QlikInstallation.log" accepteula=1 desktopshortcut=1 skipstartservices=1

since you blued out a few just check your whole string at your side, but that was the obvious eror, then if something installs you should see some entry in the file "D:\Qlik Install\QlikInstallation.log"

 

best regards

Sebastian

Help users find answers! Don't forget to mark a solution that worked for you! 🙂
jrathgebercs
Contributor III
Contributor III
Author

Hi @Sebastian_Linser ,

I have capture some part of log screenshot which i am getting. am not getting error or any installation icon on desktop. Even i can not see anything on program file related to Qlik.

jrathgebercs_0-1738690871910.png

Please suggest what i am missing. I have also corrected the spaces as per your comments .