Qlik Community

Qlik Sense Deployment & Management

Discussion board where members learn more about Qlik Sense Installation, Deployment and Management.

amrinder
Contributor

Re: Qliksense Installation Error (1603)

Hello Erini,

Actually, in our organization employees have been categorized and accordingly downloading/installation restrictions have been applied. So I asked the concerned person to remove me from all groups after that I tried to install QS setup and it was successful.

I hope it will help.

Highlighted
sorgluet
New Contributor

Re: Qliksense Installation Error (1603)

Hi all,

About every things here append to me too.

So I update visual C++, create a new admin to install the product, etc...

No luck for me.

So I decide to extract the MSI form the installer (via 7zip) and try to install them one by one.

Only qliksense desktop doesn't install and It seems to stop only at the end.

What is causing the issue seems to be here in msi install logs :

--------------------

WriteRegistryValues: Key: \Software\Classes\qliksense\shell\open\command, Name: , Value: "C:\Users\qlik\AppData\Local\Programs\Qlik\Sense\QlikSenseBrowser\QlikSenseBrowser.exe" "--magiclink=%1"

MSI (s) (88:C4) [14:04:54:075]: Executing op: ActionStart(Name=CA_ConvertToUTF8,,)

Action 14:04:54: CA_ConvertToUTF8.

MSI (s) (88:C4) [14:04:54:076]: Executing op: CustomActionSchedule(Action=CA_ConvertToUTF8,ActionType=1025,Source=BinaryData,Target=CAQuietExec,CustomActionData="powershell" -NoLogo -NonInteractive -InputFormat None –ExecutionPolicy Unrestricted -Command "if (Test-Path -path 'C:\Users\qlik\AppData\Local\Programs\Qlik\Sense\Engine\Settings.ini') {{ (Get-Content 'C:\Users\qlik\AppData\Local\Programs\Qlik\Sense\Engine\Settings.ini') | Set-Content -Encoding UTF8 -Force 'C:\Users\qlik\AppData\Local\Programs\Qlik\Sense\Engine\Settings.ini'" }})

MSI (s) (88:D8) [14:04:54:085]: Invoking remote custom action. DLL: C:\WINDOWS\Installer\MSID96E.tmp, Entrypoint: CAQuietExec

MSI (s) (88:1C) [14:04:54:085]: Generating random cookie.

MSI (s) (88:1C) [14:04:54:105]: Created Custom Action Server with PID 19044 (0x4A64).

MSI (s) (88:C4) [14:04:54:145]: Running as a service.

MSI (s) (88:C4) [14:04:54:147]: Hello, I'm your 32bit Impersonated custom action server.

CAQuietExec:  Entering CAQuietExec in C:\WINDOWS\Installer\MSID96E.tmp, version 3.10.2103.0

CAQuietExec:  "powershell" -NoLogo -NonInteractive -InputFormat None

CAQuietExec:  Error 0x80070002: Command failed to execute.

CAQuietExec:  Error 0x80070002: QuietExec Failed

CAQuietExec:  Error 0x80070002: Failed in ExecCommon method

CustomAction CA_ConvertToUTF8 returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)

Action ended 14:04:54: InstallFinalize. Return value 3.

MSI (s) (88:C4) [14:04:54:226]: Note: 1: 2265 2:  3: -2147287035

MSI (s) (88:C4) [14:04:54:227]: User policy value 'DisableRollback' is 0

MSI (s) (88:C4) [14:04:54:227]: Machine policy value 'DisableRollback' is 0

MSI (s) (88:C4) [14:04:54:346]: Executing op: Header(Signature=1397708873,Version=500,Timestamp=1268084832,LangId=1033,Platform=589824,ScriptType=2,ScriptMajorVersion=21,ScriptMinorVersion=4,ScriptAttributes=0)

MSI (s) (88:C4) [14:04:54:346]: Executing op: DialogInfo(Type=0,Argument=1033)

MSI (s) (88:C4) [14:04:54:347]: Executing op: DialogInfo(Type=1,Argument=Qlik Sense Desktop)

