This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallAnywhere
- :
- InstallAnywhere Forum
- :
- Re: Writing own messages to log during uninstallation
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
‎Oct 29, 2012
12:14 PM
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
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
(2) Replies
‎Oct 30, 2012
07:07 AM
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
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