Skip to content

Commit 3e9ff79

Browse files
committed
Added installer exe and script
1 parent 8db5dfb commit 3e9ff79

File tree

3 files changed

+52
-6
lines changed

3 files changed

+52
-6
lines changed

.gitignore

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -67,16 +67,19 @@ linux/flutter/ephemeral/
6767
lib/generated_plugin_registrant.dart
6868

6969
# x2y AV Ultimate Specific (Production)
70-
# Ignore the large installer output
71-
installer_output/
7270

73-
# Ignore local database files (User history/Threats)
71+
# 1. ALLOW INSTALLER UPLOAD
72+
# (Commented out so you can push the exe to GitHub)
73+
# installer_output/
74+
75+
# Ignore local database files (User history/Threats should stay local)
7476
*.db
7577
*.db-shm
7678
*.db-wal
7779

78-
# Ignore the Inno Setup script (Optional: Remove this line if you want to save the script to Git)
79-
*.iss
80+
# 2. ALLOW SETUP SCRIPT UPLOAD
81+
# (Commented out so you can save your Inno Setup code)
82+
# *.iss
8083

81-
# Ignore Quarantined files (Safety)
84+
# Ignore Quarantined files (Safety - Never upload malware samples)
8285
*.x2y_quarantine

installer_output/x2y_av_setup.exe

24 MB
Binary file not shown.

installer_script.iss

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
; Script generated for x2y AV Ultimate
2+
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
3+
4+
[Setup]
5+
; NOTE: The value of AppId uniquely identifies this application. Do not use the same AppId value in installers for other applications.
6+
; (To generate a new GUID, click Tools | Generate GUID inside the IDE.)
7+
AppId={{A32D5678-1234-5678-9ABC-DEF012345678}
8+
AppName=x2y AV Ultimate
9+
AppVersion=7.0
10+
AppPublisher=x2y devs tools
11+
AppPublisherURL=mailto:support@x2ydevs.xyz
12+
AppSupportURL=mailto:support@x2ydevs.xyz
13+
AppUpdatesURL=mailto:support@x2ydevs.xyz
14+
DefaultDirName={autopf}\x2y AV Ultimate
15+
DisableProgramGroupPage=yes
16+
; Remove the following line to run in administrative install mode (install for all users.)
17+
PrivilegesRequired=admin
18+
OutputDir=.\installer_output
19+
OutputBaseFilename=x2y_av_setup
20+
SetupIconFile=assets\x2y_icon.ico
21+
Compression=lzma
22+
SolidCompression=yes
23+
WizardStyle=modern
24+
25+
[Languages]
26+
Name: "english"; MessagesFile: "compiler:Default.isl"
27+
28+
[Tasks]
29+
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
30+
31+
[Files]
32+
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
33+
; Main Executable
34+
Source: "build\windows\x64\runner\Release\x2y_av_ultimate.exe"; DestDir: "{app}"; Flags: ignoreversion
35+
; Dependency Files (DLLs, Data, Assets) - CRITICAL FOR FLUTTER APPS
36+
Source: "build\windows\x64\runner\Release\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
37+
38+
[Icons]
39+
Name: "{autoprograms}\x2y AV Ultimate"; Filename: "{app}\x2y_av_ultimate.exe"
40+
Name: "{autodesktop}\x2y AV Ultimate"; Filename: "{app}\x2y_av_ultimate.exe"; Tasks: desktopicon
41+
42+
[Run]
43+
Filename: "{app}\x2y_av_ultimate.exe"; Description: "{cm:LaunchProgram,x2y AV Ultimate}"; Flags: nowait postinstall skipifsilent

0 commit comments

Comments
 (0)