1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889 |
- #define MyAppName "蘭雅CorelVBA 2023版"
- #define MyAppVersion "1.1"
- #define MyAppPublisher "蘭雅sRGB CorelDRAW 免费开源插件"
- #define MyAppURL "https://262235.xyz/"
- #define MyAppExeName "GMS"
- #define MyAppAssocName MyAppName + ""
- #define MyAppAssocExt ".myp"
- #define MyAppAssocKey StringChange(MyAppAssocName, " ", "") + MyAppAssocExt
- [Setup]
- AppId={{0006790C-7107-4C59-A557-7F2EEDB64AFB}
- AppName={#MyAppName}
- AppVersion={#MyAppVersion}
- AppPublisher={#MyAppPublisher}
- AppPublisherURL={#MyAppURL}
- AppSupportURL={#MyAppURL}
- AppUpdatesURL={#MyAppURL}
- ChangesAssociations=yes
- DisableProgramGroupPage=yes
- OutputDir=C:\app\CorelVBA
- OutputBaseFilename=蘭雅CorelVBA
- SetupIconFile=C:\app\CorelVBA\GMS\262235.xyz\蘭.ico
- Compression=lzma
- SolidCompression=yes
- WizardStyle=modern
- UsePreviousAppDir=no
- DefaultDirName={code:GetInstallDir}
- [Code]
- function GetInstallDir(Param: String): String
- var
- InstallDir: String
- begin
-
- if RegQueryStringValue(HKLM64, 'SOFTWARE\Corel\Setup\CorelDRAW Graphics Suite 2022', 'Destination', InstallDir) then
- begin
- Result := ExtractFilePath(InstallDir) + 'Draw\GMS'
- end
- else if RegQueryStringValue(HKLM64, 'SOFTWARE\Corel\Setup\CorelDRAW Graphics Suite 2020', 'Destination', InstallDir) then
- begin
- Result := ExtractFilePath(InstallDir) + 'Draw\GMS'
- end
- else if RegQueryStringValue(HKLM64, 'SOFTWARE\Corel\Setup\CorelDRAW Graphics Suite 16', 'Destination', InstallDir) then
- begin
- Result := ExtractFilePath(InstallDir) + 'Draw\GMS'
- end
- else
- begin
-
- Result := ExpandConstant('C:\Program Files\Corel\CorelDRAW Graphics Suite 2020\Draw\GMS')
- end
- end
- [Languages]
- Name: "chinesesimplified"
- [Tasks]
- Name: "desktopicon"
- [Files]
- Source: "C:\app\CorelVBA\GMS\262235.xyz.gms"
- Source: "C:\app\CorelVBA\GMS\Adobe_Illustrator.gms"
- Source: "C:\app\CorelVBA\GMS\ColorMark.cdr"
- Source: "C:\app\CorelVBA\GMS\ZeroBase.gms"
- Source: "C:\app\CorelVBA\GMS\学习CorelVBA.gms"
- Source: "C:\app\CorelVBA\GMS\262235.xyz\*"
- Source: "C:\app\CorelVBA\TSP\*"
- [Icons]
- Name: "{autoprograms}\{#MyAppName}"
- Name: "{autodesktop}\{#MyAppName}"
- [Run]
|