cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
whatisnew
Level 2

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);
Labels (1)
0 Kudos
(1) Reply
jweber
Level 6

I suppose you could actually do something like... However, whenever I needed to do something like this. I did the following...

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.
0 Kudos