ComputerSalesSetup.iss 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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 "ComputerSalesApp.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={{227FB96A-6CA1-4D4A-BFC0-A8D1547A789A}
  12. AppName={#MyAppName}
  13. AppVersion={#MyAppVersion}
  14. ;AppVerName={#MyAppName} {#MyAppVersion}
  15. AppPublisher={#MyAppPublisher}
  16. DefaultDirName={autopf}\{#MyAppName}
  17. UninstallDisplayIcon={app}\{#MyAppExeName}
  18. ; "ArchitecturesAllowed=x64compatible" specifies that Setup cannot run
  19. ; on anything but x64 and Windows 11 on Arm.
  20. ArchitecturesAllowed=x64compatible
  21. ; "ArchitecturesInstallIn64BitMode=x64compatible" requests that the
  22. ; install be done in "64-bit mode" on x64 or Windows 11 on Arm,
  23. ; meaning it should use the native 64-bit Program Files directory and
  24. ; the 64-bit view of the registry.
  25. ArchitecturesInstallIn64BitMode=x64compatible
  26. DisableProgramGroupPage=yes
  27. ; Uncomment the following line to run in non administrative install mode (install for current user only).
  28. ;PrivilegesRequired=lowest
  29. OutputDir=C:\Users\Admin\Desktop\Учёба\2025-2026\ЗАЩИТА\installer
  30. OutputBaseFilename=ComputerSalesSetup
  31. SolidCompression=yes
  32. WizardStyle=modern dynamic
  33. [Languages]
  34. Name: "russian"; MessagesFile: "compiler:Languages\Russian.isl"
  35. [Tasks]
  36. Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
  37. [Files]
  38. Source: "C:\Users\Admin\Desktop\Учёба\2025-2026\ЗАЩИТА\КОТЯ\computer_sales\ComputerSalesApp\publish-win-x64\{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion
  39. Source: "C:\Users\Admin\Desktop\Учёба\2025-2026\ЗАЩИТА\КОТЯ\computer_sales\ComputerSalesApp\publish-win-x64\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
  40. ; NOTE: Don't use "Flags: ignoreversion" on any shared system files
  41. [Icons]
  42. Name: "{autoprograms}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"
  43. Name: "{autodesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon
  44. [Run]
  45. Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent