; 脚本由 Inno Setup 脚本向导生成。 ; 有关创建 Inno Setup 脚本文件的详细信息,请参阅帮助文档! ; 定义应用程序的名称 #define MyAppName "SzmediAI" ; 定义应用程序的版本号 #define MyAppVersion "4.0.0.0" ; 定义应用程序的发布者 #define MyAppPublisher "SZMEDI" ; 定义应用程序的网址 #define MyAppURL "https://www.szmedi.com.cn/" ; 定义应用程序的可执行文件名 #define MyAppExeName "SzmediAI.exe" #define MyDllName "SzmediAI" [Setup] ; 注意:AppId 的值唯一标识此应用程序。不要在其他应用程序的安装程序中使用相同的 AppId 值。 ; (若要生成新的 GUID,请在 IDE 中单击 "工具|生成 GUID"。) AppId={{7F5FBD84-FFD8-485A-AD0B-761A92BBBF95} ; 程序名称 AppName={#MyAppName} ; 版本 AppVersion={#MyAppVersion} ; AppVerName={#MyAppName} {#MyAppVersion} AppPublisher={#MyAppPublisher} AppPublisherURL={#MyAppURL} AppSupportURL={#MyAppURL} AppUpdatesURL={#MyAppURL} ;控制面板显示的名称 UninstallDisplayName={#MyAppName} ;安装包构建模型 ArchitecturesInstallIn64BitMode=x64os ;管理员权限 PrivilegesRequired=admin ; 是否创建应用程序目录 CreateAppDir=no ; 许可证文件路径 LicenseFile=.\bin\License.txt InfoBeforeFile=.\bin\License.txt InfoAfterFile=.\bin\License.txt ; 取消对以下行的注释以在非管理安装模式下运行(仅针对当前用户进行安装)。 ; PrivilegesRequired=lowest ; exe输出目录 OutputDir=.\Setup ; 输出文件名 OutputBaseFilename={#MyAppName}{#MyAppVersion} ; 密码 ;Password=SZMEDI ; 是否加密 ;Encryption=yes ; 压缩方式 Compression=lzma ; 是否使用固体压缩 SolidCompression=yes ; 向导样式 WizardStyle=modern [Files] Source: ".\bin\Debug\2018\*"; DestDir: "C:\ProgramData\Autodesk\Revit\Addins\2018\SzmediAI"; Flags: ignoreversion recursesubdirs createallsubdirs Source: ".\bin\SzmediAI.addin"; DestDir: "C:\ProgramData\Autodesk\Revit\Addins\2018"; Flags: ignoreversion Source: ".\bin\Debug\2020\*"; DestDir: "C:\ProgramData\Autodesk\Revit\Addins\2020\SzmediAI"; Flags: ignoreversion recursesubdirs createallsubdirs Source: ".\bin\SzmediAI.addin"; DestDir: "C:\ProgramData\Autodesk\Revit\Addins\2020"; Flags: ignoreversion