PackageContents.xml 格式參考

PackageContents.xml 檔案含有應用程式套件的相關資訊,包括編寫套件之開發人員的相關資訊。

註: AutoCAD LT for Mac 不支援外掛程式套件。

此檔案中所包含的資訊可用於指定可載入外掛程式的 AutoCAD 系列產品與 AutoCAD LT 及其版本、支援的作業系統以及載入應用程式的方式 (如啟動時載入或呼叫指令時載入)。

下列元素用於定義和描述外掛程式:

下載與本端部署的 PackageContents.xml

您計畫部署外掛程式的方式,會決定 PackageContents.xml 檔案的內容。當提供用於下載的外掛程式與本端部署時,您需要提供更多資訊。下表說明對您想要使用的部署而言為必要、可選或建議的元素與屬性。

註: AutoCAD LT for Windows 僅支援外掛程式套件用於本端部署。
 

Autodesk App Store 網站的下載

本端部署

支援的版本

其他註解

ApplicationPackage 元素

AutoCAD 2013 系列產品和更高版本

AutoCAD LT 2024 和更高版本

SchemaVersion

必要

必要

AppVersion

必要

必要

Author

必要

可選

Name

必要

建議

Description

必要

建議

Icon

必要

建議

Helpfile

必要

建議

ProductCode

必要

必要

UpgradeCode

必要

可選

CompanyDetails 元素

AutoCAD 2013 系列產品和更高版本

AutoCAD LT 2024 和更高版本

Name

必要

可選

Phone

可選

可選

URL

可選

可選

Email

必要

可選

RuntimeRequirements 元素 – 若有 Components 元素時則為必要

AutoCAD 2013 系列產品和更高版本

AutoCAD LT 2024 和更高版本

OS

可選

可選

Platform

可選

可選

SeriesMin

可選

可選

SeriesMax

可選

可選

SupportPath

可選

可選

ToolPalettePath

可選

可選

ComponentEntry 元素 – 若有 Components 元素時則為必要

AutoCAD 2013 系列產品和更高版本

AutoCAD LT 2024 和更高版本

AppName

必要

必要

AppDescription

可選

可選

AppType

可選

可選

將組合中的 ARX 檔案載入至 AutoCAD for Mac 時的必要項目。

ModuleName

必要

必要

PerDocument

可選

可選

LoadReasons

可選

可選

Commands 元素

AutoCAD 2013 系列產品和更新版本

GroupName

必要

可選

Command 元素 – 若有 Components 元素時則為必要

AutoCAD 2013 系列產品和更高版本

AutoCAD LT 2024 和更高版本

Global

必要

必要

Local

必要

必要

HelpTopic

可選

可選

StartupCommand

可選

可選

AssemblyMapping 元素 - 可選,但若有 AssemblyMappings 元素且不包含 AssemblyMappingFolder 元素時則為必要

AutoCAD 2013 系列產品和更新版本

Name

可選

可選

Path

可選

可選

AssemblyMappingFolder 元素 - 可選,但若有 AssemblyMappings 元素且不包含 AssemblyMapping 元素時則為必要

AutoCAD 2022 系列產品

Path

可選

可選

RegistryEntry 元素 – 若有 RegistryEntries 元素時則為必要

AutoCAD 2015 系列產品和更高版本

AutoCAD LT 2024 和更高版本

Name

可選

可選

Value

可選

可選

Flags

可選

可選

SystemVariable 元素 – 若有 SystemVariables 元素時則為必要

AutoCAD 2015 系列產品和更高版本

AutoCAD LT 2024 和更高版本

Name

可選

可選

Value

可選

可選

PrimaryType

可選

可選

StorageType

可選

可選

Owner

可選

可選

Flags

可選

可選

EnvironmentVariable 元素 – 若有 EnvironmentVariables 元素時則為必要

AutoCAD 2015 系列產品和更高版本

AutoCAD LT 2024 和更高版本

Name

可選

可選

Value

可選

可選

Type

可選

可選

Flags

可選

可選

DependentBundle 元素 – 若有 DependentBundles 元素時則為必要

AutoCAD 2022 系列產品和更高版本

AutoCAD LT 2024 和更高版本

UpgradeCode

可選

可選

VersionMin

可選

可選

VersionMax

可選

可選