Package dst-dell-command-update

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
Answer
Gaelds
Messages: 254
Registration: Nov 22, 2015 - 08:37

May 27, 2024 - 3:57 PM

Hello, I'm having trouble with the dell-command-update package on two-thirds of my PCs. I imported version 5.3 to replace the currently installed version 5.0, but it's crashing with the following messages:

Code: Select all

Installing: Dell-Command-Update-Application_T45GH_WIN_5.3.0_A00.EXE (5.3.0)
Command '"Dell-Command-Update-Application_T45GH_WIN_5.3.0_A00.EXE" /s /l="C:\\Windows\\Temp\\Dell-Command-Update-Application_T45GH_WIN_5.3.0_A00.log"' returned non-zero exit status 4.
Output:
Traceback (most recent call last):
  File "C:\Windows\TEMP\wapte9_kv218\setup.py", line 62, in install
  File "C:\Program Files (x86)\wapt\common.py", line 4164, in new_func
    return func(*args, **kwargs)
  File "C:\Program Files (x86)\wapt\setuphelpers_windows.py", line 1650, in install_exe_if_needed
    run(r'"%s" %s' % (exe, silentflags), accept_returncodes=accept_returncodes, timeout=timeout, pidlist=pidlist)
  File "C:\Program Files (x86)\wapt\waptutils.py", line 2176, in run
    raise CalledProcessErrorOutput(proc.returncode, cmd, ''.join(output))
waptutils.CalledProcessErrorOutput: Command '"Dell-Command-Update-Application_T45GH_WIN_5.3.0_A00.EXE" /s /l="C:\\Windows\\Temp\\Dell-Command-Update-Application_T45GH_WIN_5.3.0_A00.log"' returned non-zero exit status 4.
Output:

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Program Files (x86)\wapt\common.py", line 4234, in install_wapt
    exitstatus = setup.install()
  File "C:\Windows\TEMP\wapte9_kv218\setup.py", line 72, in install
  File "C:\Program Files (x86)\wapt\waptutils.py", line 1956, in error
    raise EWaptSetupException('Fatal error : %s' % reason)
waptutils.EWaptSetupException: Fatal error : Dell Command Update cannot be installed because this PC is not a Dell Compatible System, please check: https://www.dell.com/support/kbdoc/000177325/dell-command-update

EWaptSetupException: Fatal error : Dell Command Update cannot be installed because this PC is not a Dell Compatible System, please check: https://www.dell.com/support/kbdoc/000177325/dell-command-update
When I try to manually install the executable, I get the message "Error 1312":
2024-05-27 15_40_37.jpg
2024-05-27 15_40_37.jpg (56.46 KB) Viewed 5388 times
Indeed, version 5.0 appears to be uninstalled, but the directory C:\Program Files (x86)\Dell\CommandUpdate\ is replaced by a file named "C:\Program Files (x86)\Dell\CommandUpdate". Deleting this file allows version 5.3 to install correctly.
Gaelds
Messages: 254
Registration: Nov 22, 2015 - 08:37

May 27, 2024 - 4:26 PM

I also have an example of a PC that displays this error when launching the executable manually:
2.jpg
2.jpg (35.88 KB) Viewed 5382 times
On this PC, the folder C:\Program Files (x86)\Dell\CommandUpdate\ no longer exists, but the software is still in the list of programs:
3.jpg
3.jpg (43.28 KB) Viewed 5382 times
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

May 28, 2024 - 09:50

Hello

, unfortunately this package hasn't been tested for installation by Luti:
https://luti.tranquil.it/get_folder_res ... luZG93cw==

Since the installations are run in a VM, we can't really simulate a Dell server.

However, we have a Dell server internally and the package installed successfully.

I'll take a look
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

May 28, 2024 - 10:07

I've already done one thing: I modified the package so it no longer captures the error and returns the original error.

Regarding the error messages you're getting, I'm having trouble understanding them. It seems like another product is installed (something Dell-related) and it's incompatible with dell-command-update.

If you find out what's causing it, feel free to send me a modified version, and I'll fix the package.

I can't reproduce the problem here.
Gaelds
Messages: 254
Registration: Nov 22, 2015 - 08:37

May 28, 2024 - 4:57 PM

The package is now installed on almost all my machines; I encountered various errors when launching it manually. I've gradually added instructions at the beginning of the package to uninstall older versions of Dell Update, as well as Dell Support Assist and Dell Support Assist OS Recovery.

Code: Select all

    run_notfatal(r'MsiExec.exe /X{289899DB-189C-4B8E-A160-C6D146B5C74A} /passive /norestart') 
    run_notfatal(r'MsiExec.exe /X{D2E875B4-E71A-4AD2-9E0C-3E097A3D54FC} /passive /norestart') 
    run_notfatal(r'MsiExec.exe /X{F2211A40-B8D4-42F1-B681-E82B914923E9} /passive /norestart') 
    run_notfatal(r'MsiExec.exe /X{E57AF6DD-7B88-49F1-AD68-3CE1A2F34E8A} /passive /norestart') 
    run_notfatal(r'MsiExec.exe /X{E0659C89-D276-4B77-A5EC-A8F2F042E78F} /passive /norestart') 
    run_notfatal(r'MsiExec.exe /X{ec40a028-983b-4213-af2c-77ed6f6fe1d5} /passive /norestart') 
    run_notfatal(r'MsiExec.exe /X{900D0BCD-0B86-4DAA-B639-89BE70449569} /passive /norestart') 
    run_notfatal(r'MsiExec.exe /X{DB6164FC-CD98-471C-BD5B-5B14CAFA3186} /passive /norestart')
    run_notfatal(r'MsiExec.exe /X{E40C2C69-CA25-454A-AB4D-C675988EC101} /passive /norestart')
    run_notfatal(r'MsiExec.exe /X{596FEA8E-D3B1-47EF-AB69-2AA9219DD873} /passive /norestart')
Gaelds
Messages: 254
Registration: Nov 22, 2015 - 08:37

May 29, 2024 - 10:17

I also modified the audit because I had many PCs that were going into Warning mode on this package because the service should only start after a certain delay when the PC starts up.

Code: Select all

Auditing dst-dell-command-update
 OK: Uninstall Key {CF2CFB0D-C907-465E-9DAB-CCD0D5262C7D} in Windows Registry.
DellClientManagementService service is not running.
Answer