[wpkg-users] Uninstallation of Autocad 2009

Falko Trojahn nospam_ft at smi-softmark.de
Wed May 13 14:46:23 CEST 2009


Hello Luca,

thanx for the logs - just for the record, here your original question:
> I have a question.
>
> On a PC I've installed Autocad 2009, all OK.
> Then I opened the host.xml and removed the profile entry of AutoCad 2009,
> to uninstall it on that pc.
> At the synchronization, I see this log:
>
> Reading variables from host 13c109
> Uninstall entry for AutoCAD 2009 - Italiano was found: test successful
> Package 'Autocad 2009' (autocad2009): Already installed. Skipping.
> Package 'Autocad 2009' (autocad2009): Not yet processed during this
> session.
> Removal of depending packages for 'Autocad 2009' (autocad2009) successfully
> finished.
>   
The last line doesn't appear in your recent log - so at time of creation of
this thread this perhaps was a wrong log comment, since 'Autocad 2009'
isn't really deinstalled.

Now, we get
"  Removal of depending packages for 'RasterDesign' (RasterDesign)
successfully finished "
which is wrong, too - perhaps just a failure in debug logging.

> ...

> Reading variables from host 13c109
> Uninstall entry for AutoCAD 2009 - Italiano was found: test successful
> Checking autocad2009 zombie state.
> Could not process (remove) Autocad 2009.
> Package still installed.
>
>
> I don't understand why it doesn't uninstall it. The msiexec /x is never
> executed... and what's that "zombie state"?
>
> Any hint?
>   

>> For your problem: I think we must see the full log with /logLevel=0xff,
>> and your packages.xml entry for AutoCAD 2009, to find a way to help you.
>>     
>
> after installing wpkg 1.1 M29, I managed to try those flags. Sorry for the
> late.
>
> I'll attach both the log and the package xml.
>
Let's have a look - in the log file we have to search for lines
containing " ERROR ".

 grep " ERROR " wpkg.log
2009-05-13 10:52:46, ERROR   : Could not process (remove)
RasterDesign.|Package still installed.
2009-05-13 10:52:46, ERROR   : Removal of depending packages for
'RasterView' (RasterView) failed. Removal of depending package
'RasterDesign' (RasterDesign) failed
2009-05-13 10:52:46, ERROR   : Failed to remove package which depends on
'RasterView (RasterView), skipping removal.|You might use the /force
flag to force removal but remember that the package depending on this
one might stop working.
2009-05-13 10:52:46, ERROR   : Could not process (remove)
RasterView.|Package still installed.

This is strange - are you sure, that your autocad2009.xml didn't change
after install on this machine?
RasterView doesn't depend from RasterDesign in autocad2009.xml ...
Could you please send your wpkg.xml from c:\windows\system32\ (the 3
regarded packages suffice).

2009-05-13 10:52:46, ERROR   : Removal of depending packages for
'Autocad 2009' (autocad2009) failed. Removal of depending package
'RasterView' (RasterView) failed
2009-05-13 10:52:46, ERROR   : Failed to remove package which depends on
'Autocad 2009 (autocad2009), skipping removal.|You might use the /force
flag to force removal but remember that the package depending on this
one might stop working.
2009-05-13 10:52:46, ERROR   : Could not process (remove) Autocad
2009.|Package still installed.

So you can see, that RasterDesign and RasterView depend of autocad2009,
but have no "remove" commands. That's why you can't remove autocad2009
before
you removed RasterDesign and RasterView.

But, you can't remove them, as you don't have remove commands in it's
package definitions.
Besides, there is an spelling error "reivision=" in RasterDesign package.

Now, what you can do is:

- add the "remove" commands for RasterDesign and RasterView, then
increment the revision number
  -> on next run, due to the increased revision number, the new package
definition with the remove
   commands comes in to play, so the 2 packages should be removed
successfuly before removing
   Autocad

If you cannot provide the remove commands, you can do the following:

- increase the revision number
- drop the "check" line
- set "execute=once" in package header.

IMHO this would lead to removal of autocad2009 package, too, since
RasterDesign and RasterView packages will be just removed without question.

BTW I'd suggest setting logLevel in config.xml to e.g. "7" now - so only
information and errors
are logged. If you get some problems again and don't know why there are
errors, you can
rise the logLevel on a single machine by command line parameter.

Best regards,
Falko



More information about the wpkg-users mailing list