MSI (s) (88:C4) [14:04:54:347]: Executing op: RollbackInfo(,RollbackAction=Rollback,RollbackDescription=Rolling back action:,RollbackTemplate=[1],CleanupAction=RollbackCleanup,CleanupDescription=Removing backup files,CleanupTemplate=File: [1])



------------------

2 things in bold :

     - Somethings with 32bits and UTF8 just before rollback (I'm on 64bits updated windows 10)

     - User policy for rollback

As I can disable rollback, I tryed.

You can do it via registry

Here is the content of the dot reg file that can do that :

[HKEY_CURRENT_USER\SOFTWARE\Policies\Microsoft\Windows]

"DisableRollback"=dword:00000001

obviously, the installation do not end correcly.

BUT ! qliksense desktop is install and seems to work. (for what I can do with it for now)

Don't forget to install the others MSI or you will miss connectors at least.

Hope that can help somebody.

pghislain
New Contributor

Re: Qliksense Installation Error (1603)

I could not reproduce your procedure.

I use 7Zip to unzip the MSZip files, change the not extension to '.msi' but get the attach error.

Something is missing...

sorgluet
New Contributor

Re: Qliksense Installation Error (1603)

Hi, Pierre,

You're right, I missed a step in the extraction process.

You download a .exe file from qlik.com. You have to begin the installation.

Until it install, it extract the msi files in this folder :

%appdata%\..\local\Package Cache

In that folder, I can see 3 another folders with  names like this : {7BE5A41B-B71B-49CA-94F7-DACBB4037CEA}v11.24.1

And finally the msies in it (one per folder):

DesktopConnectors.msi

DemoApps.msi

SenseDesktop.msi

Be aware that the folders will be deleted as the installation failed.

damago1
New Contributor

Re: Qliksense Installation Error (1603)

I have the same issue with current release: February 2019. 

I was forced to upgrade the working installation of Qlik Sense Desktop and the installation of new version failed. The progress bar gets to about 30%, freezes there for a long time (meanwhile log file gets appended) and then displays "Installation Failed     An error has occured. For detailed information see the log file."

I have tried to uninstall previous version - uninstalled. No success. Fresh installation fails identically. 

The log file has over 208 MB. 

I have no 3rd party antivirus software installed (only defender). 

What else can I co? 

 

Searching for occurences of a word i'Error" in log I have found the following:

1. Near the beginning of file:

MSI (s) (D8:24) [04:07:44:277]: PROPERTY CHANGE: Adding PackagecodeChanging property. Its value is '1'.
MSI (s) (D8:24) [04:07:44:277]: Package name extracted from package path: 'SenseDesktop.msi'
MSI (s) (D8:24) [04:07:44:277]: Package to be registered: 'SenseDesktop.msi'
MSI (s) (D8:24) [04:07:44:277]: Note: 1: 2205 2: 3: Error
MSI (s) (D8:24) [04:07:44:281]: Note: 1: 2262 2: AdminProperties 3: -2147287038
MSI (s) (D8:24) [04:07:44:281]: Machine policy value 'AlwaysInstallElevated' is 0
MSI (s) (D8:24) [04:07:44:281]: User policy value 'AlwaysInstallElevated' is 0
MSI (s) (D8:24) [04:07:44:281]: Running product '{FB8999A7-A3C5-482B-B444-93F030008ABC}' with user privileges: It's not assigned.

 

2. about the line number 60000

 

MSI (s) (D8:24) [04:14:41:144]: Doing action: RemoveExistingProducts
Action ended 04:14:41: InstallValidate. Return value 1.
MSI (s) (D8:24) [04:14:41:145]: Note: 1: 2205 2: 3: Error
MSI (s) (D8:24) [04:14:41:145]: Note: 1: 2228 2: 3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 22
Action start 04:14:41: RemoveExistingProducts.
MSI (s) (D8:24) [04:14:41:146]: Note: 1: 2205 2: 3: Error
MSI (s) (D8:24) [04:14:41:146]: Note: 1: 2228 2: 3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 23
MSI (s) (D8:84) [04:14:41:148]: Resetting cached policy values
MSI (s) (D8:84) [04:14:41:148]: Machine policy value 'Debug' is 0
MSI (s) (D8:84) [04:14:41:148]: ******* RunEngine:
******* Product: {7923B1D0-C25A-43EB-80EE-6B40B55DE858}
******* Action:
******* CommandLine: **********
MSI (s) (D8:84) [04:14:41:148]: Machine policy value 'DisableUserInstalls' is 0
MSI (s) (D8:24) [04:14:41:149]: Ignoring failure to remove product during upgrade - product already uninstalled.
CustomAction returned actual error code 1605 (note this may not be 100% accurate if translation happened inside sandbox)
MSI (s) (D8:24) [04:14:41:149]: Note: 1: 2205 2: 3: Error
MSI (s) (D8:24) [04:14:41:149]: Note: 1: 2228 2: 3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 16
MSI (s) (D8:24) [04:14:41:150]: Note: 1: 2205 2: 3: Error
MSI (s) (D8:24) [04:14:41:150]: Note: 1: 2228 2: 3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 21
MSI (s) (D8:24) [04:14:41:150]: Doing action: InstallInitialize
Action ended 04:14:41: RemoveExistingProducts. Return value 1.
MSI (s) (D8:24) [04:14:41:163]: Machine policy value 'AlwaysInstallElevated' is 0
MSI (s) (D8:24) [04:14:41:163]: User policy value 'AlwaysInstallElevated' is 0
MSI (s) (D8:24) [04:14:41:164]: BeginTransaction: Locking Server

 

3. Closer to the end of the file: (this is probably the root cause)

MSI (s) (D8:24) [04:18:16:815]: Executing op: RegOpenKey(Root=-2147483647,Key=Software\Classes\qliksense\shell\open\command,,BinaryType=1,,)
MSI (s) (D8:24) [04:18:16:815]: Executing op: RegAddValue(,Value="C:\Users\marci_000\AppData\Local\Programs\Qlik\Sense\QlikSenseBrowser\QlikSenseBrowser.exe" "--magiclink=%1",)
MSI (s) (D8:24) [04:18:16:816]: Executing op: ActionStart(Name=CA_ConvertToUTF8,,)
MSI (s) (D8:24) [04:18:16:817]: Executing op: CustomActionSchedule(Action=CA_ConvertToUTF8,ActionType=1025,Source=BinaryData,Target=CAQuietExec,CustomActionData="powershell" -NoLogo -NonInteractive -InputFormat None –ExecutionPolicy Unrestricted -Command "if (Test-Path -path 'C:\Users\marci_000\AppData\Local\Programs\Qlik\Sense\Engine\Settings.ini') {{ (Get-Content 'C:\Users\marci_000\AppData\Local\Programs\Qlik\Sense\Engine\Settings.ini') | Set-Content -Encoding UTF8 -Force 'C:\Users\marci_000\AppData\Local\Programs\Qlik\Sense\Engine\Settings.ini'" }})
MSI (s) (D8:88) [04:18:16:821]: Invoking remote custom action. DLL: C:\WINDOWS\Installer\MSIE75B.tmp, Entrypoint: CAQuietExec
MSI (s) (D8:68) [04:18:16:821]: Generating random cookie.
MSI (s) (D8:68) [04:18:16:834]: Created Custom Action Server with PID 5520 (0x1590).
MSI (s) (D8:04) [04:18:16:908]: Running as a service.
MSI (s) (D8:04) [04:18:16:913]: Hello, I'm your 32bit Impersonated custom action server.
CAQuietExec: Error 0x80070002: Command failed to execute.
CAQuietExec: Error 0x80070002: QuietExec Failed
CAQuietExec: Error 0x80070002: Failed in ExecCommon method
CustomAction CA_ConvertToUTF8 returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
MSI (s) (D8:24) [04:18:16:961]: Note: 1: 2265 2: 3: -2147287035
MSI (s) (D8:24) [04:18:16:961]: User policy value 'DisableRollback' is 0
MSI (s) (D8:24) [04:18:16:961]: Machine policy value 'DisableRollback' is 0
Action ended 04:18:16: InstallFinalize. Return value 3.
MSI (s) (D8:24) [04:18:17:169]: Executing op: Header(Signature=1397708873,Version=500,Timestamp=1314464264,LangId=1033,Platform=589824,ScriptType=2,ScriptMajorVersion=21,ScriptMinorVersion=4,ScriptAttributes=0)
MSI (s) (D8:24) [04:18:17:169]: Executing op: DialogInfo(Type=0,Argument=1033)
MSI (s) (D8:24) [04:18:17:169]: Executing op: DialogInfo(Type=1,Argument=Qlik Sense Desktop)
MSI (s) (D8:24) [04:18:17:170]: Executing op: RollbackInfo(,RollbackAction=Rollback,RollbackDescription=Rolling back action:,RollbackTemplate=[1],CleanupAction=RollbackCleanup,CleanupDescription=Removing backup files,CleanupTemplate=File: [1])
MSI (s) (D8:24) [04:18:17:170]: Executing op: RegisterBackupFile(File=C:\Config.Msi\33a8b.rbf)
MSI (s) (D8:24) [04:18:17:170]: Executing op: RegisterBackupFile(File=C:\Config.Msi\33a8c.rbf)
MSI (s) (D8:24) [04:18:17:170]: Executing op: RegisterBackupFile(File=C:\Config.Msi\33a8d.rbf)
MSI (s) (D8:24) [04:18:17:172]: Executing op: ActionStart(Name=CA_ConvertToUTF8,,)

