Executable's launch procedure explained

Panagiotis Mantzouranis

Last Update 3 years ago

Gizmo Client's interface allows for an application to have infinite number of executables and each of the executable can have an infinite number of deployment & license profiles as well as personal user files.

When a user clicks on an executable, Gizmo executes the following actions.

First-time activation (click):

  1. Pre Deploy tasks (if any) are executed.
  2. For each Deployment profile present (where "Repair only" is unchecked), disk space requirements are calculated. If space not available, older deployment profiles are deleted* based on usage statistics. Next, Deployment profiles are deployed in the order they are configured in the executable.
  3. Personal User Files (if any) are deployed in the order they are configured in the executable.
  4. Pre License tasks (if any) are executed.
  5. CD Images (if any) are mounted in the order they are configured in the executable.
  6. License profiles (if any) are deployed in the order they are configured in the executable.**
  7. Pre Launch tasks (if any) are executed.
  8. If autostart is enabled (ckeckbox), the executable launches, else it waits for a second activation click.

If, during any of these steps, the user clicks on the executable, the operation is aborted. It will start from step 1 next time the user clicks on the executable.

* Allocate free space must be enabled under Tools → Configure → Client Settings → Free Space allocation
** If a license key is deployed and the executable is not launched within 60 seconds of step 6, the key is revoked. Another license key will be deployed (if available) else the user will be notified that there are no available licenses at the present time.
This is to prevent users from holding license keys of games they are not currently playing.

Consecutive activations (clicks):

While executable is already running:

If the executable has multirun enabled, another instance of the executable will be created. Else Gizmo will try bringing the executable's window to front.

After executable has exited:

If the executable has exited and user activates executable again, Gizmo will start from step 7, skipping steps 1-6. In case the executable has a license profile, Gizmo will also check if a key is still deployed, and re-deploy a new if necessary.

Repair Icon:

Repair icon resets the state of the executable. Clicking on repair will start the executable launch procedure from step 1. Deployment profiles marked "Repair only" will now be deployed

Close Icon:

Clicking on close icon (X) kills the executable and any child processes created by it. It is a good solution for those that keep task manager (ctrl+alt+del) disabled

Was this article helpful?

7 out of 7 liked this article

Still need help? Message Us