Error during package installation

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
arsoul35
Messages: 5
Registration: February 5, 2016 - 5:32 PM

February 5, 2016 - 5:38 PM

Good morning,

I have a Flash Player 20 package that won't install on several PCs, but it works without any problems on others

Here is the error:

Code: Select all

Exception: Erreur lors de l'installation de dua-flashplayer (=20.0.0.286-1) : {'skipped': [], 'additional': [], 'downloads': {'downloaded': [], 'skipped': [u'C:\\wapt\\cache\\dua-flashplayer_20.0.0.286-1_all.wapt'], 'errors': []}, 'remove': [], 'upgrade': [], 'install': [(u'dua-flashplayer (=20.0.0.286-1)', PackageEntry('dua-flashplayer','20.0.0.286-1'))], 'errors': [[u'dua-flashplayer (=20.0.0.286-1)', PackageEntry('dua-flashplayer','20.0.0.286-1')]], 'unavailable': []}
Perhaps more detail in this one:

Code: Select all

Exception: Erreur lors de l'installation de profpacom11.dualis.fr (=8) : {'skipped': [(u'dua-adobereader', PackageEntry('dua-adobereader','11.9-3')), (u'dua-java8', PackageEntry('dua-java8','8.60-7')), (u'dua-7zip', PackageEntry('dua-7zip','9.38.0-1')), (u'general', PackageEntry('general','3'))], 'additional': [(u'dua-flashplayer', PackageEntry('dua-flashplayer','20.0.0.286-1'))], 'downloads': {'downloaded': [u'C:\\wapt\\cache\\dua-flashplayer_20.0.0.286-1_all.wapt', u'C:\\wapt\\cache\\profpacom11.dualis.fr.wapt'], 'skipped': [], 'errors': []}, 'remove': [], 'upgrade': [], 'install': [(u'profpacom11.dualis.fr (=8)', PackageEntry('profpacom11.dualis.fr','8')), (u'dua-flashplayer', PackageEntry('dua-flashplayer','20.0.0.286-1'))], 'errors': [[u'dua-flashplayer', PackageEntry('dua-flashplayer','20.0.0.286-1')]], 'unavailable': []}
Floflobel
Messages: 135
Registration: Oct 15, 2015 - 5:32 p.m.

February 8, 2016 - 8:08 AM

Where did the package come from?

Can you provide the code if it came from you?
arsoul35
Messages: 5
Registration: February 5, 2016 - 5:32 PM

February 8, 2016 - 10:42

The package I'm installing comes from the wapt repository
User avatar
htouvet
WAPT Expert
Messages: 436
Registration: March 16, 2015 - 10:48
Contact :

February 8, 2016 - 6:03 PM

On the machine experiencing the error, try using the command line with debug options...

Launch a command prompt with administrator privileges and then:

`wapt-get -l debug install dua-flashplayer`


Hubert
Tranquil IT
arsoul35
Messages: 5
Registration: February 5, 2016 - 5:32 PM

February 9, 2016 - 4:27 PM

Here is the result of the debugging in admin mode

Code: Select all

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

