From murdoch at stats.uwo.ca  Tue Feb 12 19:23:29 2008
From: murdoch at stats.uwo.ca (Duncan Murdoch)
Date: Tue, 12 Feb 2008 13:23:29 -0500
Subject: [Rd] Uninstall registry key the same for all versions (PR#10746)
In-Reply-To: <D8C95B444AD6EE4AAD638D818A9CFD340123D910@RINNYCSE000.rth.ad.rothschild.com>
References: <20080212162003.5532E283460F@mail.pubhealth.ku.dk><59d7961d0802120945u7af8d83r8fe6058470c9198f@mail.gmail.com>
	<47B1DF30.3040804@stats.uwo.ca>
	<D8C95B444AD6EE4AAD638D818A9CFD340123D910@RINNYCSE000.rth.ad.rothschild.com>
Message-ID: <47B1E421.9050906@stats.uwo.ca>

On 2/12/2008 1:16 PM, Bos, Roger wrote:
> I consider this a feature because when I am done testing the new
> version, I just delete the old directory.  Deleting the directory is
> usually easier than uninstalling.

If you ran the installer with the default settings, just deleting the 
old directory will leave start menu entries in place, so it's better to 
do a proper uninstall.

It also has the advantage of leaving behind files that weren't part of 
the installation:  you never know what lost files you might find there.

Duncan Murdoch


> 
>  
> 
> -----Original Message-----
> From: r-devel-bounces at r-project.org
> [mailto:r-devel-bounces at r-project.org] On Behalf Of Duncan Murdoch
> Sent: Tuesday, February 12, 2008 1:02 PM
> To: Henrik Bengtsson
> Cc: r-devel at stat.math.ethz.ch; Gerhard.Thallinger at tugraz.at
> Subject: Re: [Rd] Uninstall registry key the same for all versions
> (PR#10746)
> 
> On 2/12/2008 12:45 PM, Henrik Bengtsson wrote:
>> This is a beautiful example on how an added feature matures into a bug
> 
>> over time :)
>> 
>> I let the Windows developers argue with the pro's and con's of your 
>> suggestion.  I just wanna add a related suggestion that when you have 
>> multiple installations and you run "Unistall R 2.6.0" the first dialog
> 
>> ('R for Windows Uninstall') you see says "Are you sure you want to 
>> completely remove R for Windows and all of its components?"  This 
>> message does not specify the version being uninstalled, so without 
>> previous experience you certainly wonder if this is going to install 
>> all of your R installations or just one.
> 
> I'm just testing now, but I suspect Gerhard's suggestion of specifying
> AppID will fix this too.
> 
> Duncan Murdoch
> 
>> 
>> My $0.02
>> 
>> /Henrik
>> 
>> On Feb 12, 2008 8:20 AM,  <Gerhard.Thallinger at tugraz.at> wrote:
>>> Full_Name: Gerhard Thallinger
>>> Version: R 2.2.0 through R 2.6.2
>>> OS: Windows XP
>>> Submission from: (NULL) (129.27.145.220)
>>>
>>>
>>> The uninstall key in the Windows Registry
>>> (HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\)
>>> is the same ("R for Windows_is1") for all R versions (at least from 
>>> 2.2.0 to 2.6.2).
>>>
>>> This prohibits managing multiple R versions in a clean way, since the
> 
>>> installation of a new R versions overwrites the uninstall key of the 
>>> previous installed version. This makes an uninstall of a previous 
>>> version via "Add/Remove Software" impossible.
>>>
>>> The uninstall key should also contain the R version number (e.g. "R 
>>> for Windows 2.6.2_is1"). The name of the registry key can be set in 
>>> the Inno Setup definition file using the "AppId" directive.
>>> At the moment "AppId" is not set, therefor "AppName" is used as the 
>>> key name.
>>>
>>> ______________________________________________
>>> R-devel at r-project.org mailing list
>>> https://stat.ethz.ch/mailman/listinfo/r-devel
>>>
>> 
>> ______________________________________________
>> R-devel at r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-devel
> 
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
> 
> ********************************************************************** * 
> This message is for the named person's use only. It ma...{{dropped:12}}



[Rd] Uninstall registry key the same for all versions (PR#10746)
Duncan Murdoch