cancel
Showing results forĀ 
ShowĀ Ā onlyĀ  | Search instead forĀ 
Did you mean:Ā 
ajaykrdas
Level 3

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?????

(4) Replies
ajaykuma1
Level 3

Semms noone is here to help Smiley Very Happy

0 Kudos
Revenera_Ian
Revenera Moderator Revenera Moderator
Revenera Moderator

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

Thanks,

Ian

0 Kudos


@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.

Hi @jasmineross,

Thank you for your post.

You are very welcome. I am happy that I could help.

Thanks,

Ian

0 Kudos