inno setup appveyor
This commit is contained in:
parent
dab40af346
commit
4002a52653
10
appveyor.yml
10
appveyor.yml
|
@ -2,12 +2,20 @@ before_build:
|
||||||
- cd uploader
|
- cd uploader
|
||||||
- nuget restore
|
- nuget restore
|
||||||
|
|
||||||
|
after_build:
|
||||||
|
- "C:\Program Files (x86)\Inno Setup 6\ISCC.exe" inno_setup.iss
|
||||||
|
|
||||||
platform:
|
platform:
|
||||||
- Any CPU
|
- Any CPU
|
||||||
|
|
||||||
configuration:
|
configuration:
|
||||||
- Release
|
- Release
|
||||||
|
- Debug
|
||||||
|
|
||||||
artifacts:
|
artifacts:
|
||||||
- path: uploader/uploader/build/rel
|
- path: uploader/uploader/build/rel
|
||||||
name: Release build (AnyCPU)
|
name: release_anycpu
|
||||||
|
- path: uploader/uploader/build/dbg
|
||||||
|
name: debug_anycpu
|
||||||
|
- path: output
|
||||||
|
name: setup_anycpu
|
|
@ -0,0 +1,45 @@
|
||||||
|
|
||||||
|
#define VtuAppName "VirusTotal Uploader"
|
||||||
|
#define VtuAppVersion "0.0.9"
|
||||||
|
#define VtuAppPublisher "Samuel Tulach"
|
||||||
|
#define VtuAppURL "https://github.com/SamuelTulach/VirusTotalUploader"
|
||||||
|
#define VtuAppExeName "uploader.exe"
|
||||||
|
|
||||||
|
[Setup]
|
||||||
|
AppId={{51FB250B-1C78-4B32-86E8-7710231434B0}
|
||||||
|
AppName={#VtuAppName}
|
||||||
|
AppVersion={#VtuAppVersion}
|
||||||
|
;AppVerName={#VtuAppName} {#VtuAppVersion}
|
||||||
|
AppPublisher={#VtuAppPublisher}
|
||||||
|
AppPublisherURL={#VtuAppURL}
|
||||||
|
AppSupportURL={#VtuAppURL}
|
||||||
|
AppUpdatesURL={#VtuAppURL}
|
||||||
|
DefaultDirName={autopf}\{#VtuAppName}
|
||||||
|
DisableProgramGroupPage=yes
|
||||||
|
; Uncomment the following line to run in non administrative install mode (install for current user only.)
|
||||||
|
;PrivilegesRequired=lowest
|
||||||
|
OutputDir=output
|
||||||
|
OutputBaseFilename=uploader
|
||||||
|
SetupIconFile=uploader\uploader\icon.ico
|
||||||
|
Compression=lzma
|
||||||
|
SolidCompression=yes
|
||||||
|
WizardStyle=modern
|
||||||
|
|
||||||
|
[Languages]
|
||||||
|
Name: "english"; MessagesFile: "compiler:Default.isl"
|
||||||
|
|
||||||
|
[Tasks]
|
||||||
|
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
|
||||||
|
|
||||||
|
[Files]
|
||||||
|
Source: "uploader\uploader\build\rel\*"; DestDir: "{app}"; Flags: ignoreversion
|
||||||
|
Source: "localization\*"; DestDir: "{app}\local"; Flags: ignoreversion
|
||||||
|
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
|
||||||
|
|
||||||
|
[Icons]
|
||||||
|
Name: "{autoprograms}\{#VtuAppName}"; Filename: "{app}\{#VtuAppExeName}"
|
||||||
|
Name: "{usersendto}\{#VtuAppName}"; Filename: "{app}\{#VtuAppExeName}"
|
||||||
|
|
||||||
|
[Run]
|
||||||
|
Filename: "{app}\{#VtuAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(VtuAppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent
|
||||||
|
|
Loading…
Reference in New Issue