This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- unable to register after compilation also!
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 21, 2006
06:28 AM
How to access the functions written in custom bean?
Hello,
I'm working with InstallShield MultiPlatform Version 5.03 B362. I have written a function in a .java file which checks in registry whether MATLAB application is installed or not.If the entry is found, it returns the installed directory. I have registered this class with custom bean gallery.
Now, I have a copy file bean which will copy few files to the location returned by the JAVA function. I need to set the 'Installed location' property with the path returned by the function. How to do that?
Please let me know if i'm not clear.
Thanks,
Ajit
I'm working with InstallShield MultiPlatform Version 5.03 B362. I have written a function in a .java file which checks in registry whether MATLAB application is installed or not.If the entry is found, it returns the installed directory. I have registered this class with custom bean gallery.
Now, I have a copy file bean which will copy few files to the location returned by the JAVA function. I need to set the 'Installed location' property with the path returned by the function. How to do that?
Please let me know if i'm not clear.
Thanks,
Ajit
(5) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 21, 2006
08:46 AM
You might try saving the return value as a bean property (say, matlabLocation), and then in the other bean use the expression $P(beanID.matlabLocation) [for a product action] or $W(beanID.matlabLocation) [for a wizard bean].
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 24, 2006
06:53 AM
Hello,
I will try that way. But, before that, I'm facing a problem.
I have written a class which has been extended from WizardAction. When I go to Custom bean Gallery and in register class, put the name of the class, it gives me message that "give a valid class name". What I need to do for this?
Do I need to explicitely compile this class using javac command?
Thanks,
Ajit
I will try that way. But, before that, I'm facing a problem.
I have written a class which has been extended from WizardAction. When I go to Custom bean Gallery and in register class, put the name of the class, it gives me message that "give a valid class name". What I need to do for this?
Do I need to explicitely compile this class using javac command?
Thanks,
Ajit
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 24, 2006
08:31 AM
Yes, custom beans must be compiled with javac before they can be registered in the Add-in Manager.
For the general idea, perhaps see the sample chapter from the MultiPlatform 11.5 training manual here: http://www.macrovision.com/services/education/publications/index.shtml.
For the general idea, perhaps see the sample chapter from the MultiPlatform 11.5 training manual here: http://www.macrovision.com/services/education/publications/index.shtml.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 02, 2006
03:52 AM
Hello,
I have compiled the class. I can see .class file. But, still when I put the name of the class , it says "give a valid class name". I tried putting only classname, classname.class, classname.java but no success! 😞
Can anyone tell me what's wronge?
Thanks,
Ajit
I have compiled the class. I can see .class file. But, still when I put the name of the class , it says "give a valid class name". I tried putting only classname, classname.class, classname.java but no success! 😞
Can anyone tell me what's wronge?
Thanks,
Ajit
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎May 21, 2006
01:46 PM
Hi,
I usually add it like this:
com.installshield.extras.wizard.myclassname.class
and of course it should be compiled and placed in the directory:
ISMP11.5_HOME\classes\com\installshield\extras\wizard\myclassname.class
I usually add it like this:
com.installshield.extras.wizard.myclassname.class
and of course it should be compiled and placed in the directory:
ISMP11.5_HOME\classes\com\installshield\extras\wizard\myclassname.class
![](/skins/images/7DF1852B2C95702E61A73F170B191DAC/responsive_peak/images/icon_anonymous_message.png)