View Full Version : Custom bean jar

06-02-2003, 11:51 PM
I am new to installshield Multiplatform.I have to add a jar containing my custom beans.I have edited the ismp.cp file but the custom beans are not showing up in the available beans.

06-03-2003, 07:14 AM
In addition to adding the path to your JAR file which contains your custom beans, you also have to register the beans individually. To do this, go to the "tools" drop down menu and select bean gallery. Specify the package and class name when registering your bean, less the .class extension.

01-07-2004, 03:09 AM
I have a related question to this post

I try to test sample included on ISMP5.0

I rename it to WizPanelDestination.java and change the class name of the code as well to WizPanelDestination and compile it with no problem

I register it and insert it to my project successfully

After building I run the installer but it skip the WizPanelDestination

What could have been wrong?

01-07-2004, 08:27 AM
You also need to extend the "impl" classes for the destination panel. Please see the attached example which extends the destination panel.

Note: You do not register the "impl" classes. Only the "base" class is registered (GenericDestinationPanel).

01-07-2004, 12:17 PM
Here is the attachment.

01-07-2004, 10:43 PM
Thank you it works fine with me!

By the way the reason why I need to create a custom Destination Panel is

1) to add a filter for
; + ! @ # $ % ^ & ( ) = { } [ ] ' ,

because they can not be uninstall if was included on destination directory

2) to avoid user entering C:myFolder

because the user is expecting to write on "myFolder" on drive C:
and the error state can not write on that folder

I hope InstallShield may address my reason in the future

Thanks again! :-)