google-code-export / notepad2-mod

Automatically exported from code.google.com/p/notepad2-mod
Other
2 stars 1 forks source link

x64 installer can't uninstall properly #9

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. Install x64 version of Notepad2 rev419
2. uninstall from any uninstaller soft
3. message given is that the notepad2.redir.ini cannot be copied

Product Version:

4.1.24-r419 (x64)

Additional Info:

When I install the 32-bit version on my 64-bit OS (Win7 SP1) I can uninstall 
it. When I install the 64-bit version I cannot because it says it cannot copy 
the redir.ini file. And indeed there is no such .ini file in the install 
directory at C:\Program Files\Notepad2.

Original issue reported on code.google.com by patrik...@gmail.com on 9 Mar 2011 at 12:14

GoogleCodeExporter commented 9 years ago
Now I find that after manually removing the files, regular Notepad will not 
work (it says it cannot find the .exe). So probably the redirect reg is still 
in place or something, so definitely the 64-bit uninstall is defective. When I 
install Notep2-r419 again it works again (Notepad2 does).

Original comment by patrik...@gmail.com on 9 Mar 2011 at 12:17

GoogleCodeExporter commented 9 years ago
Don't install both builds. Just install the x64 build on 64bit windows and 
you'll be fine.

Original comment by XhmikosR on 9 Mar 2011 at 12:40

GoogleCodeExporter commented 9 years ago
I'm sorry if I did not explain this clearly, but I only installed the 32-bit 
version after I perceived this problem. So when I only install the 64-bit 
version of Notepad2 on my 64-bit system, I cannot uninstall it. When I try to 
uninstall, it gives me the redir.ini error message. 

Original comment by patrik...@gmail.com on 9 Mar 2011 at 2:59

GoogleCodeExporter commented 9 years ago
Then I have no idea, it never happened to any of my 64bit virtual machines. I 
didn't write the installer and honestly I started to not like it that's why I 
wrote my own installer. Unfortunately, I lost the script and I will have to 
rewrite it again after 4.2.25. BTW, there's no notepad2.redir.ini installed. 
You should have a Notepad2.ini in your installation folder which points to the 
actual Notepad2.ini file in your APPDATA\Notepad2 folder.

Original comment by XhmikosR on 9 Mar 2011 at 3:24

GoogleCodeExporter commented 9 years ago
Check the notepad2.inf file in the svn to see what changes are made when the 
installer is run. Then you can manually remove the installed Notepad2.

http://code.google.com/p/notepad2-mod/source/browse/trunk/distrib/res/cabinet/no
tepad2.inf

Anyway, with the new installer none of the reported problems will happen ever 
again.

Original comment by XhmikosR on 9 Mar 2011 at 3:26

GoogleCodeExporter commented 9 years ago
Thanks, I may wait for that new installer then. Yes, I do have a Notepad2.ini 
file there, and also an .inf file. 

AH! I see what happened now. It is not your Notepad2, it is a little app called 
MyUninstaller (NirSoft, the latest version) I always use to uninstall programs. 
It has been so good I didn't even question it, but upon closer review it 
appears it won't uninstall this rev of Notepad2 properly, but when I go to 
Windows 'Program and Features' and uninstall it from there it uninstalls 
completely. 

To be clear, when I uninstall this rev of Notepad2 via MyUninstaller, and run 
Notepad, it is basic Notepad, not Notepad2 anymore, so it seems it 
'uninstalled' something. But when I go to the Program Files\Notepad2 directory, 
it is still there and all the files are there still. It is as if it only 
uninstalled the association of Notepad2 with Notepad, but not the actual 
program files.

Now when I uninstall Notepad2 from Windows 'Programs and Features', it 
uninstalls Notepad2 completely, including the Program Files folder & files. 

Odd. At least the mystery part is solved :)

Original comment by patrik...@gmail.com on 10 Mar 2011 at 12:07

GoogleCodeExporter commented 9 years ago
Good to hear that. It seems that "MyUninstaller" removed the registry entries 
but none of the files.

Original comment by XhmikosR on 10 Mar 2011 at 1:04