AutoschoolSetup.iss 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. ; Script generated by the Inno Setup Script Wizard.
  2. ; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
  3. ; Non-commercial use only
  4. #define MyAppName "Автошкола"
  5. #define MyAppVersion "1.0"
  6. #define MyAppPublisher "ПТК"
  7. #define MyAppExeName "WindowsFormsApp6.exe"
  8. [Setup]
  9. ; NOTE: The value of AppId uniquely identifies this application. Do not use the same AppId value in installers for other applications.
  10. ; (To generate a new GUID, click Tools | Generate GUID inside the IDE.)
  11. AppId={{796F3EF3-3AEA-4A7F-ACC5-6A12355592F3}
  12. AppName={#MyAppName}
  13. AppVersion={#MyAppVersion}
  14. ;AppVerName={#MyAppName} {#MyAppVersion}
  15. AppPublisher={#MyAppPublisher}
  16. DefaultDirName={autopf}\{#MyAppName}
  17. UninstallDisplayIcon={app}\{#MyAppExeName}
  18. DisableProgramGroupPage=yes
  19. ; Uncomment the following line to run in non administrative install mode (install for current user only).
  20. ;PrivilegesRequired=lowest
  21. OutputDir=C:\Users\Admin\Desktop\Учёба\2025-2026\ЗАЩИТА\installer
  22. OutputBaseFilename=AutoschoolSetup
  23. SolidCompression=yes
  24. WizardStyle=modern dynamic
  25. [Languages]
  26. Name: "russian"; MessagesFile: "compiler:Languages\Russian.isl"
  27. [Tasks]
  28. Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
  29. [Files]
  30. Source: "C:\Users\Admin\Desktop\Учёба\2025-2026\ЗАЩИТА\ДРАКОША\autoschool\WindowsFormsApp6\bin\Release\{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion
  31. Source: "C:\Users\Admin\Desktop\Учёба\2025-2026\ЗАЩИТА\ДРАКОША\autoschool\WindowsFormsApp6\bin\Release\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
  32. ; NOTE: Don't use "Flags: ignoreversion" on any shared system files
  33. [Icons]
  34. Name: "{autoprograms}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"
  35. Name: "{autodesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon
  36. [Run]
  37. Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent