summaryrefslogtreecommitdiff
path: root/samples
diff options
context:
space:
mode:
authorRoger Dingledine <arma@torproject.org>2008-12-01 12:37:12 +0000
committerRoger Dingledine <arma@torproject.org>2008-12-01 12:37:12 +0000
commit4ef158300ab755ba9f89bae2aaf2d3aecb68a717 (patch)
treed606536ff464f056e00da75701632452304b9a6f /samples
parentcf6cfc1954fffe90fd467563b3f8dbca850a832d (diff)
coderman's msi windows installer package
git-svn-id: file:///home/or/svnrepo/updater/trunk@17426 55e972cd-5a19-0410-ae62-a4d7a52db4cd
Diffstat (limited to 'samples')
-rw-r--r--samples/tor-win32-package.cfg43
1 files changed, 6 insertions, 37 deletions
diff --git a/samples/tor-win32-package.cfg b/samples/tor-win32-package.cfg
index 9eea3b8..ba43f94 100644
--- a/samples/tor-win32-package.cfg
+++ b/samples/tor-win32-package.cfg
@@ -9,45 +9,14 @@ version = [0, 2, 1, 7]
location = "/pkginfo/tor/win32/tor-0.2.1.7-alpha.txt"
# Where in the repository does its underlying rpm or exe (etc) file go?
-relpath = "/data/win32/tor-0.2.1.7-alpha.exe"
+relpath = "/data/win32/tor-0.2.1.7-alpha.msi"
# Decriptions of the package.
ShortDesc('en', "Tor-dev win32 installer")
-LongDesc('en',
-"""This is the dev-series Tor exe for Windows, with NSI installer.""")
+LongDesc('en', "This is the dev-series Tor exe for Windows, with MSI installer.")
-# What kind of package is this?
-#format = "none"
-
-# Thandy knows how to manage some file formats, but it needs to include
-# extra info to do so properly.
-#
-#### The RPM format
-#
-# format = "rpm"
-# # What is the actual version, according to RPM, of this package when it's
-# # installed?
-# rpm_version = "0.1.2"
-
-#### The EXE format.
-# # (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"
-# # 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", ]
-exe_args = [ "-s" ]
-
-# # Optional: a registry key/value pair for a version number that this
-# # package will set when it installs itself. The exe is responsible for
-# # setting this value; thandy only reads the value to see whether the
-# # exe is installed.
-# # (Remember to prefix your registry string with r, so that the internal
-# # backslashes are automatically escaped.)
-#
-# XXX Disabled for now; the 0.2.1.6 installed doesn't set this key.
-#
-exe_registry_ent = [ r'HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall\Tor\Version',
- "0.2.1.7-alpha" ]
+format = "win32"
+command_install = [ 'msiexec', '/i', "${FILE}", '/qn' ]
+exe_registry_ent = [ r'HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Tor',
+ 'tor-0.2.1.7-alpha-dev' ]