[plt-dev] PLT interacts badly with crazy new Windows "AppData\Remote" idea

From: Eli Barzilay (eli at barzilay.org)
Date: Tue May 4 16:43:04 EDT 2010

On May  4, John Clements wrote:
> On May 4, 2010, at 1:06 PM, Eli Barzilay wrote:
> 
> > On May  4, Robby Findler wrote:
> >> Can the uninstaller figure out enough to delete the shadow copies of
> >> the plt tree for the user that is running the uninstaller? (Or am I
> >> missing something?)
> > 
> > It will probably require guessing who the user is, and I don't know if
> > it's possible, since the uninstaller would run as the Administrator
> > user.  Even if it is possible, it sounds like it'd be too fragine to
> > do in practice.
> 
> What about adding a dialog message to the uninstaller:
> 
> "On Windows Vista and Windows 7, individual users may have files in
> AppData\Remote that will affect future installations of PLT. We
> advise you to delete these files."

But this is the rare exception rather than the common case.  It will
also be difficult to extract the relevant information (like where this
directory is, whether your on these platforms, etc).  But if anyone's
interested then feel free to hack on the script -- it's implemented
with NSIS.

-- 
          ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
                    http://barzilay.org/                   Maze is Life!


Posted on the dev mailing list.