Skip to content

Commit 338ffff

Browse files
authored
Add files via upload
add template inno setup builder and exe application
1 parent b4f69b4 commit 338ffff

2 files changed

Lines changed: 49 additions & 0 deletions

File tree

8.07 MB
Binary file not shown.
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 "WinLockerRFID"
5+
#define MyAppVersion "1.5"
6+
#define MyAppPublisher "YOUR COMPAGNY"
7+
#define MyAppExeName "lockwin.exe"
8+
#define MyAppAssocName MyAppName + " File"
9+
#define MyAppAssocExt ".myp"
10+
#define MyAppAssocKey StringChange(MyAppAssocName, " ", "") + MyAppAssocExt
11+
12+
[Setup]
13+
; NOTE: The value of AppId uniquely identifies this application. 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={{YOUR_APP_ID}
16+
AppName={#MyAppName}
17+
AppVersion={#MyAppVersion}
18+
;AppVerName={#MyAppName} {#MyAppVersion}
19+
AppPublisher={#MyAppPublisher}
20+
DefaultDirName={userappdata}\{#MyAppName}
21+
ChangesAssociations=yes
22+
DisableProgramGroupPage=yes
23+
DisableDirPage=no
24+
; Uncomment the following line to run in non administrative install mode (install for current user only.)
25+
;PrivilegesRequired=lowest
26+
OutputBaseFilename=WinLockerRFID
27+
Compression=lzma
28+
SolidCompression=yes
29+
WizardStyle=modern
30+
31+
[Languages]
32+
Name: "english"; MessagesFile: "compiler:Default.isl"
33+
Name: "french"; MessagesFile: "compiler:Languages\French.isl"
34+
35+
[Tasks]
36+
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
37+
38+
[Files]
39+
Source: "YOUR_PATH_TO_FOLDER_APP\{#MyAppExeName}"; DestDir: "{userappdata}\{#MyAppName}"; Flags: ignoreversion
40+
Source: "YOUR_PATH_TO_FOLDER_APP\config\*"; DestDir: "{userappdata}\{#MyAppName}\config\"; Flags: ignoreversion
41+
Source: "YOUR_PATH_TO_FOLDER_APP\data\*"; DestDir: "{userappdata}\{#MyAppName}\data\"; Flags: ignoreversion
42+
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
43+
44+
[Icons]
45+
Name: "{autoprograms}\{#MyAppName}"; Filename: "{userappdata}\{#MyAppName}\{#MyAppExeName}"
46+
Name: "{autodesktop}\{#MyAppName}"; Filename: "{userappdata}\{#MyAppName}\{#MyAppExeName}"; Tasks: desktopicon
47+
48+
[Run]
49+
Filename: "{userappdata}\{#MyAppName}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent

0 commit comments

Comments
 (0)