cancel
Showing results for 
Search instead for 
Did you mean: 
rakesh_dama
Active participant

How to get the dependencies required for PreInstallation Phase in InstallAnywhere ?

Hello Experts,

Thanks for looking into my concern.

I have few dependencies on third party utilities(sshpass, jq etc) and I need these utilities as part of PreInstallation Phase. Just like the "Install files/Install Speed Folder" under Install Phase, do we have any plugin to include these dependencies as part of preinstallation ?

 

Thanks,

Rakesh.

Labels (1)
0 Kudos
5 Replies
Flexera Flexera_Ian
Flexera

Re: How to get the dependencies required for PreInstallation Phase in InstallAnywhere ?

Hi, rakesh_dama. Thank you for your post. You could try using the ExtractToFile Plugin Action in the online HelpNet documentation here: https://helpnet.flexerasoftware.com/installanywhere2018/roottopic.htm#helplibrary/ia_ref_plugins_ext... Here is a link to a Knowledge Base article that discusses using the ExtractToFile Plugin Action in the Pre-Install Sequence in more detail: https://community.flexera.com/t5/InstallAnywhere-Knowledge/Extracting-files-during-Pre-Install-with-... You use the action to extract the executable or installer required to run or install these 3rd-party dependencies in the Pre-Install Sequence of your installer. You could try extracting the file or files to the installer's temporary location then running the executable or installer directly from the temporary location. The Execute/Script Batch file Action could be used to run a command or commands to run the executable / installer as described in the HelpNet documentation here: https://helpnet.flexerasoftware.com/installanywhere2018/roottopic.htm#helplibrary/ia_ref_actions_gen... Please give these suggestions a try. Do they work for you? Thanks, Flexera_Ian
0 Kudos
rakesh_dama
Active participant

Re: How to get the dependencies required for PreInstallation Phase in InstallAnywhere ?

This extracts the file that is already in the target machine. But, it won't package the source file from build machine into installer and extracts on target machine.

0 Kudos
Flexera Flexera_Ian
Flexera

Re: How to get the dependencies required for PreInstallation Phase in InstallAnywhere ?

Hi Rakesh,

Thank you for your reply.

You could try combining the suggestions from: https://community.flexera.com/t5/InstallAnywhere-Knowledge/Extracting-files-during-Pre-Install-with-...

with the suggestions from: https://community.flexera.com/t5/InstallAnywhere-Knowledge/Use-the-Extract-To-File-Plugin-to-Extract...

You would include the file in the $DO_NOT_INSTALL$ Magic Folder so that it would be built into the installer but not installed on the target machine. Then you would use the ExtractToFile Plugin Action to extract the file to $INSTALLER_TEMP_DIR$ instead of the installer's classpath.

Thanks,

Ian

0 Kudos
Highlighted
rakesh_dama
Active participant

Re: How to get the dependencies required for PreInstallation Phase in InstallAnywhere ?

As I have mentioned earlier, I want these files/dependencies as part of Pre-Install phase.

The example in the above link points to Install phase, which is very straight forward.
0 Kudos
Flexera Flexera_Ian
Flexera

Re: How to get the dependencies required for PreInstallation Phase in InstallAnywhere ?

Hi Rakesh,

Thank you for your reply.

As a courtesy, I created a working sample project in InstallAnywhere 2018 SP1 that extracts notepad.exe to $INSTALLER_TEMP_DIR$ in the Pre-Install Sequence. I attached a ZIP file containing the sample project. Notepad.exe is built into the sample installer.

Thanks,

Ian

0 Kudos