m5g
24-11-2014, 21:00
Доброго времени суток!
Столкнулся на днях с такой проблемой: 32-битные приложения перестали устанавливаться по дефолтному пути "C:\Program Files (x86)", и устанавливаются просто в "C:\Program Files", причем ярлыки в меню "Пуск" создаются правильно, то есть согласно разрядности, в пути ярлыка присутствует (x86), но он не работает, учитывая не правильное расположение 32-битного приложения изначально.
Не могу точно быть уверен, но возможно, это последствия чисток реестра "Reg Organizer"ом, возможно, что-то другое произошло, но вот что интересно, сравнив ветки реестра у себя и на только что установленной виртуальной машине, я обнаружил, что ветки отличаются -
у меня было вот так
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer]
"InstallerLocation"="C:\\Windows\\Syswow64\\"
а на свежей установке так
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer]
"InstallerLocation"="C:\\Windows\\System32\\"
"MsiExecCA32"="C:\\Windows\\Syswow64\\msiexec.exe"
"MsiExecCA64"="C:\\Windows\\System32\\msiexec.exe"
и еще были расхождения в следующих ключах реестра, и я их подправил, в соответствие с разрядностью
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion]
"ProgramFilesDir (x86)"="C:\\Program Files (x86)"
"CommonFilesDir (x86)"="C:\\Program Files (x86)\\Common Files"
"CommonW6432Dir"="C:\\Program Files\\Common Files"
"CommonFilesDir"="C:\\Program Files\\Common Files"
"ProgramW6432Dir"="C:\\Program Files"
"MediaPathUnexpanded"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,\
6f,00,6f,00,74,00,25,00,5c,00,4d,00,65,00,64,00,69,00,61,00,00,00
"ProgramFilesDir"="C:\\Program Files"
"DevicePath"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,\
00,74,00,25,00,5c,00,69,00,6e,00,66,00,00,00
"ProgramFilesPath"=hex(2):25,00,50,00,72,00,6f,00,67,00,72,00,61,00,6d,00,46,\
00,69,00,6c,00,65,00,73,00,25,00,00,00
"SM_GamesName"="Games"
"SM_ConfigureProgramsName"="Set Program Access and Defaults"
"InstallTime"="1414665369"
"LoaderPrefix"="66666-666-6666666-66666"
@=""
На свежей системе эти ключи выглядят так же
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion]
"ProgramFilesDir"="C:\\Program Files"
"CommonFilesDir"="C:\\Program Files\\Common Files"
"ProgramFilesDir (x86)"="C:\\Program Files (x86)"
"CommonFilesDir (x86)"="C:\\Program Files (x86)\\Common Files"
"CommonW6432Dir"="C:\\Program Files\\Common Files"
"ProgramW6432Dir"="C:\\Program Files"
"MediaPathUnexpanded"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,\
6f,00,6f,00,74,00,25,00,5c,00,4d,00,65,00,64,00,69,00,61,00,00,00
"DevicePath"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,\
00,74,00,25,00,5c,00,69,00,6e,00,66,00,00,00
"ProgramFilesPath"=hex(2):25,00,50,00,72,00,6f,00,67,00,72,00,61,00,6d,00,46,\
00,69,00,6c,00,65,00,73,00,25,00,00,00
"SM_GamesName"="Games"
"SM_ConfigureProgramsName"="Set Program Access and Defaults"
Где что изменить, чтобы 32-битные приложения опять устанавливались по умолчанию в "Program Files (x86)"???
Заранее спасибо
Столкнулся на днях с такой проблемой: 32-битные приложения перестали устанавливаться по дефолтному пути "C:\Program Files (x86)", и устанавливаются просто в "C:\Program Files", причем ярлыки в меню "Пуск" создаются правильно, то есть согласно разрядности, в пути ярлыка присутствует (x86), но он не работает, учитывая не правильное расположение 32-битного приложения изначально.
Не могу точно быть уверен, но возможно, это последствия чисток реестра "Reg Organizer"ом, возможно, что-то другое произошло, но вот что интересно, сравнив ветки реестра у себя и на только что установленной виртуальной машине, я обнаружил, что ветки отличаются -
у меня было вот так
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer]
"InstallerLocation"="C:\\Windows\\Syswow64\\"
а на свежей установке так
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer]
"InstallerLocation"="C:\\Windows\\System32\\"
"MsiExecCA32"="C:\\Windows\\Syswow64\\msiexec.exe"
"MsiExecCA64"="C:\\Windows\\System32\\msiexec.exe"
и еще были расхождения в следующих ключах реестра, и я их подправил, в соответствие с разрядностью
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion]
"ProgramFilesDir (x86)"="C:\\Program Files (x86)"
"CommonFilesDir (x86)"="C:\\Program Files (x86)\\Common Files"
"CommonW6432Dir"="C:\\Program Files\\Common Files"
"CommonFilesDir"="C:\\Program Files\\Common Files"
"ProgramW6432Dir"="C:\\Program Files"
"MediaPathUnexpanded"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,\
6f,00,6f,00,74,00,25,00,5c,00,4d,00,65,00,64,00,69,00,61,00,00,00
"ProgramFilesDir"="C:\\Program Files"
"DevicePath"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,\
00,74,00,25,00,5c,00,69,00,6e,00,66,00,00,00
"ProgramFilesPath"=hex(2):25,00,50,00,72,00,6f,00,67,00,72,00,61,00,6d,00,46,\
00,69,00,6c,00,65,00,73,00,25,00,00,00
"SM_GamesName"="Games"
"SM_ConfigureProgramsName"="Set Program Access and Defaults"
"InstallTime"="1414665369"
"LoaderPrefix"="66666-666-6666666-66666"
@=""
На свежей системе эти ключи выглядят так же
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion]
"ProgramFilesDir"="C:\\Program Files"
"CommonFilesDir"="C:\\Program Files\\Common Files"
"ProgramFilesDir (x86)"="C:\\Program Files (x86)"
"CommonFilesDir (x86)"="C:\\Program Files (x86)\\Common Files"
"CommonW6432Dir"="C:\\Program Files\\Common Files"
"ProgramW6432Dir"="C:\\Program Files"
"MediaPathUnexpanded"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,\
6f,00,6f,00,74,00,25,00,5c,00,4d,00,65,00,64,00,69,00,61,00,00,00
"DevicePath"=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,\
00,74,00,25,00,5c,00,69,00,6e,00,66,00,00,00
"ProgramFilesPath"=hex(2):25,00,50,00,72,00,6f,00,67,00,72,00,61,00,6d,00,46,\
00,69,00,6c,00,65,00,73,00,25,00,00,00
"SM_GamesName"="Games"
"SM_ConfigureProgramsName"="Set Program Access and Defaults"
Где что изменить, чтобы 32-битные приложения опять устанавливались по умолчанию в "Program Files (x86)"???
Заранее спасибо