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...
- Download the ZfD toolkit from Novell.
- If it doesn't already exist, create a folder c:\zapp. All scripts will be saved here.
- Put the toolkit files: AppAssoc.exe, AppCreat.exe, GuidSync.exe, and AppErase.exe into that directory.
- Copy ZENAPP32.DLL to this directory also. This file ships with ZENworks. Typically this file will be in SYS:PUBLIC.
- You can put zapp.exe anywhere.
Now you can run ZAPP.
Here are the steps to deploy an AO:
- You will need to have already exported an aot file for your AO to your machine (or somewhere it can be accessed).
- Run ZAPP.
- Enter your tree name.
- Enter the name of the AO.
- 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.
- 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.
- 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.
- 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:
- The AO will be associated with the container it resides in (pulled from the Containers/Server file)
- 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.