[tor-bugs] #7956 [Tor]: Tor uses Roaming (remote) AppData, not Local

Tor Bug Tracker & Wiki blackhole at torproject.org
Fri Oct 18 21:34:38 UTC 2013


#7956: Tor uses Roaming (remote) AppData, not Local
-------------------------+-------------------------------------------------
     Reporter:           |      Owner:
  cypherpunks            |     Status:  new
         Type:  defect   |  Milestone:  Tor: 0.2.5.x-final
     Priority:  major    |    Version:  Tor: unspecified
    Component:  Tor      |   Keywords:  tor-client win32 024-backport
   Resolution:           |  AppData Roaming Local Windows
Actual Points:           |  Parent ID:
       Points:           |
-------------------------+-------------------------------------------------

Comment (by erinn):

 I looked into this for a while today and the problem, I think, is that it
 would be easy to fix for everything except WinXP. Some notes I took:

 1. We could switch $APPDATA to $LOCALAPPDATA in tor-mingw.nsi.in

    By default this will install stuff into the right Local directory. The
 problem is that $LOCALAPPDATA is only supported on Win2k and up. As far as
 I understood things, this is true not only for NSIS but in general on
 WinXP -- there is %LOCALAPPDATA% but only for some post-XP Windows
 releases. (As an aside, in XP %APPDATA% is C:\Documents and
 Settings\{user}\Application Data).

 2. Use --enable-local-appdata by default. But I think this has the issues
 above? So we need to find a way to hack around the WinXP issue in both the
 installer and Tor itself, is that right?

 One other note:

 SHGetSpecialFolderLocation function is deprecated and SHGetFolderLocation
 should
 be used instead.

 http://msdn.microsoft.com/en-
 us/library/windows/desktop/bb762203%28v=vs.85%29.aspx

-- 
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/7956#comment:7>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tor-bugs mailing list