Flash installation errors on some computers

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
PPE
Messages: 29
Registration: March 19, 2018 - 5:03 PM

October 1, 2018 - 4:50 PM

Hello,

I'm encountering an error on several machines when installing the tis-flasplayer package. Some machines are running Windows 7 Pro, others Windows 10.

The console message is copied below.

What could be causing this error?

Another, more general question: is it possible to clear the error status on a machine once the problem has been identified?

Information
- Installed WAPT version: 1.5.1.23
- Server OS: Windows Server 2012r2
- Administration/Package Creation Machine OS: Windows Server 2012r2

-------------- start paste -------------

Installing stjo-flashplayer
Exception: Error installing stjo-flashplayer (=31.0.0.108-2): errors in packages [[u'stjo-flashplayer (=31.0.0.108-2)', PackageEntry('stjo-flashplayer','31.0.0.108-2') ]]
Traceback (most recent call last):
File "C:\Program Files (x86)\wapt\waptservice\waptservice.py", line 1151, in run
self.running_task.run()
File "C:\Program Files (x86)\wapt\waptservice\waptservice_common.py", line 405, in pwrapper
return func(*arg, **kwargs)
File "C:\Program Files (x86)\wapt\waptservice\waptservice_common.py", line 464, in run
self._run()
File "C:\Program Files (x86)\wapt\waptservice\waptservice_common.py", line 884, in _run
self.result.get('errors',[])))
Exception: Error installing stjo-flashplayer (=31.0.0.108-2): errors in packages [[u'stjo-flashplayer (=31.0.0.108-2)', PackageEntry('stjo-flashplayer','31.0.0.108-2') ]]

------- end paste ------
User avatar
dcardon
WAPT Expert
Messages: 1932
Registration: June 18, 2014 - 09:58
Location: Saint Sébastien sur Loire
Contact :

October 2, 2018 - 7:41 PM

Hello PPE,
PPE wrote: Oct 1, 2018 - 4:50 PM -------------- start paste -------------

Installing stjo-flashplayer
Exception: Error installing stjo-flashplayer (=31.0.0.108-2): errors in packages [[u'stjo-flashplayer (=31.0.0.108-2)', PackageEntry('stjo-flashplayer','31.0.0.108-2') ]]
Traceback (most recent call last):
File "C:\Program Files (x86)\wapt\waptservice\waptservice.py", line 1151, in run
self.running_task.run()
File "C:\Program Files (x86)\wapt\waptservice\waptservice_common.py", line 405, in pwrapper
return func(*arg, **kwargs)
File "C:\Program Files (x86)\wapt\waptservice\waptservice_common.py", line 464, in run
self._run()
File "C:\Program Files (x86)\wapt\waptservice\waptservice_common.py", line 884, in _run
self.result.get('errors',[])))
Exception: Error installing stjo-flashplayer (=31.0.0.108-2): errors in packages [[u'stjo-flashplayer (=31.0.0.108-2)', PackageEntry('stjo-flashplayer','31.0.0.108-2') ]]

------- end paste ------
Could you try running the command `wapt-get install -l debug stjo-flashplayer` in a cmd.exe with elevated privileges on a machine that has this problem in order to get a more precise stack trace?.

Sincerely,

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
PPE
Messages: 29
Registration: March 19, 2018 - 5:03 PM

October 3, 2018 - 11:51

Good morning,

Below is the result of the command in question.

THANKS.


---- start gluing ----

Code: Select all

