diff --git a/inno_setup.iss b/inno_setup.iss new file mode 100644 index 0000000..9f51fac --- /dev/null +++ b/inno_setup.iss @@ -0,0 +1,61 @@ +; Script generated by the Inno Setup Script Wizard. +; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES! + +#define MyAppName "LChatClient" +#define MyAppVersion "1.0" +#define MyAppPublisher "Linloir" +#define MyAppExeName "LChatClient.exe" +#define MyAppComp "com.linloir" + +[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={{45C34500-34D4-4E59-A222-5BD12A410F98} +AppName={#MyAppName} +AppVersion={#MyAppVersion} +;AppVerName={#MyAppName} {#MyAppVersion} +AppPublisher={#MyAppPublisher} +DefaultDirName={autopf}\{#MyAppName} +DisableProgramGroupPage=yes +; Uncomment the following line to run in non administrative install mode (install for current user only.) +;PrivilegesRequired=lowest +PrivilegesRequiredOverridesAllowed=dialog +OutputDir=C:\Users\Linloir\Desktop\lchatclientcompiler +OutputBaseFilename=mysetup +Compression=lzma +SolidCompression=yes +WizardStyle=modern + +[Languages] +Name: "english"; MessagesFile: "compiler:Default.isl" + +[Tasks] +Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked + +[Files] +Source: "E:\Repositories\CollegeProjects\tcp_client\build\windows\runner\Release\{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion +Source: "E:\Repositories\CollegeProjects\tcp_client\build\windows\runner\Release\data\*"; DestDir: "{app}\data"; Flags: ignoreversion recursesubdirs createallsubdirs +Source: "E:\Repositories\CollegeProjects\tcp_client\build\windows\runner\Release\flutter_windows.dll"; DestDir: "{app}"; Flags: ignoreversion +Source: "E:\Repositories\CollegeProjects\tcp_client\build\windows\runner\Release\window_manager_plugin.dll"; DestDir: "{app}"; Flags: ignoreversion +Source: "E:\Repositories\CollegeProjects\tcp_client\build\windows\runner\Release\screen_retriever_plugin.dll"; DestDir: "{app}"; Flags: ignoreversion +Source: "E:\Repositories\CollegeProjects\tcp_client\build\windows\runner\Release\LChatClient.exe"; DestDir: "{app}"; Flags: ignoreversion +; NOTE: Don't use "Flags: ignoreversion" on any shared system files + +[Dirs] +Name: "{userappdata}\{#MyAppComp}\{#MyAppName}"; Flags: uninsalwaysuninstall +Name: "{userdocs}\{#MyAppName}"; Flags: uninsalwaysuninstall + +[Icons] +Name: "{autoprograms}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}" +Name: "{autodesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon + +[UninstallDelete] +Type: filesandordirs; Name: "{userdocs}\{#MyAppName}\*" +Type: filesandordirs; Name: "{userdocs}\{#MyAppName}" +Type: filesandordirs; Name: "{userappdata}\{#MyAppComp}\{#MyAppName}\*" +Type: filesandordirs; Name: "{userappdata}\{#MyAppComp}\{#MyAppName}" +Type: dirifempty; Name: "{userappdata}\{#MyAppComp}" + +[Run] +Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent + diff --git a/windows/runner/Runner.rc b/windows/runner/Runner.rc index 637643d..5af9d49 100644 --- a/windows/runner/Runner.rc +++ b/windows/runner/Runner.rc @@ -94,8 +94,8 @@ BEGIN VALUE "FileVersion", VERSION_AS_STRING "\0" VALUE "InternalName", "LChatClient" "\0" VALUE "LegalCopyright", "Copyright (C) 2022 com.linloir. All rights reserved." "\0" - VALUE "OriginalFilename", "LCatClient.exe" "\0" - VALUE "ProductName", "LCatClient" "\0" + VALUE "OriginalFilename", "LChatClient.exe" "\0" + VALUE "ProductName", "LChatClient" "\0" VALUE "ProductVersion", VERSION_AS_STRING "\0" END END