Skip to content

Commit 38bd0ea

Browse files
committed
Improved Windows Example App Runner
Improved Windows Example App Installer Former-commit-id: 03e2b6c9580c65a1a4d5ed05998fa5095163e4d1 [formerly 6ebeeec] Former-commit-id: be7094d7ef09c7c191a27a8b74689e9b5146fcc6
1 parent 88d581d commit 38bd0ea

File tree

5 files changed

+8
-89
lines changed

5 files changed

+8
-89
lines changed

.github/workflows/SetupScript.iss

Lines changed: 0 additions & 77 deletions
This file was deleted.

example/windows/runner/Runner.rc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -90,12 +90,12 @@ BEGIN
9090
BLOCK "040904e4"
9191
BEGIN
9292
VALUE "CompanyName", "dev.org.fmtc.example" "\0"
93-
VALUE "FileDescription", "example" "\0"
93+
VALUE "FileDescription", "FMTC Demo" "\0"
9494
VALUE "FileVersion", VERSION_AS_STRING "\0"
95-
VALUE "InternalName", "example" "\0"
96-
VALUE "LegalCopyright", "Copyright (C) 2022 dev.org.fmtc.example. All rights reserved." "\0"
95+
VALUE "InternalName", "FMTC Demo" "\0"
96+
VALUE "LegalCopyright", "Copyright (C) 2022 JaffaKetchup. All rights reserved." "\0"
9797
VALUE "OriginalFilename", "example.exe" "\0"
98-
VALUE "ProductName", "example" "\0"
98+
VALUE "ProductName", "FMTC Demo" "\0"
9999
VALUE "ProductVersion", VERSION_AS_STRING "\0"
100100
END
101101
END

example/windows/runner/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ int APIENTRY wWinMain(_In_ HINSTANCE instance, _In_opt_ HINSTANCE prev,
2727
FlutterWindow window(project);
2828
Win32Window::Point origin(10, 10);
2929
Win32Window::Size size(1280, 720);
30-
if (!window.CreateAndShow(L"example", origin, size)) {
30+
if (!window.CreateAndShow(L"FMTC Demo", origin, size)) {
3131
return EXIT_FAILURE;
3232
}
3333
window.SetQuitOnClose(true);
-23.5 KB
Binary file not shown.

windowsApplicationInstallerSetup.iss

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
; Script generated by the Inno Setup Script Wizard.
2-
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
1+
; Script generated by the Inno Setup Script Wizard
32

43
#define MyAppName "FMTC Demo"
54
#define MyAppVersion "5.0.0"
@@ -8,20 +7,18 @@
87
#define MyAppExeName "example.exe"
98

109
[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.)
10+
; DO NOT CHANGE AppId
1311
AppId={{2A90FCB2-47FC-427E-A358-9EA7BBE069F4}
1412
AppName={#MyAppName}
1513
AppVersion={#MyAppVersion}
16-
;AppVerName={#MyAppName} {#MyAppVersion}
1714
AppPublisher={#MyAppPublisher}
1815
AppPublisherURL={#MyAppURL}
1916
AppSupportURL={#MyAppURL}
2017
AppUpdatesURL={#MyAppURL}
2118
DefaultDirName={autopf}\{#MyAppName}
2219
DisableProgramGroupPage=yes
20+
DisableWelcomePage=no
2321
LicenseFile=LICENSE
24-
; Remove the following line to run in administrative install mode (install for all users.)
2522
PrivilegesRequired=lowest
2623
PrivilegesRequiredOverridesAllowed=dialog
2724
OutputDir=prebuiltExampleApplications
@@ -67,7 +64,6 @@ Source: "example\build\windows\runner\Release\connectivity_plus_windows_plugin.d
6764
Source: "example\build\windows\runner\Release\flutter_windows.dll"; DestDir: "{app}"; Flags: ignoreversion
6865
Source: "example\build\windows\runner\Release\permission_handler_windows_plugin.dll"; DestDir: "{app}"; Flags: ignoreversion
6966
Source: "example\build\windows\runner\Release\data\*"; DestDir: "{app}\data"; Flags: ignoreversion recursesubdirs createallsubdirs
70-
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
7167

7268
[Icons]
7369
Name: "{autoprograms}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"

0 commit comments

Comments
 (0)