cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
dziants
Level 6

Writing own messages to log during uninstallation

Am using SP 3.
I create a log during uninstall and want to write to this log my own messages during silent uninstallation.

For silent installation, I can do this by using CustomError service on InstallerProxy. This I obtain as follows:-
CustomError error = (CustomError)ip.getService(CustomError.class);

and then use standard method calls on error.


This does not work for UninstallerProxy, and according to the documentation it seems this service is not supported for this proxy.

So, how can I write my own messages to the relevant log file during uninstallation time?

Many thanks,
David
Labels (1)
0 Kudos
(2) Replies
SunnyBoy
Level 6

Hello David,

I am afrid that the custom messages cannot be wrriten during uninstall time.

Regards
SunnyBoy
0 Kudos
dziants
Level 6

Thank you, SunnyBoy, for your reply.

Could there be a possibilty, during pre-uninstall, of obtaining a reference to the log file whilst it is still in the temp directory and using the "Modify Text File" action to append my own text?

David
0 Kudos