Skip to main content
Announcements
Have questions about Qlik Connect? Join us live on April 10th, at 11 AM ET: SIGN UP NOW

Qlik Sense Desktop or Server Install Fails - Failed to Install MSI Package

No ratings
cancel
Showing results for 
Search instead for 
Did you mean: 
Sonja_Bauernfeind
Digital Support
Digital Support

Qlik Sense Desktop or Server Install Fails - Failed to Install MSI Package

Last Update:

Mar 25, 2024 6:37:47 AM

Updated By:

Sonja_Bauernfeind

Created date:

Feb 16, 2016 8:16:41 AM

The Qlik Sense Desktop or Server installation fails with:

INSTALLATION FAILED
AN ERROR HAS OCCURRED
For detailed information see the log file.
 

The installation logs (How to read the installation logs for Qlik products) will read:

Error 0x80070643: Failed to install MSI package.
Error 0x80070643: Failed to configure per-user MSI package.
Detected failing msi: DemoApps

Error 0x80070643: Failed to install MSI package.
Error 0x80070643: Failed to configure per-user MSI package.
Detected failing msi: SenseDesktop
Applied execute package: SenseDesktop, result: 0x80070643, restart: None
Error 0x80070643: Failed to execute MSI package.
ProgressTypeInstallation
Starting rollback execution of SenseDesktop

CAQuietExec:  Entering CAQuietExec in C:\WINDOWS\Installer\MSIE865.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)
MSI (s) (74:54) [10:44:37:941]: Note: 1: 2265 2:  3: -2147287035 
MSI (s) (74:54) [10:44:37:942]: User policy value 'DisableRollback' is 0
MSI (s) (74:54) [10:44:37:942]: Machine policy value 'DisableRollback' is 0
Action ended 10:44:37: InstallFinalize. Return value 3.

 

The Failed to Install MSI Package can have a number of different root causes.

     

    Install C++ redistributable

    Dependencies may be missing. Install the latest C++ redistributable. 

     

    .NET Framework update installation error: "0x80070643" or "0x643".

    This issue may occur if the MSI software update registration has become corrupted, or if the .NET Framework installation on the computer has become corrupted (source: Microsoft, KB976982). 

    Repair or reinstall .NET framework. 

     

    PowerShell path not set as a system variable

    How to troubleshoot:

    Option 1

    1. Start "Advanced System Settings" ->  "Advanced" tab -> "Environment Variables"
    2. Select "Path" from "System variables" and Click Edit
    3. Check if the PowerShell path is listed
    4. If it is missing, add "%SYSTEMROOT%\System32\WindowsPowerShell\v1.0\" and save the change

      Please make sure powershell.exe can be evoked successfully from %SYSTEMROOT%\System32\WindowsPowerShell\v1.0\ before adding the path.

      SYSTEMROOT variable.png
     
    Option 2
     
    1. Run the batch file in the article Windows Commands To Retrieve Environment Information v2.14
    2. Open the result file and find the "Environment Variables" part
      ********************************************        
      *********  Environment Variables  **********        
      ********************************************    
      .......
      
      Path=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\Users\administrator\AppData\Local\Microsoft\WindowsApps;C:\WINDOWS\system32\inetsrv\​
    3. If the path of PowerShell is missing, refer to option 1 to add into the system variables. 

     

    Web Platform Installer Extensions required

    Install the Web Platform Installer Extension that includes the latest components of the Microsoft Web Platform, including Internet Information Services (IIS), SQL Server Express, .NET Framework and Visual Studio.

    More information about the tool on the Microsoft page. 

     

    Environment:

    Qlik Sense Desktop 

    Labels (1)
    Comments
    john_oll
    Partner - Creator
    Partner - Creator

    There is a different cause for
    Error 0x80070643: Failed to install MSI package

    We tried to install 2023-Nov on a Windows Server 2019 with dotNet 4.8, and everything else required.
    Did not work, we ran into this error.

    [11D4:1E48][2023-12-12T10:56:17]e000: Error 0x80070643: Failed to install MSI package.
    [11D4:1E48][2023-12-12T10:56:17]e000: Error 0x80070643: Failed to execute MSI package.
    [130C:22F8][2023-12-12T10:56:17]e000: Error 0x80070643: Failed to configure per-machine MSI package.
    [130C:22F8][2023-12-12T10:56:17]i000: Detected failing msi: PostgreSQL14
    [130C:22F8][2023-12-12T10:56:17]i319: Applied execute package: PostgreSQL14, result: 0x80070643, restart: None
    [130C:22F8][2023-12-12T10:56:17]e000: Error 0x80070643: Failed to execute MSI package.

    Solution: Install C++ redistributable.
    (It was mentions once as a solution in a older community post.)
    I have not seen this documented anywhere as a requirement by Qlik. Which should be addressed!

    p_verkooijen
    Partner - Specialist
    Partner - Specialist

    @Sonja_Bauernfeind @john_oll same here, needed to manually install the latest C++ redistributable before installation succeeded. 

    Installed a fresh Febr 2024 server. 

    Please make sure it's checked during installation, or should be part of the installer.

    Also Mention it on the System requirements

    Latest supported Visual C++ Redistributable downloads | Microsoft Learn

     

    Sonja_Bauernfeind
    Digital Support
    Digital Support

    Hello @p_verkooijen 

    Thank you for your feedback!

    All the best,
    Sonja 

    Version history
    Last update:
    Monday
    Updated by: