Page 1 of 1

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

Published: November 13, 2023 - 11:40 AM
by tux
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)

Re: tis-ltspice 17.1.15.0-13 exit status 1603

Published: January 17, 2024 - 2:08 PM
by tux
Hello,

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

Regards,

Sébastien.

Re: tis-ltspice 17.1.15.0-13 exit status 1603

Published: January 26, 2024 - 12:39 PM
by dcardon
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

Re: tis-ltspice 17.1.15.0-13 exit status 1603

Published: February 8, 2024 - 4:10 PM
by jpele
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