Skip to content

Commit a7fbea2

Browse files
Source code for innosetup
1 parent f6e9efa commit a7fbea2

File tree

1 file changed

+61
-0
lines changed

1 file changed

+61
-0
lines changed

Source/Innosetup

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
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 "Admin Run-As Menu"
5+
#define MyAppVersion "3.9.9.1"
6+
#define MyAppPublisher "PowershellCrack"
7+
#define MyAppURL "http://www.powershellcrack.com"
8+
#define MyAppExeName "AdminMenu.exe"
9+
#define LnkComment "A powerfull PowerShell-Driven Run-As Menu geared for IT professionals"
10+
11+
[Setup]
12+
; NOTE: The value of AppId uniquely identifies this application.
13+
; Do not use the same AppId value in installers for other applications.
14+
; (To generate a new GUID, click Tools | Generate GUID inside the IDE.)
15+
AppId={{FCBEF2F0-10F8-44A8-B2C9-E2DFD9F74389}
16+
AppName={#MyAppName}
17+
AppVersion={#MyAppVersion}
18+
AppVerName={#MyAppName} {#MyAppVersion}
19+
AppPublisher={#MyAppPublisher}
20+
AppPublisherURL={#MyAppURL}
21+
AppSupportURL={#MyAppURL}
22+
AppUpdatesURL={#MyAppURL}
23+
DefaultDirName={pf}\{#MyAppName}
24+
UninstallDisplayName={#MyAppName}
25+
UninstallDisplayIcon={uninstallexe}
26+
DisableProgramGroupPage=yes
27+
LicenseFile=App\License.txt
28+
;OutputDir=AdminMenu
29+
OutputBaseFilename={#MyAppName} {#MyAppVersion} (Installer)
30+
SetupIconFile=App\Icons\adminmenu_icon_256px_regular.ico
31+
Compression=lzma
32+
SolidCompression=yes
33+
34+
[Languages]
35+
Name: "english"; MessagesFile: "compiler:Default.isl"
36+
37+
[Tasks]
38+
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"
39+
40+
[Files]
41+
Source: "App\AdminMenu.exe"; DestDir: "{app}"; Flags: ignoreversion
42+
Source: "App\AdminMenu.exe.config"; DestDir: "{app}"; Flags: ignoreversion
43+
Source: "App\AdminMenu.ps1"; DestDir: "{app}"; Flags: ignoreversion
44+
Source: "App\AdminMenu.ps1.config"; DestDir: "{app}"; Flags: ignoreversion
45+
Source: "App\AdminMenu.ps1.names"; DestDir: "{app}"; Flags: ignoreversion
46+
Source: "App\License.txt"; DestDir: "{app}"; Flags: ignoreversion
47+
Source: "App\Resources\*"; DestDir: "{app}\Resources"; Flags: ignoreversion recursesubdirs createallsubdirs
48+
Source: "App\Utilities\*"; DestDir: "{app}\Utilities"; Flags: ignoreversion recursesubdirs createallsubdirs
49+
Source: "App\Modules\*"; DestDir: "{app}\Modules"; Flags: ignoreversion recursesubdirs createallsubdirs
50+
Source: "App\Extensions\*"; DestDir: "{app}\Extensions"; Flags: ignoreversion recursesubdirs createallsubdirs
51+
Source: "App\Assembly\*"; DestDir: "{app}\Assembly"; Flags: ignoreversion recursesubdirs createallsubdirs
52+
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
53+
54+
[Icons]
55+
Name: "{commonprograms}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Comment: "{#LnkComment}"
56+
Name: "{commondesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Comment: "{#LnkComment}"; Tasks: desktopicon
57+
;Name: "{group}\{cm:UninstallProgram,{#MyAppName}}"; Filename: "{uninstallexe}";
58+
59+
[Run]
60+
Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent unchecked
61+

0 commit comments

Comments
 (0)