[SOLVED] tis-ltspice 17.1.15.0-13 exit status 1603

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
tux
Messages: 62
Registration: Sep 05, 2023 - 09:44

November 13, 2023 - 11:40

Good morning,

WAPT Enterprise Edition version 2.4.0.14143.
Debian 12 Server
Console on Windows 10

When I try to install the tis-ltspice 17.1.15.0-13 package (from the wapt store) I get the following error:

Code: Select all

Copying: examples.zip to C:\Windows\system32\config\systemprofile\AppData\Local\LTspice
Copying: lib.zip to C:\Windows\system32\config\systemprofile\AppData\Local\LTspice
3 fichiers correctement traités ; échec du traitement de 0 fichiers

Installing: LTspice64.msi (17.1.15.0)
Traceback (most recent call last):
  File "C:\Program Files (x86)\wapt\common.py", line 4083, in install_wapt
    exitstatus = setup.install()
  File "C:\Windows\TEMP\waptif265ctv\setup.py", line 62, in install
  File "C:\Program Files (x86)\wapt\common.py", line 3860, in run
    return ensure_unicode(run(*arg, pidlist=self.pidlist,**args))
  File "C:\Program Files (x86)\wapt\waptutils.py", line 2118, in run
    raise CalledProcessErrorOutput(proc.returncode, cmd, ''.join(output))
waptutils.CalledProcessErrorOutput: Command 'msiexec /norestart /qn /i "LTspice64.msi" LTspice_Dir="C:\\windows\\temp\\LTspice_temp" NewFolder_Dir="C:\\windows\\temp\\LTspice_temp\\lib" cmp_Dir="C:\\windows\\temp\\LTspice_temp\\lib\\cmp" /L*V "C:\\windows\\temp\\LTspice64.log"' returned non-zero exit status 1603.
Output:

CalledProcessErrorOutput: Command 'msiexec /norestart /qn /i "LTspice64.msi" LTspice_Dir="C:\\windows\\temp\\LTspice_temp" NewFolder_Dir="C:\\windows\\temp\\LTspice_temp\\lib" cmp_Dir="C:\\windows\\temp\\LTspice_temp\\lib\\cmp" /L*V "C:\\windows\\temp\\LTspice64.log"' returned non-zero exit status 1603.
Output:
The following error appears in the LTspice64.log file:

Code: Select all

MSI (s) (D0!68) [11:20:49:370]: Product: LTspice -- Le chemin d’accès spécifié est introuvable.

C:\Windows\system32\config\systemprofile\AppData\Local\LTspice\examples.zip

Le chemin d’accès spécifié est introuvable.

C:\Windows\system32\config\systemprofile\AppData\Local\LTspice\examples.zip
CustomAction AI_ExpandArchConfig returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
However, I can clearly see both zip files in the folder C:\Windows\System32\config\systemprofile\AppData\Local\LTspice:
  • examples.zip
    lib.zip
The system account has full control over the path.

No problem when the package is run in debug mode (with the admin account)
Wapt Enterprise Edition 2.6.1.17765
WAPTConsole Enterprise on Windows
WAPT Server on Debian 12
tux
Messages: 62
Registration: Sep 05, 2023 - 09:44

January 17, 2024 - 2:08 PM

Hello,

I'm following up on this topic because I'm still having the problem.

Regards,

Sébastien.
Wapt Enterprise Edition 2.6.1.17765
WAPTConsole Enterprise on Windows
WAPT Server on Debian 12
User avatar
dcardon
WAPT Expert
Messages: 1929
Registration: June 18, 2014 - 09:58
Location: Saint Sébastien sur Loire
Contact :

January 26, 2024 - 12:39

Hi Sébastien,

sorry for the delayed response, there is indeed a bug. When I first read it, I didn't see why it would have gone through LUTI, so I thought it was an issue with your infrastructure. But I just realized that this package installs via LUTI as Administrator but not as LOCAL SYSTEM...

The WAPT service runs as LOCAL SYSTEM but not as Administrator. And the LOCAL SYSTEM account doesn't have a user profile, and the installer (which undoubtedly falls into the category of podoware [1]) is trying to create a file in the %APPDATA% of the current user...

Simon is looking into it.

Denis

[1] software developed with their feet
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
User avatar
jpele
Messages: 156
Registration: March 4, 2019 - 12:01
Location: Nantes

February 8, 2024 - 4:10 PM

Hello,
Just so you know, a fix was recently released; it's version 16 and should permanently resolve error 1603.
https://wapt.tranquil.it/store/fr/tis-ltspice

Regards,
Jimmy
Locked