Page 1 of 1
Windows 10 Package Installation Error
Published: February 15, 2019 - 11:47 AM
by Nicolas Halsberghe
Good morning,
Some of our PCs are starting to upgrade to Windows 10. An error occurred during the installation of a package (see error below). The package installs correctly, but the WAPT console returns this error. Note that the installation on Windows 7 machines does not report any errors.
Is there a modification to be made to the packages intended to be installed on W10?
Code: Select all
'Traceback (most recent call last):\n File "C:\\Program Files (x86)\\wapt\\common.py", line 4372, in install\n force=force\n File "C:\\Program Files (x86)\\wapt\\common.py",
line 3591, in install_wapt\n raise e\nCalledProcessErrorOutput: Command \'"Traps_x64_4.1.3.33176.msi" /qn CYVERA_SERVER=traps.institutdegenech.fr USE_SSL_PRIMARY=0 CYVERA_SERVER_PORT=2125 /l*v "
C:\\\\temp\\\\trapsinstall.log"\' returned non-zero exit status 1603.\nOutput:\n']]
Re: Windows 10 Package Installation Error
Published: February 18, 2019 - 09:42
by agauvrit
Good morning,
There is no impact between Win7 and Win10, however, it is likely that your software will not behave in the same way.
- What do you get in the log file C:\temp\trapsinstall.log?
- What do you get when you throw it by hand?
Re: Windows 10 Package Installation Error
Published: February 18, 2019 - 5:26 PM
by Nicolas Halsberghe
Hello,
I didn't see anything unusual in the Traps log file. And when I install it manually, I don't get any errors. I added `accept_returncodes=[1603]` to setup.py so that the installation would complete without errors.
EDIT:
Here's what I found in the log file. The problem seems to be with Traps. To be continued...
MSI (s) (84:4C) [10:58:37:065]: Windows Installer has reconfigured the product. Product name: Traps 4.1.3.33176. Product version: 4.1.3.33176. Product language: 1033. Manufacturer: Palo Alto Networks, Inc.. Reconfiguration success or error status: 1603.
MSI (s) (84:4C) [10:58:37:065]: Deferring clean up of packages/files, if any exist
MSI (s) (84:4C) [10:58:37:065]: MainEngineThread is returning 1603
MSI (s) (84:20) [10:58:37:081]: RESTART MANAGER: Session closed.
MSI (s) (84:20) [10:58:37:081]: No System Restore sequence number for this installation.
=== Logging stopped: 02/19/2019 10:58:37 ===
MSI (s) (84:20) [10:58:37:081]: User policy value 'DisableRollback' is 0
MSI (s) (84:20) [10:58:37:081]: Machine policy value 'DisableRollback' is 0
MSI (s) (84:20) [10:58:37:081]: Incrementing counter to disable shutdown. Counter after increment: 0
MSI (s) (84:20) [10:58:37:081]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2
MSI (s) (84:20) [10:58:37:081]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2
MSI (s) (84:20) [10:58:37:081]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied. Counter after decrement: -1
MSI (s) (84:20) [10:58:37:081]: Restoring environment variables
MSI (s) (84:20) [10:58:37:081]: Destroying RemoteAPI object.
MSI (s) (84:00) [10:58:37:081]: Custom Action Manager thread ending.
MSI (c) (98:2C) [10:58:37:081]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied. Counter after decrement: -1
MSI (c) (98:2C) [10:58:37:081]: MainEngineThread is returning 1603
=== Verbose logging stopped: 02/19/2019 10:58:37 ==
Re: Windows 10 Package Installation Error
Published: February 21, 2019 - 09:02
by skoizer
Isn't this more of a legal issue?
When the installation is done on the Wapt service account, perhaps it needs an increased privilege level?