Skip to content

Commit 579e125

Browse files
committed
Create MMCInstaller.iss
0 parents  commit 579e125

File tree

1 file changed

+51
-0
lines changed

1 file changed

+51
-0
lines changed

MMCInstaller.iss

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
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 "MultiMC"
5+
#define MyAppVersion "1.0"
6+
#define MyAppPublisher "MultiMC Contributors, https://github.com/modpotato"
7+
#define MyAppURL "https://multimc.org/"
8+
#define MyAppExeName "MultiMC.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={{E394B061-B4A5-4692-ABD9-B72BABFABD1A}
14+
AppName={#MyAppName}
15+
AppVersion={#MyAppVersion}
16+
;AppVerName={#MyAppName} {#MyAppVersion}
17+
AppPublisher={#MyAppPublisher}
18+
AppPublisherURL={#MyAppURL}
19+
AppSupportURL={#MyAppURL}
20+
AppUpdatesURL={#MyAppURL}
21+
DefaultDirName={autopf}\MultiMC
22+
DefaultGroupName=MultiMC
23+
InfoBeforeFile=C:\Users\Mod\Desktop\asd2.txt
24+
; Remove the following line to run in administrative install mode (install for all users.)
25+
PrivilegesRequired=lowest
26+
PrivilegesRequiredOverridesAllowed=dialog
27+
OutputDir=C:\Users\Mod\Desktop\exze
28+
OutputBaseFilename=MultiMCInstaller
29+
SetupIconFile=C:\Users\Mod\Downloads\5411890.ico
30+
Compression=lzma
31+
SolidCompression=yes
32+
WizardStyle=modern
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: "C:\Users\Mod\Desktop\MultiMC\{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion
42+
Source: "C:\Users\Mod\Desktop\MultiMC\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
43+
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
44+
45+
[Icons]
46+
Name: "{autoprograms}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"
47+
Name: "{autodesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon
48+
49+
[Run]
50+
Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent
51+

0 commit comments

Comments
 (0)