Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
During the installation of Qlik Sense, the setup may fail during the CA_UpgradeNLB custom action with a PowerShell-related error.
The issue is not caused by Qlik Sense itself, but by antivirus software blocking PowerShell execution.
The installation fails with the following message:
CAQuietExec:
MSI (s) (5C:18) [21:13:05:034]: Executing op: CustomActionSchedule(Action=CA_UpgradeADS,ActionType=11265,Source=BinaryData,Target=**********,CustomActionData=**********)
MSI (s) (5C:8C) [21:13:05:039]: Invoking remote custom action. DLL: C:\Windows\Installer\MSIB58A.tmp, Entrypoint: CAQuietExec
CAQuietExec: Windows PowerShell terminated with the following error:
CAQuietExec: The type initializer for 'System.Management.Automation.Runspaces.InitialSessionState' threw an exception.
CAQuietExec: Error 0xffff0000: Command line returned an error.
CAQuietExec: Error 0xffff0000: QuietExec Failed
CAQuietExec: Error 0xffff0000: Failed in ExecCommon method
CustomAction CA_UpgradeADS returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
MSI (s) (5C:18) [21:13:06:472]: Note: 1: 2265 2: 3: -2147287035
MSI (s) (5C:18) [21:13:06:473]: User policy value 'DisableRollback' is 0
MSI (s) (5C:18) [21:13:06:473]: Machine policy value 'DisableRollback' is 0
Action ended 21:13:06: InstallFinalize. Return value 3.
The failure occurs during the Network Load Balancer upgrade step of the installer that can be located on the ServerDispatcher.log.
The issue is caused by PowerShell execution being blocked or restricted, typically due to:
To resolve the issue, follow the steps below:
Get-ExecutionPolicy -List
Set-ExecutionPolicy RemoteSigned -Scope CurrentUser
or
Set-ExecutionPolicy Unrestricted -Scope CurrentUser
$ExecutionContext.SessionState.LanguageMode
It must return:
FullLanguage
If it returns ConstrainedLanguage, PowerShell is being restricted by security settings or Group Policy.
powershell.exe -NoProfile -Command "Write-Host OK"
After applying these checks and temporarily disabling the Antivirus, the installation completed successfully and the previous rollback/performance issue did not reoccur.
Hope it helps!
Nice one Jorge!
Live and Breathe Qlik & AWS.
Follow me on my LinkedIn | Know IPC Global at ipc-global.com