我试图让“.mov”文件与Windows上的QuickTime Player相关联,因为默认情况下,Windows Media Player正试图打开它们。我必须在我的iss文件中没有正确的东西。这就是我所拥有的:
Root: HKCR; Subkey: ".mov"; ValueType: string; ValueName: ""; ValueData: "QuickTime.mov"; Flags: uninsdeletevalue
Root: HKCR; Subkey: "QuickTimeFile"; ValueType: string; ValueName: ""; ValueData: "QuickTime File"; Flags: uninsdeletekey
Root: HKCR; Subkey: "QuickTime\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\QuickTimePlayer.exe,0"
Root: HKCR; Subkey: "QuickTimeFile\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\QuickTimePlayer.exe"" ""%1"""
我在顶部的代码中也有ChangeAssociations = yes。
我不能在某个地方拥有正确的价值。运行安装后,它不会将文件关联从Windows Media更改为QuickTime。
答案 0 :(得分:0)
当然不行!如果HKCR\.mov
的默认值为QuickTime.mov
,则您需要将设置写入HKCR\QuickTime.mov
!
Root: HKCR; Subkey: ".mov"; ValueType: string; ValueName: ""; ValueData: "QuickTime.mov"; Flags: uninsdeletevalue
Root: HKCR; Subkey: "QuickTime.mov"; ValueType: string; ValueName: ""; ValueData: "QuickTime File"; Flags: uninsdeletekey
Root: HKCR; Subkey: "QuickTime.mov\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\QuickTimePlayer.exe,0"
Root: HKCR; Subkey: "QuickTime.mov\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\QuickTimePlayer.exe"" ""%1"""