Application Pack

Application packs are used to describe information about applications,

XML example

Note: This is only an example. Please see the dtd for precise information.

<ApplicationPack>
  <name>Application Name</name>
  <shortname>appname</shortname>
  <version>1.0</version>
  <desktop>resources/launcher.desktop</desktop>
  <menu>Path > to > application </menu>
  <icon>resources/Icon.png</icon>
  <winereg>resources/registry.reg</winereg>
  <url>Download url</url>
  <issues>Some known issues text</issues>
  <winever>0.9.12</winever>
  <winevariant>winehq, cedega, crossover</winevariant>
  <rating>2</rating>
  <crack required="1">Crack provider details</crack>
  <installersize>xx</installersize>
  <installedsize>xx</installedsize>
  <install>scripts/installer.sh</install>
  <firstrun>scripts/firstrun.sh</firstrun>
  <run>scripts/run.sh</run>
  <uninstall>scripts/uninstall.sh</uninstall>
  <requires name="comctl" version="5" />
  <requires name="VBruntime" version="6" />
</ApplicationPack>

DTD

A dtd draft is available. Out of date at present 17/7/06 (requires to be added)

Tarball

Suffix *.wdi - wine-doors installer this is simply a gzipped tarball renamed. However a handler will be added for this item so it can be executed directly from a web browser.

These files can each have their own name, the names here are used only as a guide.

  • resources/Installer.exe (optional)
  • resources/Icon.png (optional, but recommended)
  • resources/launcher.desktop (optional, but recommended
  • resources/registryfile.reg (optional)
  • scripts/installer.sh (optional *)
  • scripts/firstrun.sh (optional **)
  • scripts/run.sh (optional ***)
  • scripts/uninstall.sh (optional ****)
  • pack.xml (mandatory)
  • * If this doesn't exist, depending on the name of the installer file wine doors will run "wine Installer.exe" or "wine msiexec installer.msi"
  • ** This file is present the first time an application runs it will run this script instead of run.sh
  • *** If this file doesn't exist the installer will run "wine appbinary.exe"
  • **** Uninstall names should match exactly the XML name tag

Creating

In the future ApplicationPack files will be created using an ApplicationPackDesigner

Source

packlist.py