Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #define MyAppName "app_name"
- #define MyAppVersion "1.0"
- #define MyAppExeName "app.exe"
- [Setup]
- ;click tools generate GID and paste it into AppId so it looks like AppId={{this-is-a-test}}
- AppId={}
- AppName={#MyAppName}
- AppVersion={#MyAppVersion}
- DefaultDirName={pf}\{#MyAppName}
- DefaultGroupName={#MyAppName}
- AllowNoIcons=yes
- OutputBaseFilename=setup_name
- SetupIconFile=path/to/icon/app.ico
- Compression=lzma
- SolidCompression=yes
- [Tasks]
- Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
- Name: "quicklaunchicon"; Description: "{cm:CreateQuickLaunchIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked;
- [Files]
- Source: "C:\Users\Scott\Desktop\pyencrypt v2\tests\cython build\py2exe\dist\{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion
- Source: "C:\Users\Scott\Desktop\pyencrypt v2\tests\cython build\py2exe\dist\*"; 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 unchecked
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement