Short version:
i) How can I assign an icon within a third-party software app to a filetype?
ii) How can I remove the assignment of a program to "always open" a filetype?
----------------------------
Background diagnostics:
In XP, a software app (Native Instruments' Kontakt 3) assigns different icons to several filetypes that it uses, so you can distinguish them in Explorer. This did not work in Windows 7. I wondered why.
Below is a screenshot of what I've found in Windows 7, plus a screenshot from XP showing the available icons). The filetype (.nki) is mapped to the Registry key: Kontakt.Instrument.3. And here are the exported Registry entries:
a) the Defaulticon data value has an extra \ just before .exe, but the Shell Open command works when I double-click an .nki file.
b) the icon index number is positive (although in this tutorial http://www.sevenforums.com/tutorials/57455-file-extension-icon-change-default-icon.html , negative index numbers are used),
c) there were DefaultIcon entries for the other filetypes with index values of 2, 3, and 4
------------------
After creating a System Restore point and Exporting the Registry keys:
i) Will it be safe to remove the extra \ in the DefaultIcon data values?
ii) Will be be safe to delete the shell\open branch?
i) How can I assign an icon within a third-party software app to a filetype?
ii) How can I remove the assignment of a program to "always open" a filetype?
----------------------------
Background diagnostics:
In XP, a software app (Native Instruments' Kontakt 3) assigns different icons to several filetypes that it uses, so you can distinguish them in Explorer. This did not work in Windows 7. I wondered why.
Below is a screenshot of what I've found in Windows 7, plus a screenshot from XP showing the available icons). The filetype (.nki) is mapped to the Registry key: Kontakt.Instrument.3. And here are the exported Registry entries:
I have noticed three things:Exported from Windows 7 Home Premium
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Kontakt.Instrument.3]
@="Kontakt Instrument"
[HKEY_CLASSES_ROOT\Kontakt.Instrument.3\DefaultIcon]
@="C:\\Program Files (x86)\\Native Instruments\\Kontakt 3\\.exe,1"
[HKEY_CLASSES_ROOT\Kontakt.Instrument.3\shell]
[HKEY_CLASSES_ROOT\Kontakt.Instrument.3\shell\open]
[HKEY_CLASSES_ROOT\Kontakt.Instrument.3\shell\open\command]
@="C:\\Program Files (x86)\\Native Instruments\\Kontakt 3\\.exe %1"
------------------------------------------------
Exported from Windows XP Home
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Kontakt.Instrument.3]
@="Kontakt Instrument"
"EditFlags"=dword:00000000
[HKEY_CLASSES_ROOT\Kontakt.Instrument.3\DefaultIcon]
@="C:\\Program Files\\Native Instruments\\Kontakt 3\\Kontakt 3.exe,1"
[HKEY_CLASSES_ROOT\Kontakt.Instrument.3\shell]
[HKEY_CLASSES_ROOT\Kontakt.Instrument.3\shell\open]
[HKEY_CLASSES_ROOT\Kontakt.Instrument.3\shell\open\command]
@="C:\\Program Files\\Native Instruments\\Kontakt 3\\Kontakt 3.exe %1"
a) the Defaulticon data value has an extra \ just before .exe, but the Shell Open command works when I double-click an .nki file.
b) the icon index number is positive (although in this tutorial http://www.sevenforums.com/tutorials/57455-file-extension-icon-change-default-icon.html , negative index numbers are used),
c) there were DefaultIcon entries for the other filetypes with index values of 2, 3, and 4
------------------
After creating a System Restore point and Exporting the Registry keys:
i) Will it be safe to remove the extra \ in the DefaultIcon data values?
ii) Will be be safe to delete the shell\open branch?
Attachments
My Computer
At a glance
Windows Home Premium (64)Intel Core i7 8608GB (4x2GB) Corsair TwinX XMS31GB Gainward 9500 GT
- Computer type
- PC/Desktop
- Computer Manufacturer/Model Number
- Scan 3XS P55 liteDAW
- OS
- Windows Home Premium (64)
- CPU
- Intel Core i7 860
- Motherboard
- Gigabyte GA-P55A-UD4
- Memory
- 8GB (4x2GB) Corsair TwinX XMS3
- Graphics Card(s)
- 1GB Gainward 9500 GT
- Sound Card
- M-Audio Delta 66
- Monitor(s) Displays
- Acer v223wBBd
- Screen Resolution
- 1680 x 1050
- Hard Drives
- 1 x 500 GB WD Barracuda (OS+Docs)
2 x 1TB Samsung Spinpoint F3 (Data)
- PSU
- Enermax EMD625AWT II - 625W Enermax Modu82+ II
- Case
- Fractal Design Define R2 Black
- Cooling
- Prolima Megahalems Super 6 Heatpipe Tower Cooler
- Keyboard
- Microsoft Digital Media Pro
- Mouse
- Belkin Optical Ergo
- Internet Speed
- 8 Mbps nominal (14.9 achieved !)
- Other Info
- Digital Audio Workstation




