[SOLVED] Rancher Desktop MSI package deployment issue

Questions about WAPT Packaging / Requests and help regarding Wapt packages.
Forum Rules
Community Forum Rules
* English support on www.reddit.com/r/wapt
* French community support is available on this forum
* Please prefix the topic title with [RESOLVED] if it is resolved.
* Please do not edit a topic that is tagged [RESOLVED]. Open a new topic referencing the old one.
* Specify the installed WAPT version, full version, and build number (2.2.1.11957 / 2.2.2.12337 / etc.) as well as the Enterprise/Discovery edition.
* Versions 1.8.2 and earlier are no longer supported. The only questions accepted regarding version 1.8.2 are related to upgrading to a supported version (2.1, 2.2, etc.).
* Specify the server OS (Linux/Windows) and version (Debian Buster/Bullseye - CentOS 7 - Windows Server 2012/2016/2019).
* Specify the OS of the administration/package creation machine and the machine with the problematic agent, if applicable (Windows 7/10/11/Debian 11/etc.).
* Avoid asking multiple questions when opening a topic, otherwise it may be ignored. If there are multiple topics, open separate topics, preferably one after the other and not all at the same time (i.e., do not spam the forum).
* Include code snippets, screenshots, and other images directly in the post. Links to Pastebin, Bitly, and other third-party sites will be systematically removed.
* As with any community forum, support is provided voluntarily by members. If you require commercial support, you can contact Tranquil IT's sales department at 02.40.97.57.55
Locked
Mikael_S
Messages: 26
Registration: Apr 25, 2023 - 11:57

June 13, 2024 - 2:57 PM

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.
Last edited by Mikael_S on Jul 12, 2024 - 13:42, edited 1 time.
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

June 14, 2024 - 12:33

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
Mikael_S
Messages: 26
Registration: Apr 25, 2023 - 11:57

June 17, 2024 - 09:33

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.
Mikael_S
Messages: 26
Registration: Apr 25, 2023 - 11:57

July 12, 2024 - 1:37 PM

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')
User avatar
dcardon
WAPT Expert
Messages: 1929
Registration: June 18, 2014 - 09:58
Location: Saint Sébastien sur Loire
Contact :

July 15, 2024 - 09:14

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
Denis Cardon - Tranquil IT
Share your experiences on WAPT! Send us your blog and article URLs in the "Your Opinion of the forum, and we'll feature them on the WAPT
Locked