Skip to main content

2025 年 12 月 16 日

FileTypes Parameter

The FileTypes parameter lists file extensions that the thinreg.exe utility associates with an executable file.

The capture process generates initial values that you cannot add to. You can remove extensions that you do not want to associate with the virtual package. Do not use separators between the file extensions in the list.

Removing a File Extension From a Package to Ensure That it is Opened By a Version of the Application in the Physical Environment

A Microsoft Word 2007 package specifies .doc.docx as the values of the FileTypes parameter. If you capture Microsoft Office 2007 and have Microsoft Office 2003 installed in the physical environment, you can remove the .doc extension from the FileTypes parameter and leave the .docx extension to ensure that Microsoft Word 2003 opens .doc files and Microsoft Word 2007 opens .docx files.

[Microsoft Office Word 2007.exe]
FileTypes=.docx

Creating File Type Extensions and Linking Them to An Application

The capture process can create file type associations for .doc and .dot extensions and link them to Microsoft Word.

[Microsoft Office Word 2003.exe]
ReadOnlyData=bin\Package.ro.tvr
Source=%ProgramFilesDir%\Microsoft Office\OFFICE11\WINWORD.EXE
FileTypes=.doc.dot

此页面对您有帮助吗?

对本主题提供反馈

本主题对您有帮助吗?

请勿填写任何个人信息或机密信息。

正在生成链接…