Search the Community
Showing results for tags 'installed programs uninstall'.
-
Hy, i am sorry, if my issue has allready been solved, but i can't seem to find the solution. I was allway reading the Registry for the uninstall Strings of Programs For which i used to search Within Software\Microsoft\Windows\CurrentVersion\Uninstall\ oftware\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\ which would look something like this $FileHandleLocal=FileOpen(@DesktopDir&"\test"&$Exten,10) For $ZaehlerLocal = 1 to 5200 $RegKey = RegEnumKey("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall", $ZaehlerLocal) If @error then ExitLoop $RegKey2=RegRead("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall\"&$RegKey,"DisplayName") $RegKey3=RegRead("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall\"&$RegKey,"UninstallString") $RegKey4=RegRead("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall\"&$RegKey,"QuietUninstallString") $RegKey5=RegRead("HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall\"&$RegKey,"(Standard)") FileWrite($FileHandleLocal,$ZaehlerLocal&";") FileWrite($FileHandleLocal,$RegKey&";") FileWrite($FileHandleLocal,$RegKey2&";") FileWrite($FileHandleLocal,$RegKey3&";") FileWriteline($FileHandleLocal,$RegKey4&";") Next $FileHandleLocal=FileOpen(@DesktopDir&"\test2"&$Exten,10) For $ZaehlerLocal = 1 to 5200 $RegKey = RegEnumKey("HKEY_LOCAL_MACHINE\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall", $ZaehlerLocal) If @error then ExitLoop $RegKey2=RegRead("HKEY_LOCAL_MACHINE\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\"&$RegKey,"DisplayName") $RegKey3=RegRead("HKEY_LOCAL_MACHINE\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\"&$RegKey,"UninstallString") $RegKey4=RegRead("HKEY_LOCAL_MACHINE\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\"&$RegKey,"QuietUninstallString") $RegKey5=RegRead("HKEY_LOCAL_MACHINE\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\"&$RegKey,"(Standard)") FileWrite($FileHandleLocal,$ZaehlerLocal&";") FileWrite($FileHandleLocal,$RegKey&";") FileWrite($FileHandleLocal,$RegKey2&";") FileWrite($FileHandleLocal,$RegKey3&";") FileWriteline($FileHandleLocal,$RegKey4&";") Next This was working fine for years, butz now, something changed.... No matter what... I only get the keys from \Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\ but i do need both What am I doing wrong?!?!