[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Moving from test win32 MSI packages to production ready
- To: or-dev@xxxxxxxxxxxxx
- Subject: Moving from test win32 MSI packages to production ready
- From: coderman <coderman@xxxxxxxxx>
- Date: Tue, 17 Feb 2009 15:53:25 -0800
- Delivered-to: archiver@xxxxxxxx
- Delivered-to: or-dev-outgoing@xxxxxxxx
- Delivered-to: or-dev@xxxxxxxx
- Delivery-date: Tue, 17 Feb 2009 18:53:31 -0500
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type:content-transfer-encoding; bh=GVs5+kee/qcvMTcj51TXVk/c5FMBDpKqLK0z9qoIS68=; b=VeI/XuK62uMvcdfbpHIAuySriVC6pvR1fdv3PA8kgygnHGvWXXR0HQ5Bar5h2d4cH/ x5z00WtiPuPed7Ihalm6NNTGoe5STFEJnDeMpbiK6dC+P697FHpICwflRRX66hJ4gV2v GMmCR1bvyQZLSH7xNGDtTUAHcxSnkBdf01P5o=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type :content-transfer-encoding; b=jKsZjMvdslYTAwMyvRsjTrZUhtPakLjgTc9MyY68sKcBVXmV/tpRpNK+Vk7to9eiSm ahAUg8O8ef9hmbuQk0ZVc6Ri7IyNAZOLFKkgBP5eRH6m5L4JI8oAg798Jw4WHw57AF3V eqlYiCJGQW7oJTNfEDPOU/EPWdbUfqTiBxSis=
- Reply-to: or-dev@xxxxxxxxxxxxx
- Sender: owner-or-dev@xxxxxxxxxxxxx
Moving from test win32 MSI packages to production ready
This is important for updater assisted bundle and network
installer packages. 
The new MSI packages in testing need a few changes before
any public distribution of them is reasonable. The other
changes mentioned below can wait until after an initial
MSI based bundle is announced and distributed.
There are also some significant differences between these
packages and the existing NSIS based installers:
a) Windows 2K SP2 is the minimum supported OS version due to
the Microsoft Installer switch.
b) Only local per user installs are currently supported. 
Work in progress in progress for minimal first distribution:
[code drop ETA end-of-week. public www pkgs next month?]
1) Add all of the various LICENSE files and disclaimers into
each package, every time, for all necessary languages
Include new license file package so that we don't need to
track and maintain redundant license data in the packages
or bundles individually. 
2) Add edmanm's Vidalia bundle NSI installer logic for Tor
button installation into the bundle installer exe.
3) Provide the quick and thorough uninstall utility with
bundled packages. 
Near term changes of high priority likely to prevent some
users from installing or being able to use the new packages:
0) At some point the keys used for the Thandy repo and sent
with the client exe need to be updated. That point may or
may not be before the first release, but probably should?
1) Finish support for native mingw32 python to eliminate
dependency on Microsoft Visual C++ Runtime in Thandy and
other apps. 
2) Implement changes to bundle package WiX specs for feature
selection configuration via command line and registry.
3) Integrate localization support into WiX specs if needed
for that feature and integrate multiple localization
bundling into the installers. 
4) Support install as service and for-all-users based
deployments of the MSI packages and bundles. 
5) Add optional support for Marble Vidalia widget; bonus
points if it can detect 3D render frame rate and adjust
on the fly.
Additional features that may or may not be needed:
a) Implement Thandy updater support for service installs
and all bundle component packages.
b) Include Tor with the network installer for initial
downloads routed through Tor instead of direct only.
c) Support for native 64bit applications and packages.
d) Support for SteadyState deployments. 
e) Including current cached directory consensus info and
descriptors with frequently updated bundle installers
f) Provide hooks for users to use bridge descriptors and
stay within strict firewall constraints for both the
network based installation and the first time bundle
0. Alpha packages with untrustworthy Thandy signatures:
1. Practical impacts of new Microsoft Installer packages:
the primary concern aside from higher minimal supported
operating system version is the path under which Tor
and bundle components reside. For the assisted updater
to be able to run from Vidalia and with least privileges
the program files as well as application data must all
reside under CSIDL_LOCAL_APPDATA, aka:
%USERPROFILE%\Local Settings\Application Data\, aka:
C:\Documents and Settings\<user>\Local Settings\Application Data\
2. License package or just hack existing .wxs files for each?
There are two reasons I am leaning toward a license
package. An infrequently updated license package makes
the bandwidth savings for Thandy updates even more useful
given the large amount of license data in a single kernel
image associated with all of the packages used in the Tor
VM file system image. This would also prevent needless
duplication of license data in the bundle and network
3. The problem with un-installing or repairing a bundle:
Since we're now shipping the guts of Tor and all its
bundle related dependencies in MSI packages we need
something more than the default MSI package remove via
control panel option for the bundle and network installer.
The MSI package utility also requires that .msi packages be
available on the file system for repair.
The MSI package utility also requires that package removal
without a local copy of the .msi package use the Product ID
instead of .msi package file.
The work-in-progress bundle package utility is a small
stand-alone native exe that interacts with msiexec, the
registry, and can assist with securely updating and
repairing all of the MSI packages distributed.
4. What is the "Microsoft Revenue Generation Feature/Tax":
It would be ideal if anyone that wanted to build an entire
set of bundle packages and installers from source and
redistribute everything they need without anything more
onerous than "open source" [see 2] derivative work
constraints and require no licensed software to build it.
Microsoft conspires to guarantee that you'll be using a
licensed copy of at least the most recent Visual Studio C++
for building your distributable executables. Note that any
package that ships with the Visual C++ runtime libraries as
a side by side assembly built with licensed VC++ cannot be
built by anyone without their own licensed copy of VC++.
5. Localized MSI packages with WiX:
This boils to mapping as much as we can in terms of text
presented to the user from the default WixLocalization
element specification. Whatever can not be deferred to by
default in the standard WiX UI would then need to be added
from sources when building the packages.
6. Installation and upgrades for all-user or service setup:
The default local install per user mode of deployment is
preferred because it does not require administrator rights
nor will multiple copies of the same product series on the
same host conflict with each other. The ability to install
as a service that launches at boot and/or make parts of the
packages available to all users requires at least:
a) Installing into a local, persistent location and not
under any User owned Application Data folders.
b) Prompting for escalation during initial bundle install
and indicating admin requirements in MSI package.
c) Moving the Tor update process out of Vidalia and doing
it from service or manually after user notification.
7. Microsoft Windows SteadyState (part of Shared Access