diff --git a/configure.in b/configure.in
index 37c241efda..aa583614e7 100644
--- a/configure.in
+++ b/configure.in
@@ -818,7 +818,7 @@ fi
CPPFLAGS="$CPPFLAGS $TOR_CPPFLAGS_libevent $TOR_CPPFLAGS_openssl $TOR_CPPFLAGS_zlib"
-AC_CONFIG_FILES([Makefile tor.spec Doxyfile contrib/tor.sh contrib/torctl contrib/torify contrib/tor.logrotate contrib/Makefile contrib/osx/Makefile contrib/osx/TorBundleDesc.plist contrib/osx/TorBundleInfo.plist contrib/osx/TorDesc.plist contrib/osx/TorInfo.plist contrib/osx/TorStartupDesc.plist src/config/torrc.sample doc/tor.1 src/Makefile doc/Makefile doc/design-paper/Makefile doc/spec/Makefile src/config/Makefile src/common/Makefile src/or/Makefile src/win32/Makefile src/tools/Makefile contrib/suse/Makefile contrib/suse/tor.sh])
+AC_CONFIG_FILES([Makefile tor.spec Doxyfile contrib/tor.sh contrib/torctl contrib/torify contrib/tor.logrotate contrib/Makefile contrib/osx/Makefile contrib/osx/TorBundleDesc.plist contrib/osx/TorBundleInfo.plist contrib/osx/TorDesc.plist contrib/osx/TorInfo.plist contrib/osx/TorStartupDesc.plist src/config/torrc.sample doc/tor.1 src/Makefile doc/Makefile doc/design-paper/Makefile doc/spec/Makefile src/config/Makefile src/common/Makefile src/or/Makefile src/win32/Makefile src/tools/Makefile contrib/suse/Makefile contrib/suse/tor.sh contrib/tor.wxs])
AC_OUTPUT
if test -x /usr/bin/perl && test -x ./contrib/updateVersions.pl ; then
diff --git a/contrib/WixUI_Tor.wxs b/contrib/WixUI_Tor.wxs
new file mode 100644
index 0000000000..457cf6d182
--- /dev/null
+++ b/contrib/WixUI_Tor.wxs
@@ -0,0 +1,62 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ 1
+
+ 1
+
+ 1
+ 1
+ 1
+
+ WixUI_InstallMode = "Change"
+ WixUI_InstallMode = "InstallCustom"
+ 1
+
+ WixUI_InstallMode = "InstallCustom"
+ WixUI_InstallMode = "InstallTypical" OR WixUI_InstallMode = "InstallComplete"
+ WixUI_InstallMode = "Change"
+ WixUI_InstallMode = "Repair" OR WixUI_InstallMode = "Remove"
+
+ 1
+
+ 1
+ 1
+ 1
+ 1
+
+
+
+
+
diff --git a/contrib/tor.wxs.in b/contrib/tor.wxs.in
new file mode 100644
index 0000000000..8a06eef1bc
--- /dev/null
+++ b/contrib/tor.wxs.in
@@ -0,0 +1,246 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+