Issue
An issue has been identified with Imaging Toolkit 11.0.6 where by the build process will stall in phase4 when the ZENworks Application Installation option "Add To Startup" option is configured.
|
Note : This issue will be resolved in the next release of Imaging Toolkit.
Requirements
- ENGL Imaging Toolkit 11.0.6
- ZENworks Deployment project
Solution
The recommended workaround for this issue is to disable the "Add To Startup" option in the project then configure the Phase4-after.vbs script to set the appropriate registry key.
Procedure
Done | Task | ||
---|---|---|---|
| |||
| |||
| |||
|
Disable "Add To Startup" option in the project
- Open Build Console
Open the project you wish to update
Select the Expert View Tab
Select ZENworks -> Applications
Change the "Add To Startup" option from "True" to "False"
Save changes to the project
- Open Build Console
Update phase4-after.vbs file in custom files
In Build Console- Select the Expert View Tab
- Select Customisation -> Custom Files
- Right click on Phase4-after.vbs then select Edit. The file will open in the default text editor on the machine.
- Insert the following script sample:
' add zapp-launcher to startup utils.appendlog " Add ZAPP-Launcher to startup" ' Create a WSH Shell object: Set wshShell = CreateObject( "WScript.Shell" ) Key = "HKLM\Software\Microsoft\Windows\CurrentVersion\Run\ZAPP" ZAPP = "%ZENWORKS_HOME%\bin\zapp-launcher.exe" ZAPPCMDLINE = "/s" regkey = ZAPP & " " & ZAPPCMDLINE ' add run registry key wshShell.RegWrite Key, regkey, "REG_EXPAND_SZ"
Update the ZAPPCMDLINE entry if required. Command line options can be found in the appropriate ZENworks documentation
Save changes to the file
- Select the Expert View Tab
Recreate build process images.
Open the project you wish to update and complete the following steps:
In the global toolbar, click to launch the Deployment Wizard
At the Welcome page, click Next
At the Task Selection page, select Build process creation then click Next
At the Image Selection page, select the following image then click Next.
- Build process (ztoolkit)
- Build process (ztoolkit)
- Click Next
Once the Deployment Wizard has completed, leave the default options selected and then click Finish
Once Windows Explorer has opened the images folder:
Copy the image files directory structure to the content-repo/images folder on the ZENworks server.
Test
Run a test build to confirm everything is now working.
If you have any problems or questions about the steps in this TID please contact the ENGL support team