And close to the very end:

Property(S): SOURCEDIR = C:\Users\marci_000\AppData\Local\Package Cache\{FB8999A7-A3C5-482B-B444-93F030008ABC}v13.9.1\
Property(S): SourcedirProduct = {FB8999A7-A3C5-482B-B444-93F030008ABC}
Property(S): ProductToBeRegistered = 1
MSI (s) (D8:24) [04:25:24:939]: Note: 1: 1708
MSI (s) (D8:24) [04:25:24:939]: Note: 1: 2205 2: 3: Error
MSI (s) (D8:24) [04:25:24:939]: Note: 1: 2228 2: 3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 1708
MSI (s) (D8:24) [04:25:24:939]: Note: 1: 2205 2: 3: Error
MSI (s) (D8:24) [04:25:24:939]: Note: 1: 2228 2: 3: Error 4: SELECT `Message` FROM `Error` WHERE `Error` = 1709
MSI (s) (D8:24) [04:25:24:939]: Product: Qlik Sense Desktop -- Installation failed.

MSI (s) (D8:24) [04:25:24:940]: Instalator Windows zainstalował produkt. Nazwa produktu: Qlik Sense Desktop. Wersja produktu: 13.9.1. Język produktu: 1033. Producent: QlikTech International AB. Stan powodzenia lub błędu instalacji: 1603.

MSI (s) (D8:24) [04:25:25:034]: Deferring clean up of packages/files, if any exist
MSI (s) (D8:24) [04:25:25:035]: MainEngineThread is returning 1603
MSI (s) (D8:B0) [04:25:25:037]: RESTART MANAGER: Session closed.
=== Logging stopped: 2019-02-25 04:25:24 ===

 

 

 

 

 

 

 

damago1
New Contributor

Re: Qliksense Installation Error (1603)

Managed to make it work. What I did:

* I have blocked the 'rollback' ability of the Microsoft Installer

* I did it via gpedit.msc (group policy editor), I have enabled the rule forbidding the collection of rollback data of installer

* rebooted system

* installed Qlik Sense Desktop ... .installation failed as usual

* re-enabled the rollback ability of installer in gpedit

* rebooted system

* launched Qlik Sense Desktop - could not login (did not get the username /password screen, qlik sense was claiming that there is no internet connection. 

* rebooted again

* launched Qlik Sense Desktop - seems to work ok. 

I don't know which steps are not performed by installer. I hope irrelevant ones

 

Maybe somebody from Qlik will tell us what error 1603 means and what should we double check while using qlik sense.