Environment
Novell ZENworks 7 Desktop Management Support Pack 1 - ZDM7 SP1 Desktop Management
Situation
Workstation associated application with
a "Run after Distribution" script is being launched every time a
new user logs in and runs the application.
Resolution
This is working as
designed. Distribution items (such as files and registry keys) are
not run for the new user if the distribution has already been
delivered to the workstation.
Unlike the distribution scripts which are always executed when the distribution has not run for the new user.
Unlike the distribution scripts which are always executed when the distribution has not run for the new user.
Additional Information
Steps To
Reproduce:
1) Create a simple application object
2) Distribution Options -> Application Files -> Create a simple "Copy if Does not Exist" action (e.g. copy regedit to the root of C:)
3) Distribution Options -> Distribution Scripts -> Run after Distribution (use the command: copy "%WINDIR%\NOTEPAD.exe""%PROGRAMFILES%")
4) Set the Script Engine to %ComSpec% /C and the extension to .cmd
5) Associate the application to the workstation.
6) Run the application (notice the files are copied)
7) Delete the 2 newly created files
8) Create a new user and log in with that user
9) Run (not Verify) the application
RESULTS:
The only file copied is the one specified in the distribution script.
1) Create a simple application object
2) Distribution Options -> Application Files -> Create a simple "Copy if Does not Exist" action (e.g. copy regedit to the root of C:)
3) Distribution Options -> Distribution Scripts -> Run after Distribution (use the command: copy "%WINDIR%\NOTEPAD.exe""%PROGRAMFILES%")
4) Set the Script Engine to %ComSpec% /C and the extension to .cmd
5) Associate the application to the workstation.
6) Run the application (notice the files are copied)
7) Delete the 2 newly created files
8) Create a new user and log in with that user
9) Run (not Verify) the application
RESULTS:
The only file copied is the one specified in the distribution script.