Skip to content

Commit b0a991a

Browse files
committed
Add Setup build files
1 parent d470931 commit b0a991a

File tree

3 files changed

+100
-1
lines changed

3 files changed

+100
-1
lines changed

CheckIP.Windows/CheckIP.Packaging/CheckIP.Packaging.wapproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060
<GenerateAppInstallerFile>False</GenerateAppInstallerFile>
6161
<AppxAutoIncrementPackageRevision>False</AppxAutoIncrementPackageRevision>
6262
<GenerateTestArtifacts>True</GenerateTestArtifacts>
63-
<AppxBundlePlatforms>x86|x64|arm|arm64</AppxBundlePlatforms>
63+
<AppxBundlePlatforms>x86|x64</AppxBundlePlatforms>
6464
<HoursBetweenUpdateChecks>0</HoursBetweenUpdateChecks>
6565
<EntryPointProjectUniqueName>..\CheckIP\CheckIP.csproj</EntryPointProjectUniqueName>
6666
</PropertyGroup>

CheckIP.Windows/Setup/ISS/x64.iss

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
; Script generated by the Inno Setup Script Wizard.
2+
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
3+
4+
#define MyAppName "CheckIP"
5+
#define MyAppVersion "2.2.0"
6+
#define MyAppPublisher "Exploitox"
7+
#define MyAppURL "https://github.com/valnoxy/checkip"
8+
#define MyAppExeName "CheckIP.exe"
9+
10+
[Setup]
11+
; NOTE: The value of AppId uniquely identifies this application. Do not use the same AppId value in installers for other applications.
12+
; (To generate a new GUID, click Tools | Generate GUID inside the IDE.)
13+
AppId={{47128A10-4D16-4AE3-AE08-F311BDB04571}
14+
AppName={#MyAppName}
15+
AppVersion={#MyAppVersion}
16+
;AppVerName={#MyAppName} {#MyAppVersion}
17+
AppPublisher={#MyAppPublisher}
18+
AppPublisherURL={#MyAppURL}
19+
AppSupportURL={#MyAppURL}
20+
AppUpdatesURL={#MyAppURL}
21+
DefaultDirName={commonpf64}\{#MyAppPublisher}\{#MyAppName}
22+
DisableProgramGroupPage=yes
23+
LicenseFile=..\..\..\LICENSE
24+
; Uncomment the following line to run in non administrative install mode (install for current user only.)
25+
;PrivilegesRequired=lowest
26+
PrivilegesRequiredOverridesAllowed=commandline
27+
OutputDir=..\Output
28+
OutputBaseFilename=CheckIP
29+
Compression=lzma
30+
SolidCompression=yes
31+
WizardStyle=modern
32+
ArchitecturesInstallIn64BitMode=x64
33+
34+
[Languages]
35+
Name: "english"; MessagesFile: "compiler:Default.isl"
36+
37+
[Tasks]
38+
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
39+
40+
[Files]
41+
Source: "..\..\CheckIP\bin\Release\net7.0-windows10.0.19041.0\publish\win-x64\*"; DestDir: "{app}"; Flags: ignoreversion
42+
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
43+
44+
[Icons]
45+
Name: "{autoprograms}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"
46+
Name: "{autodesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon
47+
48+
[Run]
49+
Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent
50+

CheckIP.Windows/Setup/ISS/x86.iss

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
; Script generated by the Inno Setup Script Wizard.
2+
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
3+
4+
#define MyAppName "CheckIP"
5+
#define MyAppVersion "2.2.0"
6+
#define MyAppPublisher "Exploitox"
7+
#define MyAppURL "https://github.com/valnoxy/checkip"
8+
#define MyAppExeName "CheckIP.exe"
9+
10+
[Setup]
11+
; NOTE: The value of AppId uniquely identifies this application. Do not use the same AppId value in installers for other applications.
12+
; (To generate a new GUID, click Tools | Generate GUID inside the IDE.)
13+
AppId={{47128A10-4D16-4AE3-AE08-F311BDB04571}
14+
AppName={#MyAppName}
15+
AppVersion={#MyAppVersion}
16+
;AppVerName={#MyAppName} {#MyAppVersion}
17+
AppPublisher={#MyAppPublisher}
18+
AppPublisherURL={#MyAppURL}
19+
AppSupportURL={#MyAppURL}
20+
AppUpdatesURL={#MyAppURL}
21+
DefaultDirName={commonpf32}\{#MyAppPublisher}\{#MyAppName}
22+
DisableProgramGroupPage=yes
23+
LicenseFile=..\..\..\LICENSE
24+
; Uncomment the following line to run in non administrative install mode (install for current user only.)
25+
;PrivilegesRequired=lowest
26+
PrivilegesRequiredOverridesAllowed=commandline
27+
OutputDir=..\Output
28+
OutputBaseFilename=CheckIP
29+
Compression=lzma
30+
SolidCompression=yes
31+
WizardStyle=modern
32+
33+
[Languages]
34+
Name: "english"; MessagesFile: "compiler:Default.isl"
35+
36+
[Tasks]
37+
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
38+
39+
[Files]
40+
Source: "..\..\CheckIP\bin\Release\net7.0-windows10.0.19041.0\publish\win-x86\*"; DestDir: "{app}"; Flags: ignoreversion
41+
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
42+
43+
[Icons]
44+
Name: "{autoprograms}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"
45+
Name: "{autodesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon
46+
47+
[Run]
48+
Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent
49+

0 commit comments

Comments
 (0)