All information about your package resides in a manifest file that is loaded by the host process. It describes the modules in the package, and the files and metadata for each module. For For a manifest to be usable by a retail WinGate, it needs to be signed with the Manifest Prep tool which is found in the tools directory of the SDK. For developing your modules in Developer Mode you do not need to sign your manifest file.
Here is an example manifest file.
...
Code Block | ||
---|---|---|
| ||
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <wingatePackage packageVersion="1.0"> <package id="{1a3e50d9-bd41-4c1a-a8eb-b81b2aa593f3}" name="Facebook sanitiser" description="Turns all Facebook pictures into pictures of cats" > <modules> <module name="Facebook Sanitiser UI" host="UI" id="{2a1d44a9-db14-2c3c-a1eb-b61b3db697e3}" subPath="" debugPath="UI\Debug" releasePath="UI\Release"> <dependencies> <dependency file="FBSanitiserUI.dll" description="Sanitiser UI dll" entryPoint="1" > <md5 value="" /> <platform os="Any" /> <destination value="local" /> <signInfo path="%SourceRoot%\MyModules\FBSanitiser\UI\Release" /> </dependency> </dependencies> </module> <module name="Facebook Sanitiser Engine" host="Engine" id="{0b3b5011-ca0d-23d6-a9ea-711c5b43f7bd}" mandatory="yes" subPath="" debugPath="Engine\Debug" releasePath="Engine\Release"> <dependencies> <dependency file="FBSanitiserEng.dll" description="Sanitiser Engine dll" entryPoint="1" > <md5 value="" /> <platform os="Any" /> <destination value="local" /> <signInfo path="%SourceRoot%\MyModules\FBSanitiser\Engine\Release" /> </dependency> </dependencies> </module> </modules> </package> </wingatePackage> |
...
id - The UUID of the module, including the braces.
mandatory - Whether this module is mandatory and therefore cannot be disabled by a user.
subPath - Must be empty.
debugPath - The path relative to the manifest file where module files are located when running in debug mode. NOTE: Only valid when running with a WinGate Developer License
...
file - The filename of the file
description - A user friendly description of this file
entryPoint - Indicates whether this file is considered the Entry Point for the module. Value values are "1" and "0"
...