win7中.inf文件右键菜单 没有“安装”选项
在论坛下载了一套鼠标主题,帖子上说直接右键inf文件选择安装。但是我的电脑inf文件右键没有“安装”选项。请问我该怎么安装inf文件,或者怎么在菜单里添加“安装”选项?百...
在论坛下载了一套鼠标主题,帖子上说直接右键inf文件选择安装。但是我的电脑inf文件右键没有“安装”选项。请问我该怎么安装inf文件,或者怎么在菜单里添加“安装”选项?百度上有教人怎么添加“安装”选项的,但那是XP的,win7里面我找不到。
电脑是win7 64位。
如果实在不行,如何导入鼠标主题呢?在控制面板鼠标指针选项里一个个自定义太麻烦了。
inf文件双击打开的内容是:
[Version]
signature="$CHICAGO$"
[DefaultInstall]
CopyFiles = Scheme.Cur
AddReg = Scheme.Reg,Wreg
[DestinationDirs]
Scheme.Cur = 10,"%CUR_DIR%"
[Scheme.Reg]
HKCU,"Control Panel\Cursors\Schemes","%SCHEME_NAME%",,"%10%\%CUR_DIR%\%pointer%,%10%\%CUR_DIR%\%help%,%10%\%CUR_DIR%\%work%,%10%\%CUR_DIR%\%busy%,%10%\%CUR_DIR%\%Cross%,%10%\%CUR_DIR%\%Text%,%10%\%CUR_DIR%\%Hand%,%10%\%CUR_DIR%\%Unavailiable%,%10%\%CUR_DIR%\%Vert%,%10%\%CUR_DIR%\%Horz%,%10%\%CUR_DIR%\%Dgn1%,%10%\%CUR_DIR%\%Dgn2%,%10%\%CUR_DIR%\%move%,%10%\%CUR_DIR%\%alternate%,%10%\%CUR_DIR%\%link%"
[Wreg]
HKCU,"Control Panel\Cursors",,0x00020000,"%SCHEME_NAME%"
HKCU,"Control Panel\Cursors",AppStarting,0x00020000,"%10%\%CUR_DIR%\%work%"
HKCU,"Control Panel\Cursors",Arrow,0x00020000,"%10%\%CUR_DIR%\%pointer%"
HKCU,"Control Panel\Cursors",Crosshair,0x00020000,"%10%\%CUR_DIR%\%Cross%"
HKCU,"Control Panel\Cursors",Hand,0x00020000,"%10%\%CUR_DIR%\%link%"
HKCU,"Control Panel\Cursors",Help,0x00020000,"%10%\%CUR_DIR%\%Help%"
HKCU,"Control Panel\Cursors",IBeam,0x00020000,"%10%\%CUR_DIR%\%Text%"
HKCU,"Control Panel\Cursors",No,0x00020000,"%10%\%CUR_DIR%\%Unavailiable%"
HKCU,"Control Panel\Cursors",NWPen,0x00020000,"%10%\%CUR_DIR%\%Hand%"
HKCU,"Control Panel\Cursors",SizeAll,0x00020000,"%10%\%CUR_DIR%\%move%"
HKCU,"Control Panel\Cursors",SizeNESW,0x00020000,"%10%\%CUR_DIR%\%Dgn2%"
HKCU,"Control Panel\Cursors",SizeNS,0x00020000,"%10%\%CUR_DIR%\%Vert%"
HKCU,"Control Panel\Cursors",SizeNWSE,0x00020000,"%10%\%CUR_DIR%\%Dgn1%"
HKCU,"Control Panel\Cursors",SizeWE,0x00020000,"%10%\%CUR_DIR%\%Horz%"
HKCU,"Control Panel\Cursors",UpArrow,0x00020000,"%10%\%CUR_DIR%\%alternate%"
HKCU,"Control Panel\Cursors",Wait,0x00020000,"%10%\%CUR_DIR%\%busy%"
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Runonce\Setup\","",,"rundll32.exe shell32.dll,Control_RunDLL main.cpl @0,1"
[Scheme.Cur]
"Arrow.ani"
"Help.ani"
"Busy.ani"
"Working.ani"
"Cross.ani"
"IBeam.ani"
"Handwriting.ani"
"NO.ani"
"SizeNS.ani"
"SizeWE.ani"
"SizeNWSE.ani"
"SizeNESW.ani"
"SizeAll.ani"
"UpArrow.ani"
"Hand.ani"
[Strings]
CUR_DIR = "Cursors\neovison"
SCHEME_NAME = "neovison"
pointer = "Arrow.ani"
help = "Help.ani"
work = "Busy.ani"
busy = "Working.ani"
cross = "Cross.ani"
text = "IBeam.ani"
hand = "Handwriting.ani"
unavailiable = "NO.ani"
vert = "SizeNS.ani"
horz = "SizeWE.ani"
dgn1 = "SizeNWSE.ani"
dgn2 = "SizeNESW.ani"
move = "SizeAll.ani"
alternate = "UpArrow.ani"
link = "Hand.ani" 展开
电脑是win7 64位。
如果实在不行,如何导入鼠标主题呢?在控制面板鼠标指针选项里一个个自定义太麻烦了。
inf文件双击打开的内容是:
[Version]
signature="$CHICAGO$"
[DefaultInstall]
CopyFiles = Scheme.Cur
AddReg = Scheme.Reg,Wreg
[DestinationDirs]
Scheme.Cur = 10,"%CUR_DIR%"
[Scheme.Reg]
HKCU,"Control Panel\Cursors\Schemes","%SCHEME_NAME%",,"%10%\%CUR_DIR%\%pointer%,%10%\%CUR_DIR%\%help%,%10%\%CUR_DIR%\%work%,%10%\%CUR_DIR%\%busy%,%10%\%CUR_DIR%\%Cross%,%10%\%CUR_DIR%\%Text%,%10%\%CUR_DIR%\%Hand%,%10%\%CUR_DIR%\%Unavailiable%,%10%\%CUR_DIR%\%Vert%,%10%\%CUR_DIR%\%Horz%,%10%\%CUR_DIR%\%Dgn1%,%10%\%CUR_DIR%\%Dgn2%,%10%\%CUR_DIR%\%move%,%10%\%CUR_DIR%\%alternate%,%10%\%CUR_DIR%\%link%"
[Wreg]
HKCU,"Control Panel\Cursors",,0x00020000,"%SCHEME_NAME%"
HKCU,"Control Panel\Cursors",AppStarting,0x00020000,"%10%\%CUR_DIR%\%work%"
HKCU,"Control Panel\Cursors",Arrow,0x00020000,"%10%\%CUR_DIR%\%pointer%"
HKCU,"Control Panel\Cursors",Crosshair,0x00020000,"%10%\%CUR_DIR%\%Cross%"
HKCU,"Control Panel\Cursors",Hand,0x00020000,"%10%\%CUR_DIR%\%link%"
HKCU,"Control Panel\Cursors",Help,0x00020000,"%10%\%CUR_DIR%\%Help%"
HKCU,"Control Panel\Cursors",IBeam,0x00020000,"%10%\%CUR_DIR%\%Text%"
HKCU,"Control Panel\Cursors",No,0x00020000,"%10%\%CUR_DIR%\%Unavailiable%"
HKCU,"Control Panel\Cursors",NWPen,0x00020000,"%10%\%CUR_DIR%\%Hand%"
HKCU,"Control Panel\Cursors",SizeAll,0x00020000,"%10%\%CUR_DIR%\%move%"
HKCU,"Control Panel\Cursors",SizeNESW,0x00020000,"%10%\%CUR_DIR%\%Dgn2%"
HKCU,"Control Panel\Cursors",SizeNS,0x00020000,"%10%\%CUR_DIR%\%Vert%"
HKCU,"Control Panel\Cursors",SizeNWSE,0x00020000,"%10%\%CUR_DIR%\%Dgn1%"
HKCU,"Control Panel\Cursors",SizeWE,0x00020000,"%10%\%CUR_DIR%\%Horz%"
HKCU,"Control Panel\Cursors",UpArrow,0x00020000,"%10%\%CUR_DIR%\%alternate%"
HKCU,"Control Panel\Cursors",Wait,0x00020000,"%10%\%CUR_DIR%\%busy%"
HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Runonce\Setup\","",,"rundll32.exe shell32.dll,Control_RunDLL main.cpl @0,1"
[Scheme.Cur]
"Arrow.ani"
"Help.ani"
"Busy.ani"
"Working.ani"
"Cross.ani"
"IBeam.ani"
"Handwriting.ani"
"NO.ani"
"SizeNS.ani"
"SizeWE.ani"
"SizeNWSE.ani"
"SizeNESW.ani"
"SizeAll.ani"
"UpArrow.ani"
"Hand.ani"
[Strings]
CUR_DIR = "Cursors\neovison"
SCHEME_NAME = "neovison"
pointer = "Arrow.ani"
help = "Help.ani"
work = "Busy.ani"
busy = "Working.ani"
cross = "Cross.ani"
text = "IBeam.ani"
hand = "Handwriting.ani"
unavailiable = "NO.ani"
vert = "SizeNS.ani"
horz = "SizeWE.ani"
dgn1 = "SizeNWSE.ani"
dgn2 = "SizeNESW.ani"
move = "SizeAll.ani"
alternate = "UpArrow.ani"
link = "Hand.ani" 展开
展开全部
按windows徽标键(键盘下面的windows图标键)+r组合键(winkey+r)
也就是说按windows徽标键的同时按r键,我相信你懂得···
键入
RunDll32 advpack.dll,LaunchINFSection YOUINF.inf,DefaultInstall
(把YOUINF.inf替换成你的inf文件的绝对路径,如 "c:\a.inf" 一定要加双引号!)
点击【确定】即可安装
想恢复“安装的话”请看http://zhidao.baidu.com/question/194152676.html
也就是说按windows徽标键的同时按r键,我相信你懂得···
键入
RunDll32 advpack.dll,LaunchINFSection YOUINF.inf,DefaultInstall
(把YOUINF.inf替换成你的inf文件的绝对路径,如 "c:\a.inf" 一定要加双引号!)
点击【确定】即可安装
想恢复“安装的话”请看http://zhidao.baidu.com/question/194152676.html
追问
谢谢你,确实解决了安装问题,非常感谢。
但是想恢复右键菜单的“安装”选项却不行。因为win7资源管理器上没有“工具”选项。只有“组织”--->“文件夹和搜索选项”,而且里面没有“文件类型”选项卡,求解。
追答
这个问题还真有点高深。。。。
我在xp用“文件类型”选项卡改的、、、
win7? 我看只能这样了
做一个批处理。。。
::代码开始
@echo off
echo inf安装器
title inf安装器
echo 这里可以安装inf文件、、、
set /p file=把inf文件拖拽进来--^>
RunDll32 advpack.dll,LaunchINFSection %file%,DefaultInstall
echo ok... echo 安装完毕!
echo 按任意键退出
pause>nul
展开全部
我来给个注册表代码,不过你得先新建文本文档,保存之后把后缀更改为reg就可以了,双击添加选项。
代码如下:
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\inffile]
@="安装信息"
"FriendlyTypeName"=hex(2):40,00,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,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,\
32,00,5c,00,73,00,65,00,74,00,75,00,70,00,61,00,70,00,69,00,2e,00,64,00,6c,\
00,6c,00,2c,00,2d,00,32,00,30,00,30,00,30,00,00,00
"EditFlags"=dword:00000000
[HKEY_CLASSES_ROOT\inffile\DefaultIcon]
@=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,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,73,00,68,00,\
65,00,6c,00,6c,00,33,00,32,00,2e,00,64,00,6c,00,6c,00,2c,00,2d,00,31,00,35,\
00,31,00,00,00
[HKEY_CLASSES_ROOT\inffile\shell]
[HKEY_CLASSES_ROOT\inffile\shell\Install]
@="安装(&I)"
[HKEY_CLASSES_ROOT\inffile\shell\Install\command]
@=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,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,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,73,00,65,\
00,74,00,75,00,70,00,61,00,70,00,69,00,2c,00,49,00,6e,00,73,00,74,00,61,00,\
6c,00,6c,00,48,00,69,00,6e,00,66,00,53,00,65,00,63,00,74,00,69,00,6f,00,6e,\
00,20,00,44,00,65,00,66,00,61,00,75,00,6c,00,74,00,49,00,6e,00,73,00,74,00,\
61,00,6c,00,6c,00,20,00,31,00,33,00,32,00,20,00,25,00,31,00,00,00
[HKEY_CLASSES_ROOT\inffile\shell\open]
[HKEY_CLASSES_ROOT\inffile\shell\open\command]
@=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,73,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,4e,00,4f,00,\
54,00,45,00,50,00,41,00,44,00,2e,00,45,00,58,00,45,00,20,00,25,00,31,00,00,\
00
[HKEY_CLASSES_ROOT\inffile\shell\print]
[HKEY_CLASSES_ROOT\inffile\shell\print\command]
@=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,53,00,79,00,73,00,74,00,65,00,6d,00,33,00,32,00,5c,00,4e,00,4f,00,\
54,00,45,00,50,00,41,00,44,00,2e,00,45,00,58,00,45,00,20,00,2f,00,70,00,20,\
00,25,00,31,00,00,00
我也是从百度文库找到的呢,虽然是要VIP才能免费下载,不过我也是百度文库页面右击,选择“检查”然后一个一个复制的呢~~
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询
广告 您可能关注的内容 |