|
| 1 | +[Setup] |
| 2 | +AppName=Switch Input Language |
| 3 | +AppId={{A1B2C3D4-E5F6-7890-ABCD-EF1234567890} |
| 4 | +AppVersion=3.0.1 |
| 5 | +AppPublisher=LJ TECHNOLOGY |
| 6 | +AppPublisherURL=https://github.com/sumonchai/Switch-Input-Language |
| 7 | +AppSupportURL=https://github.com/sumonchai/Switch-Input-Language |
| 8 | +AppUpdatesURL=https://github.com/sumonchai/Switch-Input-Language |
| 9 | +VersionInfoCopyright=Copyright (C) LJ TECHNOLOGY |
| 10 | +DefaultDirName={commonpf}\Switch Input Language |
| 11 | +PrivilegesRequired=lowest |
| 12 | +PrivilegesRequiredOverridesAllowed=dialog |
| 13 | +DefaultGroupName=Switch Input Language |
| 14 | +AllowNoIcons=yes |
| 15 | +Compression=lzma2/max |
| 16 | +SolidCompression=yes |
| 17 | +UninstallDisplayIcon={app}\SwitchInputLanguage.exe |
| 18 | +TimeStampsInUTC=yes |
| 19 | +TouchDate=none |
| 20 | +TouchTime=00:00 |
| 21 | +OutputBaseFilename=SwitchInputLanguage-Setup-3.0.1-x64 |
| 22 | +ArchitecturesAllowed=x64compatible |
| 23 | +ArchitecturesInstallIn64BitMode=x64compatible |
| 24 | +SetupIconFile=src\media\LJ LOGO.ico |
| 25 | +WizardImageFile=Files\WizModernImage-IS.bmp |
| 26 | +WizardSmallImageFile=Files\WizModernSmallImage-IS.bmp |
| 27 | + |
| 28 | +[Languages] |
| 29 | +Name: english; MessagesFile: "compiler:Default.isl" |
| 30 | + |
| 31 | +[Files] |
| 32 | +Source: "src\bin\Release\net48-windows\SwitchInputLanguage.exe"; DestDir: "{app}"; Flags: ignoreversion |
| 33 | +Source: "src\bin\Release\net48-windows\SwitchInputLanguage.exe.config"; DestDir: "{app}"; Flags: ignoreversion |
| 34 | +Source: "src\media\LJ LOGO.ico"; DestDir: "{app}\media"; Flags: ignoreversion |
| 35 | + |
| 36 | +[Icons] |
| 37 | +; Start Menu shortcut |
| 38 | +Name: "{group}\Switch Input Language"; Filename: "{app}\SwitchInputLanguage.exe"; IconFilename: "{app}\media\LJ LOGO.ico" |
| 39 | +; Start Menu uninstall shortcut |
| 40 | +Name: "{group}\Uninstall Switch Input Language"; Filename: "{uninstallexe}" |
| 41 | + |
| 42 | +[Registry] |
| 43 | +; Run at Windows startup (HKCU = ไม่ต้อง admin) |
| 44 | +Root: HKCU; Subkey: "SOFTWARE\Microsoft\Windows\CurrentVersion\Run"; ValueType: string; ValueName: "Switch Input Language"; ValueData: """{app}\SwitchInputLanguage.exe"""; Flags: uninsdeletevalue |
| 45 | + |
| 46 | +[Tasks] |
| 47 | +Name: StartAfterInstall; Description: "Run application after install" |
| 48 | +Name: StartupTask; Description: "Start automatically with Windows"; GroupDescription: "Additional options:" |
| 49 | + |
| 50 | +[Run] |
| 51 | +Filename: "{app}\SwitchInputLanguage.exe"; Flags: shellexec skipifsilent nowait; Tasks: StartAfterInstall |
0 commit comments