ZAPP

0 Likes

ZAPP is the result of needing an easier way to use the ZEN for Desktops Toolkit to create, delete, associate, and synchronize application objects. While there do exist a few commercial applications that fill this need, I found it easier (and of course cheaper) to just write a simple one to fill my needs.

Note that ZAPP is not a full blown, NDS aware application. Rather, it is a front end which generates script files that leverage a subset of the ZfD toolkit. You will need to do the following prior to running ZAPP...

  1. Download the ZfD toolkit from Novell.
  2. If it doesn't already exist, create a folder c:\zapp. All scripts will be saved here.
  3. Put the toolkit files: AppAssoc.exe, AppCreat.exe, GuidSync.exe, and AppErase.exe into that directory.
  4. Copy ZENAPP32.DLL to this directory also. This file ships with ZENworks. Typically this file will be in SYS:PUBLIC.
  5. You can put zapp.exe anywhere.

Now you can run ZAPP.

Here are the steps to deploy an AO:

  1. You will need to have already exported an aot file for your AO to your machine (or somewhere it can be accessed).
  2. Run ZAPP.
  3. Enter your tree name.
  4. Enter the name of the AO.
  5. Since this is the first time to run ZAPP, leave the path for the "Container/Server Info File alone. Click the button with the pencil on it. A two column grid shows up. Enter the DS name of each container that will get the AO (e.g. .users.accounting.bigcorp) on the left. In the right column, enter the server that will be used in the source_path macro of each AO (e.g. acct_server). This will tell ZAPP that for the X container I want to pull the AO files from Y server. So your SOURCE_PATH winds up being: <a href="file://\\sys\public\zenworks\\\<server>\sys\public\zenworks\<AOname>. Clicking APPLY saves this list. You could easily have different Container/Server files for different situations.
  6. Click on the folder icon next to the "AOT File" box. Browse to the AOT file. Alternatively, you can type the full path if you prefer.
  7. Now you can click the "Create AO" button and a script file will be created in c:\zapp\<AO name< for this AO. Click "Edit Script" and select it to see what is created.
  8. Click "Run Script" to make it happen. Note that the script has the command "pause" at the beginning and end to allow you time to stop it before running and also to read the output.

To associate the AO:

  1. The AO will be associated with the container it resides in (pulled from the Containers/Server file)
  2. Choose what flags to use and click "Associate AO".

Erasing and Syncing an AO: Click the appropriate button and a script is created.

The "Browse Scripts" button opens Windows Explorer at c:\zapp.

---------------------

This software is provided "as is" with no warranty expressed or implied. Use at your own risk.
This software is FREEWARE but is still copyrighted.
You may use it as needed but do not claim it as your own or sell it for money.

---------------------

Labels:

How To-Best Practice
Collateral
Comment List
Related
Recommended