[wpkg-users] Firefox zombie state

Bruno CHOQUET bruno.choquet at unicaen.fr
Wed Apr 4 16:17:26 CEST 2012


Falko,

It's not a profil or host problem : i just want to uninstall Firefox 6.

Best regards,

Bruno CHOQUET, responsable du service informatique de l'IUT d'Alençon.
correspondant informatique du site universitaire d'Alençon.
http://www.unicaen.fr/iutalencon
Tel : 02.33.80.85.10


Le 04/04/2012 16:01, Falko Trojahn a écrit :
> Bonjour Bruno,
>
> "zombie state" means that there is a package assigned to a profile,
> but the package does not exist. This is not the case here.
>
> For some reason the package is not assigned to your profile or host,
> so Wpkg tries to uninstall firefox - this is what I read in your log.
>
> Here is a firefox package what I use here on Win 7 64 bit.
>
> Best regards,
> Falko
>
> <package
> 	id="firefox"
> 	name="Mozilla Firefox"
> 	revision="%version%"
> 	reboot="false"
> 	priority="10">
>
> 	<variable name="version" value="11.0" />
> 	<variable name="architecture" value="x86" />
> 	<variable name="locale" value="de" />
>
> 	<check type="logical" condition="or">
> 		<check type="uninstall" condition="exists" path="Mozilla Firefox
> %version% (%architecture% %locale%)" />
> 		<check type="uninstall" condition="versiongreaterorequal" path="Mozilla
> Firefox .+" value="%version%" />
> 	</check>
>
> 	<install cmd="taskkill /F /IM Firefox.exe">
> 		<exit code="0" />
> 		<exit code="-1073741515" />
> 		<exit code="128" />
> 	</install>
>
> 	<install cmd='"%SOFTWARE%\packages\mozilla\Firefox Setup %version%.exe"
> -ms' />
>
> 	<upgrade cmd="taskkill /F /IM Firefox.exe">
> 		<exit code="0" />
> 		<exit code="128" />
> 		<exit code="-1073741515" />
> 	</upgrade>
>
> 	<upgrade cmd='"%SOFTWARE%\packages\mozilla\Firefox Setup %version%.exe"
> -ms' />
>
> 	<remove cmd="taskkill /F /IM Firefox.exe">
> 		<exit code="0" />
> 		<exit code="128" />
> 		<exit code="-1073741515" />
> 	</remove>
>
>          <!-- for 32bit and 64bit System -->
> 	<remove cmd='%COMSPEC% /C if exist "%PROGRAMFILES%\Mozilla
> Firefox\uninstall\helper.exe" "%PROGRAMFILES%\Mozilla
> Firefox\uninstall\helper.exe" -ms' />
> 	<remove cmd='%COMSPEC% /C if exist "%PROGRAMFILES(x86)%\Mozilla
> Firefox\uninstall\helper.exe" "%PROGRAMFILES(x86)%\Mozilla
> Firefox\uninstall\helper.exe" -ms' />
>
> </package>
>
>
>
> On Wed, 04 Apr 2012 15:35:31 +0200, Bruno CHOQUET
> <bruno.choquet at unicaen.fr>  wrote:
>> Bruno CHOQUET, responsable du service informatique de l'IUT d'Alençon.
>> correspondant informatique du site universitaire d'Alençon.
>> http://www.unicaen.fr/iutalencon
>> Tel : 02.33.80.85.10
>>
>>
>> Le 04/04/2012 11:41, Falko Trojahn a écrit :
>>> Hello,
>>>
>>> On Wed, 04 Apr 2012 11:22:01 +0200, Bruno CHOQUET
>>> <bruno.choquet at unicaen.fr>   wrote:
>>>> With Windows 7 32bit sp1, I have zombie state with firefox 6.02, an
> idea
>>>> ? (no problem with Windows XP)
>>>> <variable name="architecture" value="x86" />
>>> This is the problem - you define architecture to always be x86, so
>>>
>>>
>>>> <check type="uninstall" condition="exists" path="Mozilla Firefox
>>>> %version% (%architecture% %locale%)" />
>>> perhaps the architecture variable is not correct for e.g. Win7 64.
>> NO same instal
>>>> 2012-04-04 11:08:46, DEBUG   : Host attribute 'architecture' with
> value
>>>> 'x86' matches expression 'x86'.
>>>> 2012-04-04 11:08:46, DEBUG   : XML node with special host attribute
>>>> match found: architecture=x86
>>>> 2012-04-04 11:08:46, DEBUG   : Host attribute 'architecture' with
> value
>>>> 'x86' does not match expression 'x64'.
>>>> 2012-04-04 11:08:46, DEBUG   : No value of 'architecture' matched
> 'x64'.
>>>> Skipping to next definition.
>>>> 2012-04-04 11:08:46, DEBUG   : Could not match all attributes of XML
>>>> node to current host. Skipping to next definition.
>>>> 2012-04-04 11:08:46, DEBUG   : Got variable 'version' of value '6.0.2'
>>>> 2012-04-04 11:08:46, DEBUG   : Got variable 'architecture' of value
>>> 'x86'
>>>> 2012-04-04 11:08:46, DEBUG   : Got variable 'locale' of value 'fr'
>>>> 2012-04-04 11:08:46, DEBUG   : Got variable 'ProgFiles' of value
>>>> '%PROGRAMFILES%'
>>>> 2012-04-04 11:08:48, DEBUG   : Uninstall entry 'Mozilla Firefox 6.0.2
>>>> (x86 fr)' matches string 'Mozilla Firefox 6.0.2 (x86 fr)'.
>>>> 2012-04-04 11:08:48, DEBUG   : Uninstall entry for Mozilla Firefox
>>>> %version% (%architecture% %locale%) was found: test successful.
>>>> 2012-04-04 11:08:48, DEBUG   : Searching for previously executed
> checks
>>>> with attributes type='uninstall', condition='exists', path='Mozilla
>>>> Firefox %version% (%architecture% %locale%)'
>>>> 2012-04-04 11:08:48, DEBUG   : Found 1 previously executed checks.
>>>> 2012-04-04 11:08:48, DEBUG   : Replacing check results of previous
>>>> evaluation
>>>> 2012-04-04 11:08:48, DEBUG   : Saving unsorted settings to
>>>> 'C:\Windows\System32\wpkg.xml'.
>>>> 2012-04-04 11:08:48, DEBUG   : Saving XML :
> C:\Windows\System32\wpkg.xml
>>>> 2012-04-04 11:08:48, DEBUG   : Checking firefox602 zombie state.
>>>> 2012-04-04 11:08:48, ERROR   : Could not process (remove) Mozilla
>>>> Firefox.|Package still installed.
>>> The line about zomie state is not the problem. You are removing
> firefox,
>>> but after removing the Uninstall entry is still present, so wpkg
>>> correctly
>>> states that the package is still installed.
>> No it always retry to uninstall
>>> HTH
>>> Falko
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.wpkg.org/pipermail/wpkg-users/attachments/20120404/d81e553c/attachment-0002.html>


More information about the wpkg-users mailing list