Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
add template inno setup builder and exe application
  • Loading branch information
T-wcs authored Feb 3, 2023
1 parent b4f69b4 commit 338ffff
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 0 deletions.
Binary file added InnoSetup/Installer/WinLockerRFID.exe
Binary file not shown.
49 changes: 49 additions & 0 deletions InnoSetup/build_installer_example.iss
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
; Script generated by the Inno Setup Script Wizard.
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!

#define MyAppName "WinLockerRFID"
#define MyAppVersion "1.5"
#define MyAppPublisher "YOUR COMPAGNY"
#define MyAppExeName "lockwin.exe"
#define MyAppAssocName MyAppName + " File"
#define MyAppAssocExt ".myp"
#define MyAppAssocKey StringChange(MyAppAssocName, " ", "") + MyAppAssocExt

[Setup]
; NOTE: The value of AppId uniquely identifies this application. Do not use the same AppId value in installers for other applications.
; (To generate a new GUID, click Tools | Generate GUID inside the IDE.)
AppId={{YOUR_APP_ID}
AppName={#MyAppName}
AppVersion={#MyAppVersion}
;AppVerName={#MyAppName} {#MyAppVersion}
AppPublisher={#MyAppPublisher}
DefaultDirName={userappdata}\{#MyAppName}
ChangesAssociations=yes
DisableProgramGroupPage=yes
DisableDirPage=no
; Uncomment the following line to run in non administrative install mode (install for current user only.)
;PrivilegesRequired=lowest
OutputBaseFilename=WinLockerRFID
Compression=lzma
SolidCompression=yes
WizardStyle=modern

[Languages]
Name: "english"; MessagesFile: "compiler:Default.isl"
Name: "french"; MessagesFile: "compiler:Languages\French.isl"

[Tasks]
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked

[Files]
Source: "YOUR_PATH_TO_FOLDER_APP\{#MyAppExeName}"; DestDir: "{userappdata}\{#MyAppName}"; Flags: ignoreversion
Source: "YOUR_PATH_TO_FOLDER_APP\config\*"; DestDir: "{userappdata}\{#MyAppName}\config\"; Flags: ignoreversion
Source: "YOUR_PATH_TO_FOLDER_APP\data\*"; DestDir: "{userappdata}\{#MyAppName}\data\"; Flags: ignoreversion
; NOTE: Don't use "Flags: ignoreversion" on any shared system files

[Icons]
Name: "{autoprograms}\{#MyAppName}"; Filename: "{userappdata}\{#MyAppName}\{#MyAppExeName}"
Name: "{autodesktop}\{#MyAppName}"; Filename: "{userappdata}\{#MyAppName}\{#MyAppExeName}"; Tasks: desktopicon

[Run]
Filename: "{userappdata}\{#MyAppName}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent

0 comments on commit 338ffff

Please sign in to comment.