Microsoft Windows [version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. Tous droits réservés.

C:\Windows\system32>wapt-get install -l debug stjo-flashplayer
Current loglevel : DEBUG
2018-10-03 11:37:56,421 DEBUG Default encoding : ascii
2018-10-03 11:37:56,421 DEBUG Setting encoding for stdout and stderr to cp850
2018-10-03 11:37:56,421 DEBUG Python path ['C:\\Program Files\\wapt', 'C:\\Progr
am Files\\wapt\\python27.zip', 'C:\\Program Files\\wapt\\DLLs', 'C:\\Program Fil
es\\wapt\\lib', 'C:\\Program Files\\wapt\\lib\\plat-win', 'C:\\Program Files\\wa
pt\\lib\\lib-tk', 'C:\\Program Files\\wapt', 'C:\\Program Files\\wapt\\lib\\site
-packages', 'C:\\Program Files\\wapt\\lib\\site-packages\\pywin32-221-py2.7-win3
2.egg']
2018-10-03 11:37:56,421 INFO Using local waptservice configuration C:\Program Fi
les\wapt\wapt-get.ini
2018-10-03 11:37:56,421 DEBUG Config file: C:\Program Files\wapt\wapt-get.ini
2018-10-03 11:37:56,431 DEBUG Thread 10116 is connecting to wapt db
2018-10-03 11:37:56,441 INFO User Groups:[]
2018-10-03 11:37:56,441 DEBUG WAPT base directory : C:\Program Files\wapt
2018-10-03 11:37:56,441 DEBUG Package cache dir : C:\Program Files\wapt\cache
2018-10-03 11:37:56,441 DEBUG WAPT DB Structure version;: 20180303
2018-10-03 11:37:56,441 DEBUG Checking if old install in progress
2018-10-03 11:37:56,451 DEBUG Thread 10116 is connecting to wapt db
2018-10-03 11:37:56,451 DEBUG DB Start transaction
2018-10-03 11:37:56,451 DEBUG reset stalled install_status in database
2018-10-03 11:37:56,461 INFO Status :
2018-10-03 11:37:56,461 DEBUG DB commit
installing WAPT packages stjo-flashplayer
2018-10-03 11:37:56,572 INFO   Use cached package file from C:\Program Files\wap
t\cache\stjo-flashplayer_31.0.0.108-2_all_all.wapt
2018-10-03 11:37:56,681 DEBUG Stores cert chain check in cache
2018-10-03 11:37:56,681 DEBUG Downloaded : {'downloaded': [], 'skipped': [u'C:\\
Program Files\\wapt\\cache\\stjo-flashplayer_31.0.0.108-2_all_all.wapt'], 'error
s': [], 'packages': [PackageEntry('stjo-flashplayer','31.0.0.108-2') ]}
Installing stjo-flashplayer
2018-10-03 11:37:56,691 INFO Register start of install C:\Program Files\wapt\cac
he\stjo-flashplayer_31.0.0.108-2_all_all.wapt as user admin1 to local DB with pa
rams {}
2018-10-03 11:37:56,691 INFO Interactive user:admin1, usergroups []
2018-10-03 11:37:56,792 INFO Status : Installing package stjo-flashplayer versio
n 31.0.0.108-2 ...
2018-10-03 11:37:56,792 DEBUG DB Start transaction
2018-10-03 11:37:56,792 DEBUG DB commit
2018-10-03 11:37:56,792 DEBUG DB Start transaction
2018-10-03 11:37:56,802 DEBUG DB commit
2018-10-03 11:37:56,812 INFO Control data for package C:\Program Files\wapt\cach
e\stjo-flashplayer_31.0.0.108-2_all_all.wapt verified by certificate SSLCertific
ate cn=stjo-private
2018-10-03 11:37:56,812 INFO Installing package C:\Program Files\wapt\cache\stjo
-flashplayer_31.0.0.108-2_all_all.wapt
2018-10-03 11:37:56,822 INFO Unzipping package C:\Program Files\wapt\cache\stjo-
flashplayer_31.0.0.108-2_all_all.wapt to directory c:\users\admin1\appdata\local
\temp\waptgjmdej
2018-10-03 11:37:57,542 INFO Package has a setup.py, code signing certificate is
 required.
2018-10-03 11:37:57,552 DEBUG Certificate {'countryName': u'FR', 'commonName': u
'stjo-private', 'emailAddress': u'administratif@saintjoseph-machecoul.fr', 'orga
nizationName': u'Lyc\xe9e Saint Joseph', 'localityName': u'MACHECOUL'} is truste
d by root CA stjo-private
2018-10-03 11:37:57,552 DEBUG Checking signature with SSLCertificate cn=stjo-pri
vate
2018-10-03 11:37:57,552 DEBUG OK with SSLCertificate cn=stjo-private
2018-10-03 11:37:57,552 INFO Package issued by {'countryName': u'FR', 'commonNam
e': u'stjo-private', 'emailAddress': u'administratif@saintjoseph-machecoul.fr',
'organizationName': u'Lyc\xe9e Saint Joseph', 'localityName': u'MACHECOUL'}
2018-10-03 11:37:57,752 INFO Unzipped files verified by certificate SSLCertifica
te cn=stjo-private
2018-10-03 11:37:57,752 INFO   sourcing install file c:\users\admin1\appdata\loc
al\temp\waptgjmdej\setup.py
2018-10-03 11:37:57,752 DEBUG Import source c:\users\admin1\appdata\local\temp\w
aptgjmdej\setup.py as __waptsetup_v4t01k8viw__
2018-10-03 11:37:57,762 INFO Install parameters : {}
2018-10-03 11:37:57,762 DEBUG DB Start transaction
2018-10-03 11:37:57,762 DEBUG DB commit
2018-10-03 11:37:57,772 INFO   executing install script
Installing flash for firefox2018-10-03 11:37:57,792 DEBUG DB Start transaction
2018-10-03 11:37:57,792 DEBUG DB commit

MSI install_flash_player_31_plugin.msi already installed. Skipping msiexec2018-1
0-03 11:37:57,822 DEBUG DB Start transaction
2018-10-03 11:37:57,822 DEBUG DB commit

Installing flash for internet explorer if < win102018-10-03 11:37:57,832 DEBUG D
B Start transaction
2018-10-03 11:37:57,832 DEBUG DB commit

MSI install_flash_player_31_active_x.msi already installed. Skipping msiexec2018
-10-03 11:37:57,861 DEBUG DB Start transaction
2018-10-03 11:37:57,861 DEBUG DB commit

Disable autoupdate2018-10-03 11:37:57,871 DEBUG DB Start transaction
2018-10-03 11:37:57,871 DEBUG DB commit

2018-10-03 11:37:57,871 INFO Replacing C:\Windows\System32\Macromed\Flash\mms.cf
g
2018-10-03 11:37:57,881 INFO Run "sc delete AdobeFlashPlayerUpdateSvc"
2018-10-03 11:37:57,911 CRITICAL Fatal error in install script: CalledProcessErr
orOutput: Command 'sc delete AdobeFlashPlayerUpdateSvc' returned non-zero exit s
tatus 1.
Output:Accès refusé.
:
Traceback (most recent call last):
  File "C:\Program Files\wapt\common.py", line 3328, in install_wapt
    exitstatus = setup.install()
  File "c:\users\admin1\appdata\local\temp\waptgjmdej\setup.py", line 40, in ins
tall
    run('sc delete AdobeFlashPlayerUpdateSvc')
  File "C:\Program Files\wapt\common.py", line 3119, in run
    return ensure_unicode(setuphelpers.run(*arg,pidlist=self.pidlist,**args))
  File "C:\Program Files\wapt\setuphelpers.py", line 983, in run
    raise CalledProcessErrorOutput(proc.returncode,cmd,''.join(output))
CalledProcessErrorOutput: Command 'sc delete AdobeFlashPlayerUpdateSvc' returned
 non-zero exit status 1.
Output:Accès refusé.


2018-10-03 11:37:57,911 DEBUG Cleaning package tmp dir
2018-10-03 11:37:57,931 DEBUG DB Start transaction
2018-10-03 11:37:57,941 DEBUG DB commit
2018-10-03 11:37:57,951 DEBUG Removing module: __waptsetup_v4t01k8viw__, refcnt:
 4
2018-10-03 11:37:57,971 DEBUG Check if host package "912BC1D2-A878-E211-8BEE-505
054503030" is available
2018-10-03 11:37:57,982 DEBUG Checking if 912BC1D2-A878-E211-8BEE-505054503030 (
=3) is installed/outdated
2018-10-03 11:37:58,002 DEBUG store status in DB
2018-10-03 11:37:58,002 DEBUG DB Start transaction
2018-10-03 11:37:58,002 DEBUG DB commit
2018-10-03 11:37:58,002 INFO Status :
2018-10-03 11:37:58,002 DEBUG DB Start transaction
2018-10-03 11:37:58,012 DEBUG DB commit
2018-10-03 11:37:58,012 CRITICAL Package stjo-flashplayer not installed due to e
rrors : CalledProcessErrorOutput: Command 'sc delete AdobeFlashPlayerUpdateSvc'
returned non-zero exit status 1.
Output:Accès refusé.

FATAL ERROR : CalledProcessErrorOutput: Command 'sc delete AdobeFlashPlayerUpdat
eSvc' returned non-zero exit status 1.
Output:Accès refusé.

Traceback (most recent call last):
  File "<string>", line 1215, in <module>
  File "<string>", line 432, in main
  File "C:\Program Files\wapt\common.py", line 4185, in install
    explicit_by=(installed_by or self.user) if request in apackages else None
  File "C:\Program Files\wapt\common.py", line 3405, in install_wapt
    raise e
setuphelpers.CalledProcessErrorOutput:
Exception at 0043EC7F: EPyException:
CalledProcessErrorOutput: Command 'sc delete AdobeFlashPlayerUpdateSvc' returned
 non-zero exit status 1.
Output:Acc├¿s refus├®.
.

C:\Windows\system32>
User avatar
dcardon
WAPT Expert
Messages: 1932
Registration: June 18, 2014 - 09:58
Location: Saint Sébastien sur Loire
Contact :

October 3, 2018 - 2:35 PM

Hello PPE,
PPE wrote: Oct 3, 2018 - 11:51 ...
CalledProcessErrorOutput: Command 'sc delete AdobeFlashPlayerUpdateSvc' returned
non-zero exit status 1.
Output:Acc├¿s refusal├®.
[/code]
Was the `wapt-get install` command run from an elevated cmd.exe directory (check with `whoami /groups` -> label required\Elevated level required)? It seems to be the case; otherwise, access to the `waptdb.sqlite` database would likely have been denied.

Could you please check the permissions on the AdobeFlashPlayerUpdateSvc service?

Code: Select all

sc.exe sdshow AdobeFlashPlayerUpdateSvc
Sincerely,

Denis

PS: Please put code/shell blocks in appropriate code tags, it makes it easier to read.
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
PPE
Messages: 29
Registration: March 19, 2018 - 5:03 PM

October 12, 2018 - 3:23 PM

Hello,

Now that my WAPT server update issue is resolved, I can return to this problem.

Ultimately, I can't run the command "sc.exe sdshow AdobeFlashPlayerUpdateSvc".
I receive the message "access denied". Note that I am logged in as administrator on the machine and that I am launching cmd.exe with the "run as administrator..." option.

I imagine the error message received during the Flash package installation stems from this, but why can't I run the sc.exe command on these machines?

Have a good day.
User avatar
dcardon
WAPT Expert
Messages: 1932
Registration: June 18, 2014 - 09:58
Location: Saint Sébastien sur Loire
Contact :

October 12, 2018 - 5:52 PM

Hello PPE,
PPE wrote: Oct 12, 2018 - 3:23 PM Now that my WAPT server update issue is resolved, I can return to this problem.

Ultimately, I can't run the command "sc.exe sdshow AdobeFlashPlayerUpdateSvc".
I receive the message "access denied". Note that I am logged in as administrator on the machine and that I am launching cmd.exe with the "run as administrator..." option.

I imagine that the error message received during the Flash package installation stems from this, but why can't I run the sc.exe command on these machines?
Is the service listed in services.msc? Could you please check the permissions graphically for this service, if it exists?.

During the Flash Player package installation, the package removes the auto-update service if it exists. The problem here appears to be an incorrect Security Descriptor...

When a command crashes, it's much more helpful to provide the exact command line and its output in "code" blocks. This also allows you to have the return code and other information.

Sincerely,

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