- Revenera Community
- :
- InstallAnywhere
- :
- InstallAnywhere Forum
- :
- how to install dependecies in Pre-Install stage ?
- 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
how to install dependecies in Pre-Install stage ?
Hello Forum!
I'm trying the trial version InstallAnyWhere 2022 under Linux.
I'm try to create console UI installer for the application under Linux Debian that have a dependency on libarchive library.
To install this dependencies, in the Sequence tab I added Action 'Execute Commаnd' to Pre-Install section and filled it's command line field:
sudo apt-get install libarchive13 libopencv-core4.5 libopencv-imgproc4.5
After creating the installer and running it, the application is installed, but the dependencies (libarchive) are not installed.
And I don't see any errors.
In the log file of installer i found:
Execute Command: sudo apt-get install libarchive13 libopencv-core4.5 libopencv-imgproc4.5
Status: SUCCESSFUL
But really their are not in installed.
What am I doing wrong?
How can I see errors at the stage of command execution?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Hi,
I tried to install the Linux package in the Install section, as shown in the screenshot.
This also didn't work on the Debian Linux.
A package with this name is present in the repository on the target system:
# apt-cache search libarchive13
libarchive13 - Multi-format archive and compression library (shared library)
In the installer log file i found:
Install Action: Install Linux Package: libarchive13
Status: ERROR
Additional Notes: ERROR - The command was not found on the PATH
What exactly command it need ?
apt, apt-get and dpkg are available in PATH
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Hello,
'Execute Commаnd' in Pre-install should install dependencies mentioned in command. I guess issue occurring might be due to user permission. Are you using root or admin user? Does this user have download permission ?