Ofunniku / gdipp

Automatically exported from code.google.com/p/gdipp
0 stars 0 forks source link

Severe error in the Registry mode uninstall batch file (and install probaby as well) #103

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The scripts assume that there is no other software using the AppLoad mechanism. 
That is a very serious mistake! On my system the AVG antivirus and the HP 
security software use this mechanism as well. The uninstall/disable script has 
deleted and disabled this entries. The install script should take into the 
account any existing values and just update these -OR- it should, at least, 
save (rename) and update the existing values on installation and revert them 
back on uninstall.

And example of current behaviour from the "Registry_Disable_64.bat" the will 
completely disable the AppLoad mechanism for all applications:

reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows 
NT\CurrentVersion\Windows" /v "LoadAppInit_DLLs" /t REG_DWORD /d 0 /f

reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows 
NT\CurrentVersion\Windows" /v "LoadAppInit_DLLs" /t REG_DWORD /d 0 /f

Original issue reported on code.google.com by mmihe...@gmail.com on 25 Aug 2010 at 7:12

GoogleCodeExporter commented 9 years ago
Batch script lacks of string manipulation function. AFAIK, there is no way to 
just remove certain substring from a string. I will warn user to backup such 
registry keys before enabling or disabling manually in the README. However, the 
way the scripts modify registry would not change.

FYI, the registry keys the scripts modify are listed in the README document: 
http://code.google.com/p/gdipp/wiki/README

Original comment by crendk...@gmail.com on 25 Aug 2010 at 7:18

GoogleCodeExporter commented 9 years ago
I respect your decision.

I would still suggest you make a backup of the values on install. In this way 
the user would at least have a way of finding out what settings were lost. You 
can export the keys to a file or simply rename the original keys.

BTW: Batch files do allow for string manipulation. See the help for the SET 
command. You will find match&search&replace possibilities.

Original comment by mmihe...@gmail.com on 26 Aug 2010 at 7:31