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

Does the CopyFile plugin still work?

I downloaded the CopyFile.zip from http://www.flexerasoftware.com/products/installanywhere/files-utilities.htm, unpacked and placed the "customcode.jar" file in the "C:\Program Files (x86)\InstallAnywhere 2011 Enterprise\plugins" directory. When I restarted IA the plug-in did not appear as an available action.

Am I doing something wrong, or does the plugin not work any more? If it's the latter, has anyone modified the code so it works in 2011? Thanks.
Labels (1)
0 Kudos

(4) Replies
madhavbantwal
Level 6

Hi Robin,

InstallAnywhere has an Built-in action "Copy file Action" at install/Uninstall Phase.

Thanks,
Madhav pai
0 Kudos
SunnyBoy
Level 6

By copying customcode.jar file in the "C:\Program Files (x86)\InstallAnywhere 2011 Enterprise\plugins" directory will not help in creating a plugin. Custom plugin will require a properties file.

Follow the instructions specified in the below link to create a plugin

http://kb.flexerasoftware.com/selfservice/microsites/search.do?cmd=displayKC&docType=kc&externalId=IA2011-Content-helplibrary-iapackagingcustomcodepluginhtm&sliceId=&docTypeID=DT_MACROVISIONHELPNET_1_1&dialogID=122403939&stateId=0%200%20122401457

Regards
SunnyBoy
0 Kudos
SunnyBoy
Level 6

Attached is the copy file plugin.

Rename CopyFile.jar.zip to CopyFile.jar

Regards
SunnyBoy
0 Kudos
RobinY
Level 3

Thanks Madhav; I was working in the post-install phase and didn't think about copying files in the install phase.

Another thanks to SunnyBoy. I'm not sure what you did to make CopyFile a plugin but it worked. Unfortunately the plugin itself doesn't seem to work with the IA variables I was passing to it. I'm not sure why. I also need to learn how you made it a plugin. The KB you pointed me to will help.
0 Kudos