Page 1 of 1

[SOLVED] Rancher Desktop MSI package deployment issue

Published: June 13, 2024 - 2:57 PM
by Mikael_S
WAPT Enterprise: 2.5.4.15342 (Unbuntu 20.04)
Windows 11 23H2 workstations

Hello, I'm trying to deploy an MSI file: "Rancher Desktop 1.14.1"

Code: Select all

    install_msi_if_needed('Rancher.Desktop.Setup.1.14.1.msi')
In a development role using PYScripter, it deploys/uninstalls without any problems

During a park deployment, I consistently get an error:

Code: Select all

CalledProcessErrorOutput: Command 'msiexec /norestart /q /i "Rancher.Desktop.Setup.1.14.1.msi" ' returned non-zero exit status 1603.
This 1603 code is a bit generic, so I tried several methods (using properties, also without going through an "install_msi_if_needed")

In manual installation: at the validation steps, I only have the acceptance of the Terms and Conditions and the choice of installation as "Alluser"

It should be noted that I had no problems with version 1.11.1.

Re: Rancher Desktop MSI package deployment problem

Published: June 14, 2024 - 12:33
by sfonteneau
Hello

, I'm not entirely sure what the problem is in your case.

We just created the wapt package; it's available here:

https://luti.tranquil.it/get_folder_res ... 93aW5kb3dz

It's also available for testing here:

https://wapt.tranquil.it/wapt-testing/t ... EPROD.wapt

Simon

Re: Rancher Desktop MSI package deployment problem

Published: June 17, 2024 - 09:33
by Mikael_S
Thanks for the package.
Unfortunately, I'm still getting the same error...
I'll test it from a clean machine to see if it's a registry key or something else causing the error.

[SOLVED] Rancher Desktop MSI package deployment issue

Published: July 12, 2024 - 1:37 PM
by Mikael_S
Good morning,

I'm just bumping this thread where I've (finally) found the solution via a recent topic on GitHub:

This app, since version 1.12, checks the WSL component via the Windows Store (as far as I understand). However, we have blocked the store on our network, which explains the 1603 errors.

So I re-packaged it, even though it's not clean because the uninstallation didn't work either, but it works :) :

Code: Select all

def install():
    # Declaring local variables

    # Installing the software
    print("Installing: Rancher.Desktop.Setup.1.14.1.msi")
    run('msiexec.exe /i Rancher.Desktop.Setup.1.14.1.msi  /qn /norestart WSLINSTALLED=1')

def uninstall():
    print("Désinstallation : Rancher.Desktop.Setup.1.14.1.msi")
    run('msiexec.exe /x {5E0208C2-7F96-4C56-B7DF-42DFB442B00B} /qn /norestart WSLINSTALLED=1')

Re: [SOLVED] Rancher Desktop MSI package deployment problem

Published: July 15, 2024 - 09:14
by dcardon
Hi Mikaël,

Simon has included your additional parameter in the store package. It's currently in wapt-testing and should be available on the store very soon.

Best regards,

Denis