我使用Inno Setup ExcelAddinInstaller ,效果很好。 { Looks up the localized Addins folder in the registry. This function is used in the [Files] section of the script, where function calls always expect a parametrized function. This function does not require a parameter. Therefore, a dummy parameter is defined. } function GetDestDir(dummyparameter: string): string; var Addins: string; s: […]