Your registry work is a little sloppy, as you place the files in the root of the C drive, and assume all computers are installed on C: (Mine is in fact D:). I've come up with a little fix:
Code:
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\.GIF]
@="GIFImage.Document"
[HKEY_CLASSES_ROOT\.GIF]
@="GIFImage.Document"
[HKEY_CLASSES_ROOT\GIFImage.Document]
"EditFlags"=dword:00010000
"FriendlyTypeName"=hex(2):40,00,25,00,57,00,69,00,6e,00,44,00,69,00,72,00,25,\
00,5c,00,67,00,69,00,66,00,5c,00,73,00,68,00,69,00,6d,00,67,00,76,00,77,00,\
2e,00,64,00,6c,00,6c,00,2c,00,2d,00,33,00,30,00,36,00,00,00
"ImageOptionFlags"=dword:00000000
"BrowserFlags"=dword:00000008
@="GIF Image"
[HKEY_CLASSES_ROOT\GIFImage.Document\DefaultIcon]
@=hex(2):25,00,57,00,69,00,6e,00,44,00,69,00,72,00,25,00,5c,00,67,00,69,00,66,\
00,5c,00,73,00,68,00,69,00,6d,00,67,00,76,00,77,00,2e,00,64,00,6c,00,6c,00,\
2c,00,34,00,00,00
[HKEY_CLASSES_ROOT\GIFImage.Document\shell]
@=""
[HKEY_CLASSES_ROOT\GIFImage.Document\shell\open]
"MuiVerb"="@shimgvw.dll,-550"
[HKEY_CLASSES_ROOT\GIFImage.Document\shell\open\command]
@=hex(2):25,00,57,00,69,00,6e,00,44,00,69,00,72,00,25,00,5c,00,67,00,69,00,66,\
00,5c,00,72,00,75,00,6e,00,64,00,6c,00,6c,00,33,00,32,00,2e,00,65,00,78,00,\
65,00,20,00,25,00,57,00,69,00,6e,00,44,00,69,00,72,00,25,00,5c,00,67,00,69,\
00,66,00,5c,00,73,00,68,00,69,00,6d,00,67,00,76,00,77,00,2e,00,64,00,6c,00,\
6c,00,2c,00,49,00,6d,00,61,00,67,00,65,00,56,00,69,00,65,00,77,00,5f,00,46,\
00,75,00,6c,00,6c,00,73,00,63,00,72,00,65,00,65,00,6e,00,20,00,25,00,31,00,\
00,00
[HKEY_CLASSES_ROOT\GIFImage.Document\shell\open\DropTarget]
"Clsid"="{E84FDA7C-1D6A-45F6-B725-CB260C236066}"
[HKEY_CLASSES_ROOT\GIFImage.Document\shell\printto]
[HKEY_CLASSES_ROOT\GIFImage.Document\shell\printto\command]
@="C:\\rundll32.exe C:\\shimgvw.dll,ImageView_PrintTo /pt \"%1\" \"%2\" \"%3\" \"%4\""
"New Value #1"=hex(2):25,00,57,00,69,00,6e,00,44,00,69,00,72,00,25,00,5c,00,67,\
00,69,00,66,00,5c,00,72,00,75,00,6e,00,64,00,6c,00,6c,00,33,00,32,00,2e,00,\
65,00,78,00,65,00,20,00,25,00,57,00,69,00,6e,00,44,00,69,00,72,00,25,00,5c,\
00,67,00,69,00,66,00,5c,00,73,00,68,00,69,00,6d,00,67,00,76,00,77,00,2e,00,\
64,00,6c,00,6c,00,2c,00,49,00,6d,00,61,00,67,00,65,00,56,00,69,00,65,00,77,\
00,5f,00,50,00,72,00,69,00,6e,00,74,00,54,00,6f,00,20,00,2f,00,70,00,74,00,\
20,00,22,00,25,00,31,00,22,00,20,00,22,00,25,00,32,00,22,00,20,00,22,00,25,\
00,33,00,22,00,20,00,22,00,25,00,34,00,22,00,00,00
As well, I don't care for the installer or modified DLL, and found a way to set compatability through registry. For simplicity's sake, I wrote a one click installer. Literally
(Now run again to un install), as well as source below source. The installer doesn't need autoit, and you don't need to set the compatiability settings - it does everything for you
To run the source you will need Autoit installed, and the Rundll32 and shimgvw.dll files in the script's folder. I hope someone learns something or finds this useful :P