Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #define MyAppName "Main System"
- #define MyAppVersion "0.0.0.1"
- #define MyProdVersion "0.1 relese"
- #define MyAppExeName "main.exe"
- #define appCopyright "Copyright © 2018-2023"
- #define basepath "C:\Users\MyUser\Desktop\patient\build\exe.win32-3.7"
- [Setup]
- ;PrivilegesRequired=admin
- AppId={}
- AppName={#MyAppName}
- AppVersion={#MyProdVersion}
- VersionInfoVersion={#MyAppVersion}
- VersionInfoDescription=Main System 0.1
- DefaultDirName={pf}\{#MyAppName}
- DefaultGroupName={#MyAppName}
- AllowNoIcons=yes
- OutputBaseFilename=Main-Setup
- AppCopyright={#appCopyright}
- SetupIconFile={#basepath}\icon.ico
- Compression=lzma
- SolidCompression=yes
- UninstallDisplayIcon={app}\{#MyAppExeName}
- [Tasks]
- Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}";
- Name: "quicklaunchicon"; Description: "{cm:CreateQuickLaunchIcon}"; GroupDescription: "{cm:AdditionalIcons}";
- [Files]
- Source: "{#basepath}\{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion
- Source: "{#basepath}\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs
- [Icons]
- Name: "{commondesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon
- Name: "{commonstartmenu}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: quicklaunchicon
- [Run]
- Filename: {app}\{#MyAppExeName}; Description: {cm:LaunchProgram,{#MyAppName}}; Flags: nowait postinstall shellexec skipifsilent
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement