[Incident]: Some users report they are unable to access the case portal. Please see this community notice for more information.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
victoru71
Level 3

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?

0 Kudos
2 Replies
victoru71
Level 3

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

 


Image1.png

0 Kudos
RitanshuAnkita
Revenera
Revenera

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 ?

0 Kudos