InnoSetup - 描述文件

时间:2014-11-07 09:06:12

标签: file associations inno-setup

我使用InnoSetup创建了安装,但是存在问题。我有一个关联文件与应用程序的记录:

Root: HKCR; Subkey: ".xsl"; ValueType: string; ValueName: ""; ValueData: "MyApp1"; Flags: uninsdeletevalue; Tasks: mypAssociationXSL 
Root: HKCR; Subkey: "MyApp1"; ValueType: string; ValueName: ""; ValueData: "XML Schema Definition"; Flags: uninsdeletekey; Tasks: mypAssociationXSL 
Root: HKCR; Subkey: "MyApp1\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\ProgTest.exe,0"; Tasks: mypAssociationXSL 
Root: HKCR; Subkey: "MyApp1\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\ProgTest.exe"" ""%1"""; Tasks: mypAssociationXSL 

Root: HKCR; Subkey: ".xslt"; ValueType: string; ValueName: ""; ValueData: "MyApp1"; Flags: uninsdeletevalue; Tasks: mypAssociationXSLT 
Root: HKCR; Subkey: "MyApp1"; ValueType: string; ValueName: ""; ValueData: "XML Schema Definition"; Flags: uninsdeletekey; Tasks: mypAssociationXSLT 
Root: HKCR; Subkey: "MyApp1\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\ProgTest.exe,0"; Tasks: mypAssociationXSLT 
Root: HKCR; Subkey: "MyApp1\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\ProgTest.exe"" ""%1"""; Tasks: mypAssociationXSLT 

Root: HKCR; Subkey: ".dtd"; ValueType: string; ValueName: ""; ValueData: "MyApp1"; Flags: uninsdeletevalue; Tasks: mypAssociationDTD 
Root: HKCR; Subkey: "MyApp1"; ValueType: string; ValueName: ""; ValueData: "Document Type Definition"; Flags: uninsdeletekey; Tasks: mypAssociationDTD 
Root: HKCR; Subkey: "MyApp1\DefaultIcon"; ValueType: string; ValueName: ""; ValueData: "{app}\ProgTest.exe,0"; Tasks: mypAssociationDTD 
Root: HKCR; Subkey: "MyApp1\shell\open\command"; ValueType: string; ValueName: ""; ValueData: """{app}\ProgTest.exe"" ""%1"""; Tasks: mypAssociationDTD 

交配是可以的,但每个文件的描述都会出现:文档类型定义,尽管其他值是定义的

0 个答案:

没有答案