- Revenera Community
- :
- InstallAnywhere
- :
- InstallAnywhere Forum
- :
- How to migrate custom code from ISMP 11.5 to Install anywhere 2018 sp1
- 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
How to migrate custom code from ISMP 11.5 to Install anywhere 2018 sp1
I am trying to migrate exiting ISMP code to Install anywhere custom code.
I was updating ini file in installshield multiplateform using below script
public class IniFileUpdate extends ProductAction { private String file = ""; private String subject = ""; private String var = ""; private String value = ""; private int runtime = INSTALL; public void install(ProductActionSupport support) throws ProductException { if (runtime == INSTALL) { //My Custom code } } }
Code #2
public class MyClass extends WizardAction{ public void execute(WizardBeanEvent event){
String str = resolveString("$V(" + variable + ")"); event.getWizard().getServices().getISDatabase().setVariableValue(variable,str); }
}
What should be the equivalent Install anywhere code?
Where can i get document to migrate custom code?????
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Semms noone is here to help
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Hi @ajaykrdas & @ajaykuma1,
Thank you for your post. Sorry about the delayed response.
For more information, I suggest looking at the files in your <IA_HOME>\CustomCode folder, where <IA_HOME> is where your copy of InstallAnywhere 2018 SP1 is installed. There should be samples and templates.
Here is a link to the InstallAnywhere Custom Code API documentation:
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
@Revenera_Ian wrote:Hi @ajaykrdas & @ajaykuma1,
Thank you for your post. Sorry about the delayed response.For more information, I suggest looking at the files in your <IA_HOME>\CustomCode folder, where <IA_HOME> is where your copy of InstallAnywhere 2018 SP1 is installed. There should be samples and templates.
Here is a link to the InstallAnywhere Custom Code API documentation:https://helpnet.flexerasoftware.com/InstallAnywhereAPI/IA2015/javadoc/index.html?com/zerog/ia/api/pub/package-summary.html happy wheels
Thanks,
Ian
Many thanks. I did what you suggested and now everything seems to work.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Hi @jasmineross,
Thank you for your post.
You are very welcome. I am happy that I could help.
Thanks,
Ian