Cameyo

Members Login
Username 
 
Password 
    Remember Me  
Post Info TOPIC: Zero Installer Schema?
djp


Newbie

Status: Offline
Posts: 2
Date:
Zero Installer Schema?
Permalink   
 


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?

Thanks, Doug

 



__________________


Senior Member

Status: Offline
Posts: 268
Date:
Permalink   
 

Hi,

Sorry for the late reply.

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.

 

Wildcards aren't supported as of yet though.



__________________
djp


Newbie

Status: Offline
Posts: 2
Date:
Permalink   
 

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.



__________________


Senior Member

Status: Offline
Posts: 268
Date:
Permalink   
 

Congratulations for the work. And sorry that option isn't (yet) built in. I will PM you about a suggestion

__________________
Page 1 of 1  sorted by
 
Quick Reply

Please log in to post quick replies.



Create your own FREE Forum
Report Abuse
Powered by ActiveBoard