PDA

View Full Version : How to set text of uninstall summary



jeff.beller
03-09-2005, 02:11 PM
I have a situation where I want my uninstall to fail and skip forward to the post uninstall summary dialog. At the time I detect that I need to fail, I want to set the text that gets displayed in the summary dialog. I'm looking for the complement to this (this is the code that reads the summary in the summary dialog):

Properties summary = pservice.getProductSummary(
ProductService.DEFAULT_PRODUCT_SOURCE,
ProductService.POST_UNINSTALL,
ProductService.HTML);

String sumMessage = summary.getProperty (ProductService.SUMMARY_MSG);