View Full Version : ISMP Setup Properties
GrantI
07-19-2002, 01:21 PM
Does anyone know how to programmatically access the Setup properties (listed under the Product tab)? I want to have access to things like the image source, font, etc.
Thanks,
Grant
CharlesW
07-19-2002, 01:42 PM
To do this, you need to get an AWTWizardUI object. You can then get and set "AWT interface" properties. It should be noted, however, that many of these properties are set when the setup initializes, so if you change these properties, the changes will not be reflected on the wizard panels. For instance, you can not set the font displayed on the panels after the setup has initialized, nor can you change the wizard image which is displayed. The following sample code illustrates how to do this.
import com.installshield.wizard.*;
import com.installshield.wizard.awt.AWTWizardUI;
public class ResizePanel extends WizardAction
{
public void execute(WizardBeanEvent event)
{
AWTWizardUI ui = (AWTWizardUI) getWizard().getUI();
//for instance to set the title which is displayed
ui.setTitle("newTitle");
}
GrantI
07-19-2002, 03:21 PM
Thanks, I only need to read them in, so this will work for me, although it would be nice to be able to put up different sidebar images! Future release, I guess.
MarloV
07-19-2002, 03:41 PM
it would be nice to be able to put up different sidebar images!
You CAN change those "sidebar" images that display during runtime - Check out the Wizard Properties in the Installer Tab.
GrantI
07-19-2002, 03:46 PM
I can have multiple images for the "Wizard Image Source" that appear at different times throughout the wizard???? I don't mean billboards (aside: It would be nice to have billboards associated with the current feature that is being installed).
How do I do this?
MarloV
07-19-2002, 03:51 PM
I misunderstood your post. You can set up one set of Wizard Image and Icon during the entire installation, and a different set during uninstallation.
The only way to set up different images to display during the install is, as you know, the splash screens. They are associated with the percent complete, not specific features. But that is a good idea, and I will pass it on to our development team feature decision-makers.
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.