Does anyone have a schema for the Zero Installer input file? Or does the example Cameyo.xml file have examples of all the possible element and attributes?
In particular, I would like to specify source files from a directory name and wildcard, rather than having to list each file individually.
Also, there appear to be more features in the Package Editor than in the Zero Installer input file, and was wondering if anything else was available?
The example in Cameyo.xml provides all the possible elements and attributes.
Cameyo 2.5 however introduces a new hierarchical registry values description, such as:
<Registry>
<Key path="%CurrentUser%\Software\Cameyo">
<Value name="Version" string="[Version]" />
</Key>
</Registry>
Another nice thing Cameyo 2.5 introduces is the ability to create a ZeroInstaller XML script from an existing .Cameyo.exe package, using the Package Editor. In other words you can "capture" your own installation once in a VM, and then build a package XML out of it.
Thanks for the reply. I wrote a small preprocessor for the Zero Installer xml file. The preprocessor takes an input file that looks just like the one Zero Installer needs except instead of specifying every file individually, I added a can use “Directory” element to specify a directory with an ‘include’ wildcard and an optional “recursive’ attribute. The preprocessor expands the Directory element into a set of "File" elements, and passes all the other elements trough as-is. I run this in my build script ahead of the Zero Installer, and regenerate the Zero Installer file each time.