fix a few typos, clean up whitespace in comments

svn:r17409
This commit is contained in:
Roger Dingledine 2008-11-29 12:09:05 +00:00
parent c04e1a4dd8
commit 3ddc7483e1

View File

@ -1,22 +1,25 @@
<?xml version="1.0" encoding="Windows-1252" ?> <?xml version="1.0" encoding="Windows-1252" ?>
<!-- <!--
WiX is a Microsoft Installer tool that parses an installation specification XML document WiX is a Microsoft Installer tool that parses an installation
and produces an MSI package for use on updated Windows 2000 and newer systems. specification XML document and produces an MSI package for use on
updated Windows 2000 and newer systems.
The MSI package format provides some advantages over the existing NSIS packages when used The MSI package format provides some advantages over the existing NSIS
in an automated fashion. A modified version of the Mondo UI installer is included without packages when used in an automated fashion. A modified version of
EULA and other unnecessary dialogs. You must update the UIRef element below to change UI. the Mondo UI installer is included without EULA and other unnecessary
dialogs. You must update the UIRef element below to change UI.
Compile MSI installer via WiX: Compile MSI installer via WiX:
candle.exe contrib/*.wxs candle.exe contrib/*.wxs
light.exe *.wixobj -out tor.msi -ext C:\Path\to\Wix\bin\WixUIExtension.dll light.exe *.wixobj -out tor.msi -ext C:\Path\to\Wix\bin\WixUIExtension.dll
A silent installation can be performed with a /quiet option passed. A silent installation can be performed with a /quiet option passed.
misexec /i tor.msi INSTALLDIR=C:\path\to\install\to /qn msiexec /i tor.msi INSTALLDIR=C:\path\to\install\to /qn
A repair operation can be performed with /f and remove via /x A repair operation can be performed with /f and remove via /x
More msiexec command line details at: http://technet.microsoft.com/en-us/library/cc759262.aspx More msiexec command line details at:
http://technet.microsoft.com/en-us/library/cc759262.aspx
--> -->
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi"> <Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
<Product <Product
@ -27,8 +30,10 @@
Manufacturer="The Tor Project, Inc." Manufacturer="The Tor Project, Inc."
Language="1033" Codepage="1252"> Language="1033" Codepage="1252">
<!-- Common package definitions. Most of these elements are self explanatory or do not need modification. <!-- Common package definitions. Most of these elements are self
Note that there is no support for signature verification nor patched upgrades at this time. explanatory or do not need modification.
Note that there is no support for signature verification nor
patched upgrades at this time.
--> -->
<Package <Package
Id="*" Id="*"
@ -52,8 +57,9 @@
Value="Tor Installation" Value="Tor Installation"
/> />
<!-- Most of the installation directives are for populating the "Program Files" directory <!-- Most of the installation directives are for populating the
with the Tor binaries, dynamic link libraries, configuration files, and other documents. "Program Files" directory with the Tor binaries, dynamic link
libraries, configuration files, and other documents.
--> -->
<Directory Id="TARGETDIR" Name="SourceDir"> <Directory Id="TARGETDIR" Name="SourceDir">
<Directory Id="ProgramFilesFolder" Name="ProgramFilesDir"> <Directory Id="ProgramFilesFolder" Name="ProgramFilesDir">
@ -71,8 +77,9 @@
</Component> </Component>
<!-- Tor configuration files <!-- Tor configuration files
The sample config is always kept up to date and the torrc is left as is The sample config is always kept up to date and the torrc
if it exists and copied from the sample config otherwise. is left as is if it exists and copied from the sample
config otherwise.
--> -->
<Component Id="TorConfigFile" Guid="1dae9705-0bef-4588-be36-d8a5df5e47cc"> <Component Id="TorConfigFile" Guid="1dae9705-0bef-4588-be36-d8a5df5e47cc">
<File <File
@ -91,7 +98,8 @@
</Component> </Component>
<!-- Tor OpenSSL shared libraries <!-- Tor OpenSSL shared libraries
This optional component is required for shared builds of Tor. For static builds it is ignored. This optional component is required for shared builds
of Tor. For static builds it is ignored.
--> -->
<Component Id="OpenSSLLibrary" Guid="4d99fd44-dc24-46c6-8825-25b9e5916b85"> <Component Id="OpenSSLLibrary" Guid="4d99fd44-dc24-46c6-8825-25b9e5916b85">
<File <File
@ -109,7 +117,8 @@
</Component> </Component>
<!-- msys shared libraries <!-- msys shared libraries
This optional component is required for shared builds of Tor. For static builds it is ignored. This optional component is required for shared builds
of Tor. For static builds it is ignored.
--> -->
<Component Id="MSYSLibrary" Guid="451ffc02-2666-410e-984f-35fb303b05a2"> <Component Id="MSYSLibrary" Guid="451ffc02-2666-410e-984f-35fb303b05a2">
<File <File
@ -157,7 +166,8 @@
</Directory> </Directory>
<!-- Create shortcuts if requested <!-- Create shortcuts if requested
Remember that shortcuts must always be tied to a "key" registry value for proper repair and removal. Remember that shortcuts must always be tied to a "key"
registry value for proper repair and removal.
--> -->
<Directory Id="ProgramMenuFolder" Name="Programs"> <Directory Id="ProgramMenuFolder" Name="Programs">
<Directory Id="ShortcutFolder" Name="Tor"> <Directory Id="ShortcutFolder" Name="Tor">
@ -187,7 +197,8 @@
</Directory> </Directory>
<!-- Current version registry info <!-- Current version registry info
This value can be used by third party applications to query for the current version installed on the system. This value can be used by third party applications to query
for the current version installed on the system.
--> -->
<Component Id="TorRegistry" Guid="575de318-a649-49fe-95e5-ee091f6cb8c6"> <Component Id="TorRegistry" Guid="575de318-a649-49fe-95e5-ee091f6cb8c6">
<RegistryKey Root="HKLM" Key="SOFTWARE\Microsoft\Windows\CurrentVersion\Tor" <RegistryKey Root="HKLM" Key="SOFTWARE\Microsoft\Windows\CurrentVersion\Tor"
@ -199,8 +210,9 @@
</Directory> </Directory>
<!-- Define list of application features available for install <!-- Define list of application features available for install
There are two main sections to this list. The "MainApplication" section which defines a core There are two main sections to this list. The "MainApplication"
set of mandatory files and setup and the other optional components like shortcuts which are not section which defines a core set of mandatory files and setup
and the other optional components like shortcuts which are not
required for functional installation. required for functional installation.
--> -->
<Feature Id="Complete" Title="Tor" <Feature Id="Complete" Title="Tor"
@ -219,7 +231,8 @@
<ComponentRef Id="TorRegistry" /> <ComponentRef Id="TorRegistry" />
</Feature> </Feature>
<!-- Shorcuts on the Start Menu and Desktop are optional but provided by default. --> <!-- Shortcuts on the Start Menu and Desktop are optional but
provided by default. -->
<Feature Id="Shortcuts" Title="Shortcuts" <Feature Id="Shortcuts" Title="Shortcuts"
AllowAdvertise="no" Absent="allow" Level="1" AllowAdvertise="no" Absent="allow" Level="1"
Description="Add shortcuts to Tor."> Description="Add shortcuts to Tor.">
@ -237,7 +250,8 @@
</Feature> </Feature>
<!-- Set the UI options <!-- Set the UI options
Use a custom UI sequence to avoid EULA and other extraneous parts of Mondo and other GUIs Use a custom UI sequence to avoid EULA and other extraneous
parts of Mondo and other GUIs
--> -->
<UIRef Id="WixUI_Tor" /> <UIRef Id="WixUI_Tor" />
<Icon Id="tor.ico" SourceFile="contrib/tor.ico" /> <Icon Id="tor.ico" SourceFile="contrib/tor.ico" />