cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
rohijit
Level 2

ExtractToFile plugin not working?

Hi,

I have been trying to extract a file, bundled in the IA archive, temporarily to perform some action. But it seems this plugin is not working as expected. I have given the source and destination variable as:

ExtractToFile_Source=C:\\do_not_install\\IsDialogBitmap.jpg
ExtractToFile_Destination=c:\\IsDialogBitmap.jpg

file is there in source path but i'm always getting following error:

Execute Custom Code
class com.zerog.ia.customcode.util.fileutils.ExtractToFile.install() runtime exception:
java.lang.NullPointerException
at com.zerog.ia.customcode.util.fileutils.ExtractToFile.extractResource(ExtractToFile.java:162)
at com.zerog.ia.customcode.util.fileutils.ExtractToFile.install(ExtractToFile.java:97)
at com.zerog.ia.installer.actions.CustomAction.installSelf(DashoA10*..)
at com.zerog.ia.installer.actions.PlugInAction.installSelf(DashoA10*..)
at ZeroGabm.run(DashoA10*..)


Am I missing anything?

TIA.
Labels (1)
0 Kudos
(1) Reply
purcellk24
Level 7

Verify the source location. The source is probably not c:\\do_not_install\\IsDialogBitmap.jpg. You can verify by start running your installer, browse to the Installer temp directory (c:\temp\Ixxxxxxxx) and in the InstallerData directory, there is an Execute.zip. View the contents of that zip file to find the path to your source.
For example, I have a source set to
$DOLLAR$IA_PROJECT_DIR$DOLLAR$$/$resources$/$version.properties
0 Kudos