问题描述
我需要用户能够双击.pdb文件并使用myPgm.exe打开它.
I need the user to be able to double click on a .pdb file and have it open with myPgm.exe.
将文件类型(myData.pdb)与可执行文件(myPgm.exe)关联的语法是什么?
What is the syntax to associate a file type (myData.pdb) with an executable (myPgm.exe)?
这是注册表项吗?
推荐答案
文件关联是一系列注册表项.有关更多信息,请查看如何使用文件关联Microsoft示例.
A File association is a series of Registry entries. For more info, take a look at How to Use File Associations Microsoft Sample.
如果您不想创建系统范围的文件关联,也可以创建特定的用户文件关联.
If you don't want to create system-wide file associations, you can create specific user file associations too.
要通过脚本创建注册表项,请阅读 ISS文档:注册表"部分.如果您发现任何问题,请再提出一个更具体的问题.
To create registry entries from your script, read the ISS Documentation: Registry Section. If you find any problems come back with a more specific question.
这篇关于如何在Inno-setup中更改文件关联的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!