summaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
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"
+