The Tor 'Expert Bundle' for Windows defaulted to installing Tor into "C:\Program Files (x86)\Tor" on my 64-bit Windows 7 computer, but it neither created that directory nor installed tor.exe (or the other files in the bundle) anywhere. (It did install geoip and torrc into "C:\Users\rransom\AppData\Roaming\Tor", and create a Start Menu folder for my user account.)
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Child items
0
Show closed items
No child items are currently assigned. Use child items to break down this issue into smaller parts.
Linked items
0
Link issues together to show that they're related.
Learn more.
When you run installer as admin (Run as Administrator) it works fine. Installer should trigger UAC but some reason it doesn't. And it doesn't even throw out an error even though the install was clearly unsuccessful (it wrote NOTHING to %ProgramFiles% or anywhere else). Happens with tor-0.2.3.8-alpha-win32.exe at least.
The reason it does not show a UAC dialog is because the installer is considered a legacy application. It has not been marked as being UAC compliant and therefore is run in backwards compatibility mode.
This also explains why there is nothing installed in %ProgramFiles%, yet it did not return an error.
Basically, Vista/Win7 runs the application under user context, but a user cannot write in %ProgramFiles%. As to not break the application, Vista/Win7 uses folder/registry virtualization and redirects write calls to the user's profile.
Scenario 2: http://support.microsoft.com/kb/927387
To tell Vista/Win7 the installer can only run elevated, one must embed a .manifest into the installer.
To embed a .manifest into an executable, you use mt.exe (available in the Windows SDK).
Some more info:
http://msdn.microsoft.com/en-us/library/bb756929.aspx
Caveat: when using 'requireAdministrator' the installer might install geoip and torrc to the administrator's profile.
Best practice is to not install user data, but create on first run. (Or you can install default user data to %ProgramFiles% and copy on first run, no problem)
Caveat: when using 'requireAdministrator' the installer might install geoip and torrc to the administrator's profile.
Best practice is to not install user data, but create on first run. (Or you can install default user data to %ProgramFiles% and copy on first run, no problem)
Looks like we should go with the copy approach (tho this needs a Vidalia patch...) Also, we'd need some logic to copy the new version when a new Tor gets installed.
It would be easier (and probably better) to replace the Expert Bundle installer with a zip file. Experts should know what to do with the zip file, and the installer only gets in the way of any expert setup.
It would be easier (and probably better) to replace the Expert Bundle installer with a zip file. Experts should know what to do with the zip file, and the installer only gets in the way of any expert setup.