diff --git a/appveyor.yml b/appveyor.yml index 9dcd878..6d73baf 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -2,12 +2,20 @@ before_build: - cd uploader - nuget restore +after_build: + - "C:\Program Files (x86)\Inno Setup 6\ISCC.exe" inno_setup.iss + platform: - Any CPU configuration: - Release + - Debug artifacts: - path: uploader/uploader/build/rel - name: Release build (AnyCPU) \ No newline at end of file + name: release_anycpu + - path: uploader/uploader/build/dbg + name: debug_anycpu + - path: output + name: setup_anycpu \ No newline at end of file diff --git a/inno_setup.iss b/inno_setup.iss new file mode 100644 index 0000000..bed9a79 --- /dev/null +++ b/inno_setup.iss @@ -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 +