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 Issues With Source Path
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
Feb 07, 2013
09:56 AM
ExtractToFile Issues With Source Path
I'm evaluating InstallAnywhere 2012 to create a Linux installer for an application. Prior to install, I need to extract a file from the installer archive and run that file. This file is a file that will eventually be installed to $USER_INSTALL_DIR$, so it's included in that section through an "Install from Manifest" action. The manifest entry for the file contains a path relative to $IA_PROJECT_DIR$ since my source installation files are located outside the IA project directory (re-architecting this is not a possible solution for me).
The problem is that I can't seem for the life of me to get the ExtractToFile_Source path entered properly so that it will extract this file to the temp folder. I've tried every permutation I can think of and have tried every suggestion I've found on these forums. The only way I've gotten this to work is placing the file in the project directory, putting it under $DO_NOT_INSTALL$ in the Install section, and then using the path $DOLLAR$IA_PROJECT_DIR$DOLLAR$$/$myfile. However, this is inefficient as it forces me to include the file in my installer twice. It's already in the installer archive once. Why can't I extract it?
Any advice you provide would be greatly appreciated.
The problem is that I can't seem for the life of me to get the ExtractToFile_Source path entered properly so that it will extract this file to the temp folder. I've tried every permutation I can think of and have tried every suggestion I've found on these forums. The only way I've gotten this to work is placing the file in the project directory, putting it under $DO_NOT_INSTALL$ in the Install section, and then using the path $DOLLAR$IA_PROJECT_DIR$DOLLAR$$/$myfile. However, this is inefficient as it forces me to include the file in my installer twice. It's already in the installer archive once. Why can't I extract it?
Any advice you provide would be greatly appreciated.
(1) Reply
Jun 11, 2014
02:44 PM
Similar issue here. I need to run a exe during pre-install. So I put the exe in $DO_NOT_INSTALL$, and added the ExtractToFile plugin with the following options:
Source - $DOLLAR$IA_PROJECT_DIR$$/$
Destination - $INSTALLER_TEMP_DIR$$/
When I run the installer, I get com.zerog.ia.customcode.util.fileutils.ExtractToFile.install() runtime exception. If I put my exe in the installer temp directory manually during installation, the exe is accessed by the installer via "$INSTALLER_TEMP_DIR$$/" call so I know my destination is OK. What is wrong with my source? Why can't I access my exe using ExtractToFile plugin?
PLEASE HELP!!!!!
Source - $DOLLAR$IA_PROJECT_DIR$$/$
Destination - $INSTALLER_TEMP_DIR$$/
When I run the installer, I get com.zerog.ia.customcode.util.fileutils.ExtractToFile.install() runtime exception. If I put my exe in the installer temp directory manually during installation, the exe is accessed by the installer via "$INSTALLER_TEMP_DIR$$/
PLEASE HELP!!!!!