This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallAnywhere
- :
- InstallAnywhere Forum
- :
- ExtractToFile plugin not working?
Subscribe
- 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
Jan 17, 2008
01:00 AM
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.
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.
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jan 17, 2008
09:39 AM
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
For example, I have a source set to
$DOLLAR$IA_PROJECT_DIR$DOLLAR$$/$resources$/$version.properties
