fog snapins - parallel execution
-
Server
- FOG Version: 1.2.0
- OS: Ubuntu
Client
- Service Version: latest
- OS: Windows 7
Description
I distribute several snapins to our Windows 7 clients with selfextracting archives and batch scripts on run. When several snapins are being deployed, the fog client executes them parallel at the same time. This leads to errors, when there are multiple msiexec commands running, because only one msiexec install can run at the same time.
Is there a way to tell the fog client oder server only to execute one snapin after the other?
thanks
Markus
-
I don’t understand.
The snapin system IS one at a time. If your snapins are running in “background” this is a piece of the snapin itself returning an exit code to the client making the client believe it has completed that previous run.
-
I’m guessing you launch a batch script which launches a msiexec and then closes rather than waiting
Adjust accordingly.
-
@MarkusK said in fog snapins - parallel execution:
When several snapins are being deployed, the fog client executes them parallel at the same time.
That’s not a fog issue, that’s your script’s issue. You need to write it so that it waits per-command.
-
Buehler?
Any information?
-
I solved this because it’s not a fog problem.
-
This post is deleted! -
@Tom-Elliott that sounds good to me as a concept. But I have the issue, that two selfextracting zips with batch scripts are being executed at the same time.
Does the snapin system already return an exit code 0, when the selfextracting archive is downloaded and not only when the execution of the install script is completed?
EDIT:
In the winrar SFX options I had to set “Setup program/Wait and return exit code”. Now it works. Thanks for the answer, that lead me to the solution.
https://www.winrar-france.fr/winrar_instructions_for_use/source/html/HELPSFXOptSetup.htm
-
@MarkusK This depends entirely on your snapin, it simply accepts the exit code it gets from the program it is told to run.
If this is not the desired behavior, you need to alter your setup.