
wangxxi1.5524922165570325E12 asked a question.
Want customize the message on Install Summry panel.....
:confused: Hi,
We are creating a "Wizard" installer . It does not install any thing on the machine but only carry out a series of wizards , eg, modify some files during these wizard.
We want to display what these wizards have done at the end of the installation process. Is it feasible to customization the message displayed on the Install Summry panel ?
I did something like this inside the wizard action, but it did not work.....
private int type = ProductService.POST_UNINSTALL;
private final String productURL = ProductService.DEFAULT_PRODUCT_SOURCE;
...................
...................
...................
...................
...................
Properties summary =((ProductService)this.getService(ProductService.NAME)).getProductSummary(productURL, type,
ProductService.HTML);
summary.setProperty(ProductService.SUMMARY_MSG,myMessage);
1. Created a custom event to check status of update.
2. Set a property to hold status.
3. Create a custom event to analyze status and create a var that holds text to be shown in the summary panel.
4. In the summary panel itself, display the var.
Its not elegant, but it works.