cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
ajaykrdas
Flexera beginner

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

Tags (1)
4 Replies
ajaykuma1
Flexera beginner

Re: How to migrate custom code from ISMP 11.5 to Install anywhere 2018 sp1

Semms noone is here to help Smiley Very Happy

0 Kudos
Flexera Flexera_Ian
Flexera

Re: How to migrate custom code from ISMP 11.5 to Install anywhere 2018 sp1

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/pu...

Thanks,

Ian

0 Kudos
jasmineross
Pilgrim

Re: How to migrate custom code from ISMP 11.5 to Install anywhere 2018 sp1


@Flexera_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/pu... happy wheels

Thanks,

Ian


Many thanks. I did what you suggested and now everything seems to work.

Flexera Flexera_Ian
Flexera

Re: How to migrate custom code from ISMP 11.5 to Install anywhere 2018 sp1

Hi @jasmineross,

Thank you for your post.

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

Thanks,

Ian

0 Kudos