File asso problem - baffled

Discussion in 'Windows 7' started by laffin_boy, Dec 31, 2016.

  1. laffin_boy

    laffin_boy MDL Novice

    Feb 15, 2009
    3
    0
    0
    #1 laffin_boy, Dec 31, 2016
    Last edited by a moderator: Apr 20, 2017
    (Win 7 - 64 on my desktop machine)

    I've been extracting new versions of Irfan View for many yrs but they now only offer an installable option. I installed ver 4.44, monitoring the install with Regshot 2, and it overwrote all of my custom image file icons. I built a reg file to fix this and merged it. Now clicking on a jpg opens Win Photo Viewer. Hmmm. All of my file associations look correct. Running FileTypesManager shows Irfan View as does Win Default Programs.

    OK I export the few keys that I really need and build an install.reg. Next I delete all references to Irfan View in the reg and then merge my install.reg. FileTypesManager shows Irfan View correctly registered as does Win Default Programs. .bmp's and gif's work correctly. jpg's, png's & ico's still open in Win Photo Viewer. Rt click on a jpg, choose "OPEN WITH" > choose and Irfan View is already preselected. I click OK and it opens Win Photo Viewer !!! Welcome to the Alternate Universe.

    (I attempted to upload my install.reg (renamed as txt) but i'm not spart enough to to do that. So here's the file:

    Code:
    Windows Registry Editor Version 5.00
    
    [HKEY_CLASSES_ROOT\IrfanView]
    @="IrfanView"
    
    [HKEY_CLASSES_ROOT\IrfanView\shell]
    
    [HKEY_CLASSES_ROOT\IrfanView\shell\open]
    
    [HKEY_CLASSES_ROOT\IrfanView\shell\open\command]
    @="\"C:\\Kosmo\\Apps\\Graphics\\I-View\\i_view32.exe\" \"%1\""
    
    
    [HKEY_CLASSES_ROOT\Applications\i_view32.exe]
    "FriendlyAppName"="IrfanView"
    
    [HKEY_CLASSES_ROOT\Applications\i_view32.exe\shell]
    
    [HKEY_CLASSES_ROOT\Applications\i_view32.exe\shell\open]
    
    [HKEY_CLASSES_ROOT\Applications\i_view32.exe\shell\open\command]
    @="\"C:\\Kosmo\\Apps\\Graphics\\I-View\\i_view32.exe\" \"%1\""
    
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.bmp]
    @="Paint.Picture"
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.gif]
    @="giffile"
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.ico]
    @="icofile"
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.jpg]
    @="jpegfile"
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.png]
    @="pngfile"
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\.tif]
    @="TIFImage.Document"
    
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\giffile]
    @="GIF Image"
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\giffile\DefaultIcon]
    @="C:\\Kosmo\\Tools\\Icons\\GIF.ICO,0"
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\giffile\shell\Open\command]
    @="\"C:\\Kosmo\\Apps\\Graphics\\I-View\\i_view32.exe\" \"%1\""
    
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\icofile]
    @="Icon"
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\icofile\DefaultIcon]
    @="%1"
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\icofile\shell\open\command]
    @="\"C:\\Kosmo\\Apps\\Graphics\\I-View\\i_view32.exe\" \"%1\""
    
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\jpegfile]
    @="JPEG Image"
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\jpegfile\DefaultIcon]
    @="C:\\Kosmo\\Tools\\Icons\\JPG.ICO,0"
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\jpegfile\shell\open\command]
    @="\"C:\\Kosmo\\Apps\\Graphics\\I-View\\i_view32.exe\" \"%1\""
    
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Paint.Picture]
    @="Bitmap Image"
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Paint.Picture\DefaultIcon]
    @="C:\\Kosmo\\Tools\\Icons\\bmp.ico,0"
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Paint.Picture\shell]
    @=edit
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Paint.Picture\shell\edit\command]
    @="\"C:\\Kosmo\\Apps\\Graphics\\I-View\\i_view32.exe\" \"%1\""
    
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\pngfile]
    @="PNG Image"
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\pngfile\DefaultIcon]
    @="C:\\Kosmo\\Tools\\Icons\\PNG.ICO,0"
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\pngfile\shell\open\command]
    @="\"C:\\Kosmo\\Apps\\Graphics\\I-View\\i_view32.exe\" \"%1\""
    
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\TIFImage.Document\DefaultIcon]
    @="C:\\Kosmo\\Tools\\Icons\\tiff.ICO,0"
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Classes\TIFImage.Document\shell\open\command]
    @="\"C:\\Kosmo\\Apps\\Graphics\\I-View\\i_view32.exe\" \"%1\""
    
    
    [HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\IrfanView]
    @=""
    "DisplayName"="IrfanView 4.44"
    "UninstallString"="\"C:\\Kosmo\\Apps\\Graphics\\I-View\\iv_uninstall.exe\""
    "Publisher"="Irfan Skiljan"
    "InstallLocation"="C:\\Kosmo\\Apps\\Graphics\\I-View\\"
    "DisplayVersion"="4.44"
    "DisplayIcon"="C:\\Kosmo\\Apps\\Graphics\\I-View\\i_view32.exe,0"
    "VersionMajor"=dword:00000004
    "VersionMinor"=dword:0000002c
    "EstimatedSize"=dword:00000c00
    Any ideas?