summaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2008-11-30 06:37:05 +0000
committerNick Mathewson <nickm@torproject.org>2008-11-30 06:37:05 +0000
commitd124ec5255713e40b5f325c614ad9fdb7f26ff28 (patch)
tree4bc23c3c4611be0f6ede383b2ba85162fbcd7f04 /samples
parentd4c9cce9927bc313af724dc6cc8ca80c58235b72 (diff)
Generate new command formats, I believe.
git-svn-id: file:///home/or/svnrepo/updater/trunk@17416 55e972cd-5a19-0410-ae62-a4d7a52db4cd
Diffstat (limited to 'samples')
-rw-r--r--samples/example-package.cfg20
1 files changed, 15 insertions, 5 deletions
diff --git a/samples/example-package.cfg b/samples/example-package.cfg
index 6df6ac0..0f31c98 100644
--- a/samples/example-package.cfg
+++ b/samples/example-package.cfg
@@ -19,7 +19,8 @@ LongDesc('en',
Its description is not quite so long as it might be, but hey.""")
-# What kind of package is this?
+# What kind of package is this? Mostly this is ignored right now.
+# Don't use 'exe': that's special.
format = "none"
# Thandy knows how to manage some file formats, but it needs to include
@@ -36,11 +37,12 @@ format = "none"
# # (You can use this format for anything that you install by executing it
# # that does not have its own built-in installation mechanism.)
#
-# format = "exe"
+# format = "win32"
#
-# # What arguments do you pass to this package to install it?
-# # This needs to be a list of strings.
-# exe_args = [ "--silent", "--automatic", "--omit-bugs", ]
+# # What do you call to install the package?
+# # This needs to be a list of strings. ${FILE} is expanded to the file
+# # name.
+# command_install = [ {${FILE}", "--silent", "--automatic", "--omit-bugs", ]
#
# # Optional: a registry key, value pair for a version number that this
# # package will set when it installs itself. The exe is responsible for
@@ -51,3 +53,11 @@ format = "none"
#
# exe_registry_ent = [ r'HKEY_LOCAL_MACHINE\Software\Blahblahblach\Version',
# '0.1.2' ]
+#
+# # Optional: a database key and value that are stored in the internal
+# # Thandy database when this item is installed, so Thandy can remember
+# # if it is installed. Do not use this if you are setting exe_registry_ent.
+# # Using the registry is a better idea.
+# db_key = "example-exe"
+# db_val = "0.1.2"
+