From d124ec5255713e40b5f325c614ad9fdb7f26ff28 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Sun, 30 Nov 2008 06:37:05 +0000 Subject: Generate new command formats, I believe. git-svn-id: file:///home/or/svnrepo/updater/trunk@17416 55e972cd-5a19-0410-ae62-a4d7a52db4cd --- samples/example-package.cfg | 20 +++++++++++++++----- 1 file changed, 15 insertions(+), 5 deletions(-) (limited to 'samples') 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" + -- cgit v1.2.3