Uninstall registry key the same for all versions (PR#10746)
On 2/13/2008 3:27 AM, Gerhard Thallinger wrote:
Hi Duncan,
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.
Thanks for looking into this. I think setting "AppName" to the same as "AppVerName" (which includes the version number) should cover both Henrik's and my suggestion.
Yes, that looks like the easiest solution. The Inno Setup docs tell you not to do that; I'm just trying it now to see if it produces really ugly messages somewhere. An alternative solution is to override the ConfirmUninstall message, but that has to be done separately in all the languages we support, so I like the AppVerName solution better. Duncan Murdoch