Setting "Distribute Always" affects the order items are applied

  • 3538441
  • 15-Jun-2007
  • 30-Apr-2012

Environment

Novell ZENworks 6.5 Desktop Management Support Pack 2 - ZDM6.5 SP2 Application Launcher (NAL)
Novell ZENworks 7 Desktop Management Support Pack 1 - ZDM7 SP1 Application Launcher (NAL)

Situation

When setting"Distribute Always" for items in an Application Object, unexpected results can occur, because items applyafterpost-distribution scripts.

Resolution

Novell Application Launcher can execute up to four different scripts when distributing and launching an application:
  • Distribution scripts: Run Before Distribution and Run After Distribution (Distribution Options tab > Distribution Scripts page)
  • Launch scripts: Run Before Launching and Run After Termination (Run Options tab > Launch Scripts page)
Application Launcher executes the scripts in the following order:
  1. Run Before Launching script executed
  2. Run Before Distribution script executed
  3. Application distributed (files copied, settings modified, etc.)
  4. Run After Distribution script executed
  5. Application launched
  6. Application closed (by user)
  7. Run After Termination script executed
NOTE: Selecting Distribute Always for individual items on certain pages of the Distribution Options Tab causes those items to be processed after the post distribution objects, so the order above becomes invalid. The pages where you will see this behavior include:
  • Icons/Shortcuts page
  • Registry page
  • Application Files page
  • INI Settings page
  • Text Files page