Issue:

You can package the dwt template into the customization document, then the dwt template can be automatically installed when the customization document is run.

Solution:

  1. Create a new folder at any location, then create a new software folder named Template in the folder, and put the required dwt template file in it, as shown in the figure below.
  2. Right-click to create a new text document in this new folder, input COPY %curPath%Template\* C:\Users\%USERNAME%\AppData\Local\ZWSOFT\zwcadm\2024\en-US\Template and save the file, then name the text document instBefore.bat, as shown in the figure below.
  3. Select the second path as the newly created folder when packaging, check the Private config file, and then click Package. After the package is completed and run, the customization program will automatically install the template file to the corresponding location.



★How to package the dwt file template into a customized document in ZWCAD MFGhttps://confluence.zwcad.com/pages/viewpage.action?pageId=181085589