11; Script generated by the Inno Setup Script Wizard.
22; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES!
33
4- #define MyAppName " TModinstaller "
5- #define MyAppVersion " 1.2.0 "
4+ #define MyAppName " TModInstaller "
5+ #define MyAppVersion " 0.0.1 "
66#define MyAppPublisher " Tricked-dev"
77#define MyAppURL " https://github.com/Tricked-dev/tmodinstaller"
88#define MyAppExeName " tmodinstaller.exe"
9+ #define MyAppAssocName MyAppName + " File"
10+ #define MyAppAssocExt " .myp"
11+ #define MyAppAssocKey StringChange(MyAppAssocName, " " , " " ) + MyAppAssocExt
912
1013[Setup]
1114; NOTE: The value of AppId uniquely identifies this application. Do not use the same AppId value in installers for other applications.
1215; (To generate a new GUID, click Tools | Generate GUID inside the IDE.)
13- AppId = {{80B901C8-D6FE-494E-8AF7-A2BU440E8644 }
16+ AppId = {{F63F4164-452B-4A46-B3D0-54DF9B119987 }
1417AppName = {#MyAppName }
1518AppVersion = {#MyAppVersion}
1619;AppVerName={#MyAppName} {#MyAppVersion}
@@ -19,13 +22,12 @@ AppPublisherURL={#MyAppURL}
1922AppSupportURL = {#MyAppURL}
2023AppUpdatesURL = {#MyAppURL}
2124DefaultDirName = {autopf}\{#MyAppName }
25+ ChangesAssociations = yes
2226DisableProgramGroupPage = yes
2327; Remove the following line to run in administrative install mode (install for all users.)
2428PrivilegesRequired = lowest
2529PrivilegesRequiredOverridesAllowed= dialog
26- OutputDir = ..\build\installer
2730OutputBaseFilename = TModInstaller-windows-x86_64-setup
28- SetupIconFile = ..\windows\runner\resources\icon.ico
2931Compression = lzma
3032SolidCompression = yes
3133WizardStyle = modern
@@ -38,17 +40,21 @@ Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{
3840
3941[Files]
4042Source : " ..\build\windows\runner\Release\{#MyAppExeName}" ; DestDir : " {app} " ; Flags : ignoreversion
41- ; Source: "..\build\windows\runner\Release\bitsdojo_window_windows_plugin.lib "; DestDir: "{app}"; Flags: ignoreversion
43+ Source : " ..\build\windows\runner\Release\flutter_acrylic_plugin.dll " ; DestDir : " {app} " ; Flags : ignoreversion
4244Source : " ..\build\windows\runner\Release\flutter_windows.dll" ; DestDir : " {app} " ; Flags : ignoreversion
43- ; Source: "..\build\windows\runner\Release\hotkey_manager_plugin.dll"; DestDir: "{app}"; Flags: ignoreversion
44- ; Source: "..\build\windows\runner\Release\libwinmedia.dll"; DestDir: "{app}"; Flags: ignoreversion
45- ; Source: "..\build\windows\runner\Release\libwinmedia_plugin.dll"; DestDir: "{app}"; Flags: ignoreversion
46- Source : " ..\build\windows\runner\Release\tmodinstaller.exe" ; DestDir : " {app} " ; Flags : ignoreversion
47- ; Source: "..\build\windows\runner\Release\tmodinstaller.lib"; DestDir: "{app}"; Flags: ignoreversion
48- ; Source: "..\build\windows\runner\Release\url_launcher_windows_plugin.dll"; DestDir: "{app}"; Flags: ignoreversion
45+ Source : " ..\build\windows\runner\Release\system_theme_plugin.dll" ; DestDir : " {app} " ; Flags : ignoreversion
46+ Source : " ..\build\windows\runner\Release\url_launcher_windows_plugin.dll" ; DestDir : " {app} " ; Flags : ignoreversion
47+ Source : " ..\build\windows\runner\Release\window_manager_plugin.dll" ; DestDir : " {app} " ; Flags : ignoreversion
4948Source : " ..\build\windows\runner\Release\data\*" ; DestDir : " {app} \data" ; Flags : ignoreversion recursesubdirs createallsubdirs
5049; NOTE: Don't use "Flags: ignoreversion" on any shared system files
5150
51+ [Registry]
52+ Root : HKA; Subkey : " Software\Classes\{#MyAppAssocExt}\OpenWithProgids" ; ValueType : string ; ValueName : " {#MyAppAssocKey}" ; ValueData : " " ; Flags : uninsdeletevalue
53+ Root : HKA; Subkey : " Software\Classes\{#MyAppAssocKey}" ; ValueType : string ; ValueName : " " ; ValueData : " {#MyAppAssocName}" ; Flags : uninsdeletekey
54+ Root : HKA; Subkey : " Software\Classes\{#MyAppAssocKey}\DefaultIcon" ; ValueType : string ; ValueName : " " ; ValueData : " {app} \{#MyAppExeName},0"
55+ Root : HKA; Subkey : " Software\Classes\{#MyAppAssocKey}\shell\open\command" ; ValueType : string ; ValueName : " " ; ValueData : " " " {app} \{#MyAppExeName}" " " " %1 " " "
56+ Root : HKA; Subkey : " Software\Classes\Applications\{#MyAppExeName}\SupportedTypes" ; ValueType : string ; ValueName : " .myp" ; ValueData : " "
57+
5258[Icons]
5359Name : " {autoprograms}\{#MyAppName}" ; Filename : " {app} \{#MyAppExeName}"
5460Name : " {autodesktop}\{#MyAppName}" ; Filename : " {app} \{#MyAppExeName}" ; Tasks: desktopicon
0 commit comments