C:\Users\administrateur>wapt-get -l debug install dua-flashplayer
Current loglevel : DEBUG
2016-02-09 16:10:12,696 DEBUG Default encoding : ascii
2016-02-09 16:10:12,696 DEBUG Setting encoding for stdout and stderr to cp850
2016-02-09 16:10:12,696 DEBUG Python path ['C:\\wapt', 'C:\\wapt\\python27.zip',
 'C:\\wapt\\DLLs', 'C:\\wapt\\lib', 'C:\\wapt\\lib\\plat-win', 'C:\\wapt\\lib\\l
ib-tk', 'C:\\wapt', 'C:\\wapt\\lib\\site-packages', 'C:\\wapt\\lib\\site-package
s\\win32', 'C:\\wapt\\lib\\site-packages\\win32\\lib', 'C:\\wapt\\lib\\site-pack
ages\\netifaces', 'C:\\wapt\\lib\\site-packages\\py_bcrypt-0.4-py2.7-win32.egg']

2016-02-09 16:10:12,696 DEBUG Config file: C:\wapt\wapt-get.ini
2016-02-09 16:10:12,710 INFO User Groups:[]
2016-02-09 16:10:12,710 DEBUG WAPT base directory : C:\wapt
2016-02-09 16:10:12,710 DEBUG Package cache dir : C:\wapt\cache
2016-02-09 16:10:12,710 DEBUG Thread 7656 is connecting to wapt db
2016-02-09 16:10:12,710 DEBUG WAPT DB Structure version;: 20140410
2016-02-09 16:10:12,710 DEBUG Checking if old install in progress
2016-02-09 16:10:12,726 DEBUG Thread 7656 is connecting to wapt db
2016-02-09 16:10:12,726 DEBUG DB Start transaction
2016-02-09 16:10:12,726 DEBUG reset stalled install_status in database
2016-02-09 16:10:12,726 INFO Status :
2016-02-09 16:10:12,743 DEBUG DB commit
installing WAPT packages dua-flashplayer
2016-02-09 16:10:12,914 INFO   Use cached package file from C:\wapt\cache\dua-fl
ashplayer_20.0.0.286-1_all.wapt
2016-02-09 16:10:12,944 INFO Package issued by C=FR, L=paris, O=dualis, OU=infor
matique
2016-02-09 16:10:12,944 DEBUG Downloaded : {'downloaded': [], 'skipped': [u'C:\\
wapt\\cache\\dua-flashplayer_20.0.0.286-1_all.wapt'], 'errors': []}
Installing dua-flashplayer
2016-02-09 16:10:12,944 INFO Register start of install C:\wapt\cache\dua-flashpl
ayer_20.0.0.286-1_all.wapt as user Administrateur to local DB with params {}
2016-02-09 16:10:12,944 INFO Interactive user:Administrateur, usergroups []
2016-02-09 16:10:13,039 INFO Status : Installing package dua-flashplayer version
 20.0.0.286-1 ...
2016-02-09 16:10:13,039 DEBUG DB Start transaction
2016-02-09 16:10:13,039 DEBUG DB commit
2016-02-09 16:10:13,101 DEBUG DB Start transaction
2016-02-09 16:10:13,101 DEBUG DB commit
2016-02-09 16:10:13,178 INFO Installing package C:\wapt\cache\dua-flashplayer_20
.0.0.286-1_all.wapt
2016-02-09 16:10:13,178 INFO   unzipping C:\wapt\cache\dua-flashplayer_20.0.0.28
6-1_all.wapt to temporary c:\users\admini~1\appdata\local\temp\wapt857_n3
2016-02-09 16:10:13,428 INFO Package issued by C=FR, L=paris, O=dualis, OU=infor
matique
2016-02-09 16:10:13,585 INFO   sourcing install file c:\users\admini~1\appdata\l
ocal\temp\wapt857_n3\setup.py
2016-02-09 16:10:13,585 INFO Install parameters : {}
2016-02-09 16:10:13,585 DEBUG DB Start transaction
2016-02-09 16:10:13,585 DEBUG DB commit
2016-02-09 16:10:13,663 INFO   executing install script
Installing flash for firefox2016-02-09 16:10:13,663 DEBUG DB Start transaction
2016-02-09 16:10:13,663 DEBUG DB commit

MSI install_flash_player_20_plugin.msi already installed. Skipping msiexec2016-0
2-09 16:10:13,772 DEBUG DB Start transaction
2016-02-09 16:10:13,772 DEBUG DB commit

Installing flash for internet explorer if < win102016-02-09 16:10:13,913 DEBUG D
B Start transaction
2016-02-09 16:10:13,913 DEBUG DB commit

2016-02-09 16:10:13,990 DEBUG Kill tasks ['iexplore.exe']
2016-02-09 16:10:14,022 INFO Run "('msiexec /norestart /q /i "install_flash_play
er_20_active_x.msi"',)"
2016-02-09 16:10:20,496 WARNING ('msiexec /norestart /q /i "install_flash_player
_20_active_x.msi"',) command returns code 1603
2016-02-09 16:10:20,510 CRITICAL Fatal error in install script: EWaptSetupExcept
ion: Fatal error : MSI install_flash_player_20_active_x.msi has been installed b
ut the uninstall key {D21D7AFD-8DF3-4EF0-B81B-A2AA5AEFE713} can not be found:Tra
ceback (most recent call last):
  File "C:\wapt\common.py", line 3266, in install_wapt
    exitstatus = setup.install()
  File "c:\users\admini~1\appdata\local\temp\wapt857_n3\setup.py", line 21, in i
nstall
    install_msi_if_needed('install_flash_player_20_active_x.msi',killbefore=['ie
xplore.exe'])
  File "C:\wapt\setuphelpers.py", line 3053, in install_msi_if_needed
    error('MSI %s has been installed but the uninstall key %s can not be found'
% (msi,key))
  File "C:\wapt\setuphelpers.py", line 3160, in error
    raise EWaptSetupException(u'Fatal error : %s' % reason)
EWaptSetupException: Fatal error : MSI install_flash_player_20_active_x.msi has
been installed but the uninstall key {D21D7AFD-8DF3-4EF0-B81B-A2AA5AEFE713} can
not be found

2016-02-09 16:10:20,510 DEBUG Cleaning package tmp dir
2016-02-09 16:10:20,526 DEBUG DB Start transaction
2016-02-09 16:10:20,526 DEBUG DB commit
2016-02-09 16:10:20,635 DEBUG Check if host package "talypacom4.dualis.fr" is av
ailable
2016-02-09 16:10:20,635 DEBUG store status in DB
2016-02-09 16:10:20,635 DEBUG DB Start transaction
2016-02-09 16:10:20,635 DEBUG DB commit
2016-02-09 16:10:20,698 INFO Status :
2016-02-09 16:10:20,698 DEBUG DB Start transaction
2016-02-09 16:10:20,698 DEBUG DB commit
2016-02-09 16:10:20,760 CRITICAL Package dua-flashplayer not installed due to er
rors : EWaptSetupException: Fatal error : MSI install_flash_player_20_active_x.m
si has been installed but the uninstall key {D21D7AFD-8DF3-4EF0-B81B-A2AA5AEFE71
3} can not be found
FATAL ERROR : EWaptSetupException: Fatal error : MSI install_flash_player_20_act
ive_x.msi has been installed but the uninstall key {D21D7AFD-8DF3-4EF0-B81B-A2AA
5AEFE713} can not be found
Traceback (most recent call last):
  File "<string>", line 1011, in <module>
  File "<string>", line 311, in main
  File "C:\wapt\common.py", line 3793, in install
    explicit_by=self.user if request in apackages else None
  File "C:\wapt\common.py", line 3323, in install_wapt
    raise e
setuphelpers.EWaptSetupException: Fatal error : MSI install_flash_player_20_acti
ve_x.msi has been installed but the uninstall key {D21D7AFD-8DF3-4EF0-B81B-A2AA5
AEFE713} can not be found
Exception at 0043F22F: EPyException:
EWaptSetupException: Fatal error : MSI install_flash_player_20_active_x.msi has
been installed but the uninstall key {D21D7AFD-8DF3-4EF0-B81B-A2AA5AEFE713} can
not be found.

C:\Users\administrateur>
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

February 10, 2016 - 12:26 AM

Hello,

the ActiveX installation seems to be returning error 1603.

The official Adobe information is here: https://helpx.adobe.com/flash-player/kb ... -sccm.html
arsoul35
Messages: 5
Registration: February 5, 2016 - 5:32 PM

February 11, 2016 - 09:55

Finally, I only have two PCs with errors left, so I just reinstalled Flash Player from the Adobe website. Wapt is no longer showing the error.

Thanks for the help!
arsoul35
Messages: 5
Registration: February 5, 2016 - 5:32 PM

March 1, 2016 - 3:46 PM

Here

's the error the server is displaying:

Installing flash for firefox
EWaptSetupException: Fatal error: MSI install_flash_player_20_plugin.msi has been installed but the uninstall key {0C942CD9-6F38-498A-808F-C76EDBBA1969} cannot be found.

However, on other PCs, there's no error:

Installing flash for firefox
Installing flash for internet explorer if < win10
Disable autoupdate
Dylan
Messages: 20
Registration: June 9, 2016 - 10:28

June 20, 2016 - 5:19 PM

Hello,

have you found a solution to your problem? I'm encountering a similar issue:
"Installing flash for firefox
EWaptSetupException: Fatal error: MSI install_flash_player_21_plugin.msi has been installed but the uninstall key {C4E4BF86-4E27-4B8B-8BF9-A5BF1C7573A4} can not be found"

Dylan
User avatar
sfonteneau
WAPT Expert
Messages: 2318
Registered: July 10, 2014 - 11:52 PM
Contact :

June 20, 2016 - 7:19 PM

What happens when you manually install install_flash_player_21_plugin.msi?

Running it manually on a machine experiencing an error can highlight the problem.
Basically, running install_flash_player_21_plugin.msi during installation doesn't seem to return an error; however, no uninstallkey for the MSI was found at the end of the installation, which is unusual. The wapt package is therefore intentionally causing an error.

Integrating uninstall_flash_player.exe into the package could potentially resolve the issue...
https://helpx.adobe.com/fr/flash-player ... ninstaller
Locked