| 
									
										
										
										
											2022-01-21 08:39:42 +01:00
										 |  |  | #define source_path ReadIni(SourcePath + "\setup.ini", "Data", "source_path") | 
					
						
							|  |  |  | #define min_windows ReadIni(SourcePath + "\setup.ini", "Data", "min_windows") | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-11-04 16:48:02 +01:00
										 |  |  | #define MyAppName "Archipelago" | 
					
						
							| 
									
										
										
										
											2023-07-24 00:15:47 +02:00
										 |  |  | #define MyAppExeName "ArchipelagoLauncher.exe" | 
					
						
							| 
									
										
										
										
											2021-11-04 16:48:02 +01:00
										 |  |  | #define MyAppIcon "data/icon.ico" | 
					
						
							|  |  |  | #dim VersionTuple[4] | 
					
						
							| 
									
										
										
										
											2023-07-24 00:15:47 +02:00
										 |  |  | #define MyAppVersion GetVersionComponents(source_path + '\ArchipelagoLauncher.exe', VersionTuple[0], VersionTuple[1], VersionTuple[2], VersionTuple[3]) | 
					
						
							| 
									
										
										
										
											2021-11-04 16:48:02 +01:00
										 |  |  | #define MyAppVersionText Str(VersionTuple[0])+"."+Str(VersionTuple[1])+"."+Str(VersionTuple[2]) | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | [Setup] | 
					
						
							|  |  |  | ; NOTE: The value of AppId uniquely identifies this application. | 
					
						
							|  |  |  | ; Do not use the same AppId value in installers for other applications. | 
					
						
							|  |  |  | AppId={{918BA46A-FAB8-460C-9DFF-AE691E1C865B}} | 
					
						
							|  |  |  | AppName={#MyAppName} | 
					
						
							|  |  |  | AppCopyright=Distributed under MIT License | 
					
						
							|  |  |  | AppVerName={#MyAppName} {#MyAppVersionText} | 
					
						
							|  |  |  | VersionInfoVersion={#MyAppVersion} | 
					
						
							|  |  |  | DefaultDirName={commonappdata}\{#MyAppName} | 
					
						
							|  |  |  | DisableProgramGroupPage=yes | 
					
						
							|  |  |  | DefaultGroupName=Archipelago | 
					
						
							|  |  |  | OutputDir=setups | 
					
						
							|  |  |  | OutputBaseFilename=Setup {#MyAppName} {#MyAppVersionText} | 
					
						
							|  |  |  | Compression=lzma2 | 
					
						
							|  |  |  | SolidCompression=yes | 
					
						
							|  |  |  | LZMANumBlockThreads=8 | 
					
						
							| 
									
										
										
										
											2023-03-03 09:51:36 +01:00
										 |  |  | ArchitecturesInstallIn64BitMode=x64 arm64 | 
					
						
							| 
									
										
										
										
											2021-11-04 16:48:02 +01:00
										 |  |  | ChangesAssociations=yes | 
					
						
							| 
									
										
										
										
											2023-03-03 09:51:36 +01:00
										 |  |  | ArchitecturesAllowed=x64 arm64 | 
					
						
							| 
									
										
										
										
											2021-11-04 16:48:02 +01:00
										 |  |  | AllowNoIcons=yes | 
					
						
							|  |  |  | SetupIconFile={#MyAppIcon} | 
					
						
							|  |  |  | UninstallDisplayIcon={app}\{#MyAppExeName} | 
					
						
							| 
									
										
										
										
											2024-03-12 22:27:17 +01:00
										 |  |  | #ifndef NO_SIGNTOOL | 
					
						
							|  |  |  | ; You will likely have to remove the SignTool= line when testing/debugging locally or run with iscc.exe /DNO_SIGNTOOL. | 
					
						
							|  |  |  | ; Don't include that change in PRs. | 
					
						
							| 
									
										
										
										
											2021-11-04 16:48:02 +01:00
										 |  |  | SignTool= signtool | 
					
						
							| 
									
										
										
										
											2024-03-12 22:27:17 +01:00
										 |  |  | #endif | 
					
						
							| 
									
										
										
										
											2021-11-04 16:48:02 +01:00
										 |  |  | LicenseFile= LICENSE | 
					
						
							|  |  |  | WizardStyle= modern | 
					
						
							|  |  |  | SetupLogging=yes | 
					
						
							| 
									
										
										
										
											2022-01-21 08:39:42 +01:00
										 |  |  | MinVersion={#min_windows} | 
					
						
							| 
									
										
										
										
											2021-11-04 16:48:02 +01:00
										 |  |  | 
 | 
					
						
							|  |  |  | [Languages] | 
					
						
							|  |  |  | Name: "english"; MessagesFile: "compiler:Default.isl" | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | [Tasks] | 
					
						
							| 
									
										
										
										
											2025-04-24 08:50:34 +02:00
										 |  |  | Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; | 
					
						
							|  |  |  | Name: "deletelib"; Description: "Clean existing /lib folder and subfolders including /worlds (leave checked if unsure)"; Check: ShouldShowDeleteLibTask | 
					
						
							| 
									
										
										
										
											2021-11-04 16:48:02 +01:00
										 |  |  | 
 | 
					
						
							|  |  |  | [Types] | 
					
						
							|  |  |  | Name: "full"; Description: "Full installation" | 
					
						
							| 
									
										
										
										
											2023-10-23 22:07:24 +02:00
										 |  |  | Name: "minimal"; Description: "Minimal installation" | 
					
						
							| 
									
										
										
										
											2021-11-04 16:48:02 +01:00
										 |  |  | Name: "custom"; Description: "Custom installation"; Flags: iscustom | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | [Components] | 
					
						
							| 
									
										
										
										
											2023-10-23 22:07:24 +02:00
										 |  |  | Name: "core";             Description: "Archipelago"; Types: full minimal custom; Flags: fixed | 
					
						
							|  |  |  | Name: "lttp_sprites";     Description: "Download ""A Link to the Past"" player sprites"; Types: full; | 
					
						
							| 
									
										
										
										
											2021-11-04 16:48:02 +01:00
										 |  |  | 
 | 
					
						
							|  |  |  | [Dirs] | 
					
						
							|  |  |  | NAME: "{app}"; Flags: setntfscompression; Permissions: everyone-modify users-modify authusers-modify; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | [Files] | 
					
						
							| 
									
										
										
										
											2023-10-23 22:07:24 +02:00
										 |  |  | Source: "{#source_path}\*"; Excludes: "*.sfc, *.log, data\sprites\alttpr, SNI, EnemizerCLI"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs | 
					
						
							|  |  |  | Source: "{#source_path}\SNI\*"; Excludes: "*.sfc, *.log"; DestDir: "{app}\SNI"; Flags: ignoreversion recursesubdirs createallsubdirs; | 
					
						
							|  |  |  | Source: "{#source_path}\EnemizerCLI\*"; Excludes: "*.sfc, *.log"; DestDir: "{app}\EnemizerCLI"; Flags: ignoreversion recursesubdirs createallsubdirs; | 
					
						
							| 
									
										
										
										
											2021-11-04 16:48:02 +01:00
										 |  |  | Source: "vc_redist.x64.exe"; DestDir: {tmp}; Flags: deleteafterinstall | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | [Icons] | 
					
						
							|  |  |  | Name: "{group}\{#MyAppName} Folder"; Filename: "{app}"; | 
					
						
							| 
									
										
										
										
											2023-07-13 20:48:38 -05:00
										 |  |  | Name: "{group}\{#MyAppName} Launcher"; Filename: "{app}\ArchipelagoLauncher.exe" | 
					
						
							| 
									
										
										
										
											2021-12-01 02:47:08 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-11-04 16:48:02 +01:00
										 |  |  | Name: "{commondesktop}\{#MyAppName} Folder"; Filename: "{app}"; Tasks: desktopicon | 
					
						
							| 
									
										
										
										
											2023-07-13 20:48:38 -05:00
										 |  |  | Name: "{commondesktop}\{#MyAppName} Launcher"; Filename: "{app}\ArchipelagoLauncher.exe"; Tasks: desktopicon | 
					
						
							| 
									
										
										
										
											2021-11-04 16:48:02 +01:00
										 |  |  | 
 | 
					
						
							|  |  |  | [Run] | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | Filename: "{tmp}\vc_redist.x64.exe"; Parameters: "/passive /norestart"; Check: IsVCRedist64BitNeeded; StatusMsg: "Installing VC++ redistributable..." | 
					
						
							| 
									
										
										
										
											2024-06-01 07:42:02 -04:00
										 |  |  | Filename: "{app}\ArchipelagoLttPAdjuster"; Parameters: "--update_sprites"; StatusMsg: "Updating Sprite Library..."; Components: lttp_sprites | 
					
						
							| 
									
										
										
										
											2023-07-05 22:39:35 +02:00
										 |  |  | Filename: "{app}\ArchipelagoLauncher"; Parameters: "--update_settings"; StatusMsg: "Updating host.yaml..."; Flags: runasoriginaluser runhidden | 
					
						
							| 
									
										
										
										
											2023-07-24 00:15:47 +02:00
										 |  |  | Filename: "{app}\ArchipelagoLauncher"; Description: "{cm:LaunchProgram,{#StringChange('Launcher', '&', '&&')}}"; Flags: nowait postinstall skipifsilent | 
					
						
							| 
									
										
										
										
											2021-11-04 16:48:02 +01:00
										 |  |  | 
 | 
					
						
							|  |  |  | [UninstallDelete] | 
					
						
							|  |  |  | Type: dirifempty; Name: "{app}" | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-11-12 23:47:52 +01:00
										 |  |  | [InstallDelete] | 
					
						
							| 
									
										
										
										
											2025-04-24 08:50:34 +02:00
										 |  |  | Type: files; Name: "{app}\*.exe" | 
					
						
							| 
									
										
										
										
											2023-11-25 15:42:03 +01:00
										 |  |  | Type: files; Name: "{app}\data\lua\connector_pkmn_rb.lua" | 
					
						
							| 
									
										
										
										
											2025-05-22 11:35:38 -04:00
										 |  |  | Type: files; Name: "{app}\data\lua\connector_ff1.lua" | 
					
						
							| 
									
										
										
										
											2023-06-16 16:26:41 +02:00
										 |  |  | Type: filesandordirs; Name: "{app}\SNI\lua*" | 
					
						
							|  |  |  | Type: filesandordirs; Name: "{app}\EnemizerCLI*" | 
					
						
							| 
									
										
										
										
											2022-12-07 06:40:30 +01:00
										 |  |  | #include "installdelete.iss" | 
					
						
							| 
									
										
										
										
											2021-11-12 23:47:52 +01:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2021-11-04 16:48:02 +01:00
										 |  |  | [Registry] | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-10-23 22:07:24 +02:00
										 |  |  | Root: HKCR; Subkey: ".aplttp";                                   ValueData: "{#MyAppName}patch";        Flags: uninsdeletevalue; ValueType: string;  ValueName: ""; | 
					
						
							|  |  |  | Root: HKCR; Subkey: "{#MyAppName}patch";                         ValueData: "Archipelago Binary Patch"; Flags: uninsdeletekey;   ValueType: string;  ValueName: ""; | 
					
						
							|  |  |  | Root: HKCR; Subkey: "{#MyAppName}patch\DefaultIcon";             ValueData: "{app}\ArchipelagoSNIClient.exe,0";                  ValueType: string;  ValueName: ""; | 
					
						
							|  |  |  | Root: HKCR; Subkey: "{#MyAppName}patch\shell\open\command";      ValueData: """{app}\ArchipelagoSNIClient.exe"" ""%1""";         ValueType: string;  ValueName: ""; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | Root: HKCR; Subkey: ".apsm";                                     ValueData: "{#MyAppName}smpatch";        Flags: uninsdeletevalue; ValueType: string;  ValueName: ""; | 
					
						
							|  |  |  | Root: HKCR; Subkey: "{#MyAppName}smpatch";                       ValueData: "Archipelago Super Metroid Patch"; Flags: uninsdeletekey;   ValueType: string;  ValueName: ""; | 
					
						
							|  |  |  | Root: HKCR; Subkey: "{#MyAppName}smpatch\DefaultIcon";           ValueData: "{app}\ArchipelagoSNIClient.exe,0";                           ValueType: string;  ValueName: ""; | 
					
						
							|  |  |  | Root: HKCR; Subkey: "{#MyAppName}smpatch\shell\open\command";    ValueData: """{app}\ArchipelagoSNIClient.exe"" ""%1""";                  ValueType: string;  ValueName: ""; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | Root: HKCR; Subkey: ".apdkc3";                                   ValueData: "{#MyAppName}dkc3patch";        Flags: uninsdeletevalue; ValueType: string;  ValueName: ""; | 
					
						
							|  |  |  | Root: HKCR; Subkey: "{#MyAppName}dkc3patch";                     ValueData: "Archipelago Donkey Kong Country 3 Patch"; Flags: uninsdeletekey;   ValueType: string;  ValueName: ""; | 
					
						
							|  |  |  | Root: HKCR; Subkey: "{#MyAppName}dkc3patch\DefaultIcon";         ValueData: "{app}\ArchipelagoSNIClient.exe,0";                           ValueType: string;  ValueName: ""; | 
					
						
							|  |  |  | Root: HKCR; Subkey: "{#MyAppName}dkc3patch\shell\open\command";  ValueData: """{app}\ArchipelagoSNIClient.exe"" ""%1""";                  ValueType: string;  ValueName: ""; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | Root: HKCR; Subkey: ".apsmw";                                    ValueData: "{#MyAppName}smwpatch";        Flags: uninsdeletevalue; ValueType: string;  ValueName: ""; | 
					
						
							|  |  |  | Root: HKCR; Subkey: "{#MyAppName}smwpatch";                      ValueData: "Archipelago Super Mario World Patch"; Flags: uninsdeletekey;   ValueType: string;  ValueName: ""; | 
					
						
							|  |  |  | Root: HKCR; Subkey: "{#MyAppName}smwpatch\DefaultIcon";          ValueData: "{app}\ArchipelagoSNIClient.exe,0";                           ValueType: string;  ValueName: ""; | 
					
						
							|  |  |  | Root: HKCR; Subkey: "{#MyAppName}smwpatch\shell\open\command";   ValueData: """{app}\ArchipelagoSNIClient.exe"" ""%1""";                  ValueType: string;  ValueName: ""; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | Root: HKCR; Subkey: ".apzl";                                     ValueData: "{#MyAppName}zlpatch";        Flags: uninsdeletevalue; ValueType: string;  ValueName: ""; | 
					
						
							|  |  |  | Root: HKCR; Subkey: "{#MyAppName}zlpatch";                       ValueData: "Archipelago Zillion Patch"; Flags: uninsdeletekey;   ValueType: string;  ValueName: ""; | 
					
						
							|  |  |  | Root: HKCR; Subkey: "{#MyAppName}zlpatch\DefaultIcon";           ValueData: "{app}\ArchipelagoZillionClient.exe,0";                           ValueType: string;  ValueName: ""; | 
					
						
							|  |  |  | Root: HKCR; Subkey: "{#MyAppName}zlpatch\shell\open\command";    ValueData: """{app}\ArchipelagoZillionClient.exe"" ""%1""";                  ValueType: string;  ValueName: ""; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | Root: HKCR; Subkey: ".apsmz3";                                   ValueData: "{#MyAppName}smz3patch";        Flags: uninsdeletevalue; ValueType: string;  ValueName: ""; | 
					
						
							|  |  |  | Root: HKCR; Subkey: "{#MyAppName}smz3patch";                     ValueData: "Archipelago SMZ3 Patch"; Flags: uninsdeletekey;   ValueType: string;  ValueName: ""; | 
					
						
							|  |  |  | Root: HKCR; Subkey: "{#MyAppName}smz3patch\DefaultIcon";         ValueData: "{app}\ArchipelagoSNIClient.exe,0";                           ValueType: string;  ValueName: ""; | 
					
						
							|  |  |  | Root: HKCR; Subkey: "{#MyAppName}smz3patch\shell\open\command";  ValueData: """{app}\ArchipelagoSNIClient.exe"" ""%1""";                  ValueType: string;  ValueName: ""; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | Root: HKCR; Subkey: ".apsoe";                                    ValueData: "{#MyAppName}soepatch";        Flags: uninsdeletevalue; ValueType: string;  ValueName: ""; | 
					
						
							|  |  |  | Root: HKCR; Subkey: "{#MyAppName}soepatch";                      ValueData: "Archipelago Secret of Evermore Patch"; Flags: uninsdeletekey;   ValueType: string;  ValueName: ""; | 
					
						
							|  |  |  | Root: HKCR; Subkey: "{#MyAppName}soepatch\DefaultIcon";          ValueData: "{app}\ArchipelagoSNIClient.exe,0";                           ValueType: string;  ValueName: ""; | 
					
						
							|  |  |  | Root: HKCR; Subkey: "{#MyAppName}soepatch\shell\open\command";   ValueData: """{app}\ArchipelagoSNIClient.exe"" ""%1""";                  ValueType: string;  ValueName: ""; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | Root: HKCR; Subkey: ".apl2ac";                                   ValueData: "{#MyAppName}l2acpatch";        Flags: uninsdeletevalue; ValueType: string;  ValueName: ""; | 
					
						
							|  |  |  | Root: HKCR; Subkey: "{#MyAppName}l2acpatch";                     ValueData: "Archipelago Lufia II Ancient Cave Patch"; Flags: uninsdeletekey;   ValueType: string;  ValueName: ""; | 
					
						
							|  |  |  | Root: HKCR; Subkey: "{#MyAppName}l2acpatch\DefaultIcon";         ValueData: "{app}\ArchipelagoSNIClient.exe,0";                           ValueType: string;  ValueName: ""; | 
					
						
							|  |  |  | Root: HKCR; Subkey: "{#MyAppName}l2acpatch\shell\open\command";  ValueData: """{app}\ArchipelagoSNIClient.exe"" ""%1""";                  ValueType: string;  ValueName: ""; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-03-11 17:26:21 -05:00
										 |  |  | Root: HKCR; Subkey: ".apkdl3";                                   ValueData: "{#MyAppName}kdl3patch";        Flags: uninsdeletevalue; ValueType: string;  ValueName: ""; | 
					
						
							|  |  |  | Root: HKCR; Subkey: "{#MyAppName}kdl3patch";                     ValueData: "Archipelago Kirby's Dream Land 3 Patch"; Flags: uninsdeletekey;   ValueType: string;  ValueName: ""; | 
					
						
							|  |  |  | Root: HKCR; Subkey: "{#MyAppName}kdl3patch\DefaultIcon";         ValueData: "{app}\ArchipelagoSNIClient.exe,0";                           ValueType: string;  ValueName: ""; | 
					
						
							|  |  |  | Root: HKCR; Subkey: "{#MyAppName}kdl3patch\shell\open\command";  ValueData: """{app}\ArchipelagoSNIClient.exe"" ""%1""";                  ValueType: string;  ValueName: ""; | 
					
						
							| 
									
										
										
										
											2024-03-05 09:59:55 -06:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-10-23 22:07:24 +02:00
										 |  |  | Root: HKCR; Subkey: ".apmc";                                     ValueData: "{#MyAppName}mcdata";         Flags: uninsdeletevalue; ValueType: string;  ValueName: ""; | 
					
						
							|  |  |  | Root: HKCR; Subkey: "{#MyAppName}mcdata";                        ValueData: "Archipelago Minecraft Data"; Flags: uninsdeletekey;   ValueType: string;  ValueName: ""; | 
					
						
							|  |  |  | Root: HKCR; Subkey: "{#MyAppName}mcdata\DefaultIcon";            ValueData: "{app}\ArchipelagoMinecraftClient.exe,0";                           ValueType: string;  ValueName: ""; | 
					
						
							|  |  |  | Root: HKCR; Subkey: "{#MyAppName}mcdata\shell\open\command";     ValueData: """{app}\ArchipelagoMinecraftClient.exe"" ""%1""";                  ValueType: string;  ValueName: ""; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | Root: HKCR; Subkey: ".apz5";                                     ValueData: "{#MyAppName}n64zpf";         Flags: uninsdeletevalue; ValueType: string;  ValueName: ""; | 
					
						
							|  |  |  | Root: HKCR; Subkey: "{#MyAppName}n64zpf";                        ValueData: "Archipelago Ocarina of Time Patch"; Flags: uninsdeletekey;   ValueType: string;  ValueName: ""; | 
					
						
							|  |  |  | Root: HKCR; Subkey: "{#MyAppName}n64zpf\DefaultIcon";            ValueData: "{app}\ArchipelagoOoTClient.exe,0";                           ValueType: string;  ValueName: ""; | 
					
						
							|  |  |  | Root: HKCR; Subkey: "{#MyAppName}n64zpf\shell\open\command";     ValueData: """{app}\ArchipelagoOoTClient.exe"" ""%1""";                  ValueType: string;  ValueName: ""; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | Root: HKCR; Subkey: ".apred";                                    ValueData: "{#MyAppName}pkmnrpatch";        Flags: uninsdeletevalue; ValueType: string;  ValueName: ""; | 
					
						
							|  |  |  | Root: HKCR; Subkey: "{#MyAppName}pkmnrpatch";                    ValueData: "Archipelago Pokemon Red Patch"; Flags: uninsdeletekey;   ValueType: string;  ValueName: ""; | 
					
						
							| 
									
										
										
										
											2023-11-25 05:57:02 -05:00
										 |  |  | Root: HKCR; Subkey: "{#MyAppName}pkmnrpatch\DefaultIcon";        ValueData: "{app}\ArchipelagoBizHawkClient.exe,0";                           ValueType: string;  ValueName: ""; | 
					
						
							|  |  |  | Root: HKCR; Subkey: "{#MyAppName}pkmnrpatch\shell\open\command"; ValueData: """{app}\ArchipelagoBizHawkClient.exe"" ""%1""";                  ValueType: string;  ValueName: ""; | 
					
						
							| 
									
										
										
										
											2023-10-23 22:07:24 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  | Root: HKCR; Subkey: ".apblue";                                   ValueData: "{#MyAppName}pkmnbpatch";        Flags: uninsdeletevalue; ValueType: string;  ValueName: ""; | 
					
						
							|  |  |  | Root: HKCR; Subkey: "{#MyAppName}pkmnbpatch";                    ValueData: "Archipelago Pokemon Blue Patch"; Flags: uninsdeletekey;   ValueType: string;  ValueName: ""; | 
					
						
							| 
									
										
										
										
											2023-11-25 05:57:02 -05:00
										 |  |  | Root: HKCR; Subkey: "{#MyAppName}pkmnbpatch\DefaultIcon";        ValueData: "{app}\ArchipelagoBizHawkClient.exe,0";                           ValueType: string;  ValueName: ""; | 
					
						
							|  |  |  | Root: HKCR; Subkey: "{#MyAppName}pkmnbpatch\shell\open\command"; ValueData: """{app}\ArchipelagoBizHawkClient.exe"" ""%1""";                  ValueType: string;  ValueName: ""; | 
					
						
							| 
									
										
										
										
											2023-10-23 22:07:24 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  | Root: HKCR; Subkey: ".apbn3";                                    ValueData: "{#MyAppName}bn3bpatch";        Flags: uninsdeletevalue; ValueType: string;  ValueName: ""; | 
					
						
							|  |  |  | Root: HKCR; Subkey: "{#MyAppName}bn3bpatch";                     ValueData: "Archipelago MegaMan Battle Network 3 Patch"; Flags: uninsdeletekey;   ValueType: string;  ValueName: ""; | 
					
						
							|  |  |  | Root: HKCR; Subkey: "{#MyAppName}bn3bpatch\DefaultIcon";         ValueData: "{app}\ArchipelagoMMBN3Client.exe,0";                           ValueType: string;  ValueName: ""; | 
					
						
							|  |  |  | Root: HKCR; Subkey: "{#MyAppName}bn3bpatch\shell\open\command";  ValueData: """{app}\ArchipelagoMMBN3Client.exe"" ""%1""";                  ValueType: string;  ValueName: ""; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-11-12 17:21:17 -08:00
										 |  |  | Root: HKCR; Subkey: ".apemerald";                                 ValueData: "{#MyAppName}pkmnepatch";                               Flags: uninsdeletevalue; ValueType: string; ValueName: ""; | 
					
						
							|  |  |  | Root: HKCR; Subkey: "{#MyAppName}pkmnepatch";                     ValueData: "Archipelago Pokemon Emerald Patch";                    Flags: uninsdeletekey;   ValueType: string; ValueName: ""; | 
					
						
							|  |  |  | Root: HKCR; Subkey: "{#MyAppName}pkmnepatch\DefaultIcon";         ValueData: "{app}\ArchipelagoBizHawkClient.exe,0";                                          ValueType: string; ValueName: ""; | 
					
						
							|  |  |  | Root: HKCR; Subkey: "{#MyAppName}pkmnepatch\shell\open\command";  ValueData: """{app}\ArchipelagoBizHawkClient.exe"" ""%1""";                                 ValueType: string; ValueName: ""; | 
					
						
							| 
									
										
										
										
											2023-11-12 13:39:34 -08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-05-18 16:26:50 -04:00
										 |  |  | Root: HKCR; Subkey: ".apmlss";                                 ValueData: "{#MyAppName}mlsspatch";                               Flags: uninsdeletevalue; ValueType: string; ValueName: ""; | 
					
						
							|  |  |  | Root: HKCR; Subkey: "{#MyAppName}mlsspatch";                     ValueData: "Archipelago Mario & Luigi Superstar Saga Patch";                    Flags: uninsdeletekey;   ValueType: string; ValueName: ""; | 
					
						
							|  |  |  | Root: HKCR; Subkey: "{#MyAppName}mlsspatch\DefaultIcon";         ValueData: "{app}\ArchipelagoBizHawkClient.exe,0";                                          ValueType: string; ValueName: ""; | 
					
						
							|  |  |  | Root: HKCR; Subkey: "{#MyAppName}mlsspatch\shell\open\command";  ValueData: """{app}\ArchipelagoBizHawkClient.exe"" ""%1""";                                 ValueType: string; ValueName: ""; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-03-20 15:03:25 -06:00
										 |  |  | Root: HKCR; Subkey: ".apcv64";                                 ValueData: "{#MyAppName}cv64patch";                               Flags: uninsdeletevalue; ValueType: string; ValueName: ""; | 
					
						
							|  |  |  | Root: HKCR; Subkey: "{#MyAppName}cv64patch";                     ValueData: "Archipelago Castlevania 64 Patch";                    Flags: uninsdeletekey;   ValueType: string; ValueName: ""; | 
					
						
							|  |  |  | Root: HKCR; Subkey: "{#MyAppName}cv64patch\DefaultIcon";         ValueData: "{app}\ArchipelagoBizHawkClient.exe,0";                                          ValueType: string; ValueName: ""; | 
					
						
							|  |  |  | Root: HKCR; Subkey: "{#MyAppName}cv64patch\shell\open\command";  ValueData: """{app}\ArchipelagoBizHawkClient.exe"" ""%1""";                                 ValueType: string; ValueName: ""; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
											  
											
												Castlevania: Circle of the Moon - Implement New Game (#3299)
* Add the cotm package with working seed playthrough generation.
* Add the proper event flag IDs for the Item codes.
* Oooops. Put the world completion condition in!
* Adjust the game name and abbreviations.
* Implement more settings.
* Account for too many start_inventory_from_pool cards with Halve DSS Cards Placed.
* Working (albeit very sloooooooooooow) ROM patching.
* Screw you, bsdiff! AP Procedure Patch for life!
* Nuke stage_assert_generate as the ROM is no longer needed for that.
* Working item writing and position adjusting.
* Fix the magic item graphics in Locations wherein they can be fixed.
* Enable sub-weapon shuffle
* Get the seed display working.
* Get the enemy item drop randomization working. Phew!
* Enemy drop rando and seed display fixes.
* Functional Countdown + Early Double setting
* Working multiworld (yay!)
* Fix item links and demo shenanigans.
* Add Wii U VC hash and a docs section explaining the rereleases.
* Change all client read/writes to EWRAM instead of Combined WRAM.
* Custom text insertion foundations.
* Working text converter and word wrap detector.
* More refinements to the text wrap system.
* Well and truly working sent/received messages.
* Add DeathLink and Battle Arena goal options.
* Add tracker stuff, unittests, all locations countdown, presets.
* Add to README, CODEOWNERS, and inno_setup
* Add to README, CODEOWNERS, and inno_setup
* Address some suggestions/problems.
* Switch the Items and Locations to using dataclasses.
* Add note about the alternate classes to the Game Page.
* Oooops, typo!
* Touch up the Options descriptions.
* Fix Battle Arena flag being detected incorrectly on connection and name the locked location/item pairs better.
* Implement option groups
* Swap the Lizard-man Locations into their correct Regions.
* Local start inventory, better DeathLink message handling, handle receiving over 255 of an item.
* Update the PopTracker pack links to no longer point to the Releases page.
* Add Skip Dialogues option.
* Update the presets for the accessibility rework.
* Swap the choices in the accessibility preset options.
* Uhhhhhhh...just see the apworld v4 changelog for this one.
* Ooops, typo!
* .
* Bunch of small stuff
* Correctly change "Fake" to "Breakable" in this comment.
Co-authored-by: Exempt-Medic <60412657+Exempt-Medic@users.noreply.github.com>
* Make can_touch_water one line.
Co-authored-by: Exempt-Medic <60412657+Exempt-Medic@users.noreply.github.com>
* Make broke_iron_maidens one line.
Co-authored-by: Exempt-Medic <60412657+Exempt-Medic@users.noreply.github.com>
* Fix majors countdown and make can_open_ceremonial_door one line.
* Make the Trap AP Item less obvious.
* Add Progression + Useful stuff, patcher handling for incompatible versions, and fix some mypy stuff.
* Better option groups.
* Change Early Double to Early Escape Item.
* Update DeathLink description and ditch the Menu region.
* Fix the Start Broken choice for Iron Maiden Behavior
* Remove the forced option change with Arena goal + required All Bosses and Arena.
* Update the Game Page with the removal of the forced option combination change.
* Fix client potential to send packets nonstop.
* More review addressing.
* Fix the new select_drop code.
* Fix the new select_drop code for REAL this time.
* Send another LocationScout if we send Location checks without having the Location info.
---------
Co-authored-by: Exempt-Medic <60412657+Exempt-Medic@users.noreply.github.com>
Co-authored-by: Exempt-Medic <ExemptMedic@Gmail.com>
Co-authored-by: NewSoupVi <57900059+NewSoupVi@users.noreply.github.com>
											
										 
											2024-12-12 06:47:47 -07:00
										 |  |  | Root: HKCR; Subkey: ".apcvcotm";                                 ValueData: "{#MyAppName}cvcotmpatch";                               Flags: uninsdeletevalue; ValueType: string; ValueName: ""; | 
					
						
							|  |  |  | Root: HKCR; Subkey: "{#MyAppName}cvcotmpatch";                     ValueData: "Archipelago Castlevania Circle of the Moon Patch";                    Flags: uninsdeletekey;   ValueType: string; ValueName: ""; | 
					
						
							|  |  |  | Root: HKCR; Subkey: "{#MyAppName}cvcotmpatch\DefaultIcon";         ValueData: "{app}\ArchipelagoBizHawkClient.exe,0";                                          ValueType: string; ValueName: ""; | 
					
						
							|  |  |  | Root: HKCR; Subkey: "{#MyAppName}cvcotmpatch\shell\open\command";  ValueData: """{app}\ArchipelagoBizHawkClient.exe"" ""%1""";                                 ValueType: string; ValueName: ""; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
											  
											
												Mega Man 2: Implement New Game (#3256)
* initial (broken) commit
* small work on init
* Update Items.py
* beginning work, some rom patches
* commit progress from bh branch
* deathlink, fix soft-reset kill, e-tank loss
* begin work on targeting new bhclient
* write font
* definitely didn't forget to add the other two hashes no
* update to modern options, begin colors
* fix 6th letter bug
* palette shuffle + logic rewrite
* fix a bunch of pointers
* fix color changes, deathlink, and add wily 5 req
* adjust weapon weakness generation
* Update Rules.py
* attempt wily 5 softlock fix
* add explicit test for rbm weaknesses
* fix difficulty and hard reset
* fix connect deathlink and off by one item color
* fix atomic fire again
* de-jank deathlink
* rewrite wily5 rule
* fix rare solo-gen fill issue, hopefully
* Update Client.py
* fix wily 5 requirements
* undo fill hook
* fix picopico-kun rules
* for real this time
* update minimum damage requirement
* begin move to procedure patch
* finish move to APPP, allow rando boobeam, color updates
* fix color bug, UT support?
* what do you mean I forgot the procedure
* fix UT?
* plando weakness and fixes
* sfx when item received, more time stopper edge cases
* Update test_weakness.py
* fix rules and color bug
* fix color bug, support reduced flashing
* major world overhaul
* Update Locations.py
* fix first found bugs
* mypy cleanup
* headerless roms
* Update Rom.py
* further cleanup
* work on energylink
* el fixes
* update to energylink 2.0 packet
* energylink balancing
* potentially break other clients, more balancing
* Update Items.py
* remove startup change from basepatch
we write that in patch, since we also need to clean the area before applying
* el balancing and feedback
* hopefully less test failures?
* implement world version check
* add weapon/health option
* Update Rom.py
* x/x2
* specials
* Update Color.py
* Update Options.py
* finally apply location groups
* bump minor version number instead
* fix duplicate stage sends
* validate wily 5, tests
* see if renaming fixes
* add shuffled weakness
* remove passwords
* refresh rbm select, fix wily 5 validation
* forgot we can't check 0
* oops I broke the basepatch (remove failing test later)
* fix solo gen fill error?
* fix webhost patch recognition
* fix imports, basepatch
* move to flexibility metric for boss validation
* special case boobeam trap
* block strobe on stage select init
* more energylink balancing
* bump world version
* wily HP inaccurate in validation
* fix validation edge case
* save last completed wily to data storage
* mypy and pep8 cleanup
* fix file browse validation
* fix test failure, add enemy weakness
* remove test seed
* update enemy damage
* inno setup
* Update en_Mega Man 2.md
* setup guide
* Update en_Mega Man 2.md
* finish plando weakness section
* starting rbm edge case
* remove * imports
* properly wrap later weakness additions in regen playthrough
* fix import
* forgot readme
* remove time stopper special casing
since we moved to proper wily 5 validation, this special casing is no longer important
* properly type added locations
* Update CODEOWNERS
* add animation reduction
* deprioritize Time Stopper in rush checks
* special case wily phase 1
* fix key error
* forgot the test
* music and general cleanup
* the great rename
* fix import
* thanks pycharm
* reorder palette shuffle
* account for alien on shuffled weakness
* apply suggestions
* fix seedbleed
* fix invalid buster passthrough
* fix weakness landing beneath required amount
* fix failsafe
* finish music
* fix Time Stopper on Flash/Alien
* asar pls
* Apply suggestions from code review
Co-authored-by: Exempt-Medic <60412657+Exempt-Medic@users.noreply.github.com>
* world helpers
* init cleanup
* apostrophes
* clearer wording
* mypy and cleanup
* options doc cleanup
* Update rom.py
* rules cleanup
* Update __init__.py
* Update __init__.py
* move to defaultdict
* cleanup world helpers
* Update __init__.py
* remove unnecessary line from fill hook
* forgot the other one
* apply code review
* remove collect
* Update rules.py
* forgot another
---------
Co-authored-by: Exempt-Medic <60412657+Exempt-Medic@users.noreply.github.com>
											
										 
											2024-08-19 21:59:29 -05:00
										 |  |  | Root: HKCR; Subkey: ".apmm2";                                   ValueData: "{#MyAppName}mm2patch";                               Flags: uninsdeletevalue; ValueType: string; ValueName: ""; | 
					
						
							|  |  |  | Root: HKCR; Subkey: "{#MyAppName}mm2patch";                     ValueData: "Archipelago Mega Man 2 Patch";                    Flags: uninsdeletekey;   ValueType: string; ValueName: ""; | 
					
						
							|  |  |  | Root: HKCR; Subkey: "{#MyAppName}mm2patch\DefaultIcon";         ValueData: "{app}\ArchipelagoBizHawkClient.exe,0";                                          ValueType: string; ValueName: ""; | 
					
						
							|  |  |  | Root: HKCR; Subkey: "{#MyAppName}mm2patch\shell\open\command";  ValueData: """{app}\ArchipelagoBizHawkClient.exe"" ""%1""";                                 ValueType: string; ValueName: ""; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-10-23 22:07:24 +02:00
										 |  |  | Root: HKCR; Subkey: ".apladx";                                   ValueData: "{#MyAppName}ladxpatch";        Flags: uninsdeletevalue; ValueType: string;  ValueName: ""; | 
					
						
							|  |  |  | Root: HKCR; Subkey: "{#MyAppName}ladxpatch";                     ValueData: "Archipelago Links Awakening DX Patch"; Flags: uninsdeletekey;   ValueType: string;  ValueName: ""; | 
					
						
							|  |  |  | Root: HKCR; Subkey: "{#MyAppName}ladxpatch\DefaultIcon";         ValueData: "{app}\ArchipelagoLinksAwakeningClient.exe,0";                           ValueType: string;  ValueName: ""; | 
					
						
							|  |  |  | Root: HKCR; Subkey: "{#MyAppName}ladxpatch\shell\open\command";  ValueData: """{app}\ArchipelagoLinksAwakeningClient.exe"" ""%1""";                  ValueType: string;  ValueName: ""; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | Root: HKCR; Subkey: ".aptloz";                                   ValueData: "{#MyAppName}tlozpatch";        Flags: uninsdeletevalue; ValueType: string;  ValueName: ""; | 
					
						
							|  |  |  | Root: HKCR; Subkey: "{#MyAppName}tlozpatch";                     ValueData: "Archipelago The Legend of Zelda Patch"; Flags: uninsdeletekey;   ValueType: string;  ValueName: ""; | 
					
						
							|  |  |  | Root: HKCR; Subkey: "{#MyAppName}tlozpatch\DefaultIcon";         ValueData: "{app}\ArchipelagoZelda1Client.exe,0";                           ValueType: string;  ValueName: ""; | 
					
						
							|  |  |  | Root: HKCR; Subkey: "{#MyAppName}tlozpatch\shell\open\command";  ValueData: """{app}\ArchipelagoZelda1Client.exe"" ""%1""";                  ValueType: string;  ValueName: ""; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | Root: HKCR; Subkey: ".apadvn";                                   ValueData: "{#MyAppName}advnpatch";        Flags: uninsdeletevalue; ValueType: string;  ValueName: ""; | 
					
						
							|  |  |  | Root: HKCR; Subkey: "{#MyAppName}advnpatch";                     ValueData: "Archipelago Adventure Patch";  Flags: uninsdeletekey;   ValueType: string;  ValueName: ""; | 
					
						
							|  |  |  | Root: HKCR; Subkey: "{#MyAppName}advnpatch\DefaultIcon";         ValueData: "{app}\ArchipelagoAdventureClient.exe,0";                ValueType: string;  ValueName: ""; | 
					
						
							|  |  |  | Root: HKCR; Subkey: "{#MyAppName}advnpatch\shell\open\command";  ValueData: """{app}\ArchipelagoAdventureClient.exe"" ""%1""";       ValueType: string;  ValueName: ""; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-03-22 15:35:00 -05:00
										 |  |  | Root: HKCR; Subkey: ".apyi";                                   ValueData: "{#MyAppName}yipatch";        Flags: uninsdeletevalue; ValueType: string;  ValueName: ""; | 
					
						
							|  |  |  | Root: HKCR; Subkey: "{#MyAppName}yipatch";                     ValueData: "Archipelago Yoshi's Island Patch"; Flags: uninsdeletekey;   ValueType: string;  ValueName: ""; | 
					
						
							|  |  |  | Root: HKCR; Subkey: "{#MyAppName}yipatch\DefaultIcon";         ValueData: "{app}\ArchipelagoSNIClient.exe,0";                           ValueType: string;  ValueName: ""; | 
					
						
							|  |  |  | Root: HKCR; Subkey: "{#MyAppName}yipatch\shell\open\command";  ValueData: """{app}\ArchipelagoSNIClient.exe"" ""%1""";                  ValueType: string;  ValueName: ""; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-05-18 00:09:03 +02:00
										 |  |  | Root: HKCR; Subkey: ".apygo06";                                   ValueData: "{#MyAppName}ygo06patch";        Flags: uninsdeletevalue; ValueType: string;  ValueName: ""; | 
					
						
							|  |  |  | Root: HKCR; Subkey: "{#MyAppName}ygo06patch";                     ValueData: "Archipelago Yu-Gi-Oh 2006 Patch"; Flags: uninsdeletekey;   ValueType: string;  ValueName: ""; | 
					
						
							|  |  |  | Root: HKCR; Subkey: "{#MyAppName}ygo06patch\DefaultIcon";         ValueData: "{app}\ArchipelagoBizHawkClient.exe,0";                           ValueType: string;  ValueName: ""; | 
					
						
							|  |  |  | Root: HKCR; Subkey: "{#MyAppName}ygo06patch\shell\open\command";  ValueData: """{app}\ArchipelagoBizHawkClient.exe"" ""%1""";                  ValueType: string;  ValueName: ""; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2025-03-10 07:53:26 -06:00
										 |  |  | Root: HKCR; Subkey: ".apcivvi";                                   ValueData: "{#MyAppName}apcivvipatch";        Flags: uninsdeletevalue; ValueType: string;  ValueName: ""; | 
					
						
							|  |  |  | Root: HKCR; Subkey: "{#MyAppName}apcivvipatch";                     ValueData: "Archipelago Civilization 6 Patch"; Flags: uninsdeletekey;   ValueType: string;  ValueName: ""; | 
					
						
							|  |  |  | Root: HKCR; Subkey: "{#MyAppName}apcivvipatch\DefaultIcon";         ValueData: "{app}\ArchipelagoLauncher.exe,0";                           ValueType: string;  ValueName: ""; | 
					
						
							|  |  |  | Root: HKCR; Subkey: "{#MyAppName}apcivvipatch\shell\open\command";  ValueData: """{app}\ArchipelagoLauncher.exe"" ""%1""";                  ValueType: string;  ValueName: ""; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-10-23 22:07:24 +02:00
										 |  |  | Root: HKCR; Subkey: ".archipelago";                              ValueData: "{#MyAppName}multidata";        Flags: uninsdeletevalue; ValueType: string;  ValueName: ""; | 
					
						
							|  |  |  | Root: HKCR; Subkey: "{#MyAppName}multidata";                     ValueData: "Archipelago Server Data";      Flags: uninsdeletekey;   ValueType: string;  ValueName: ""; | 
					
						
							|  |  |  | Root: HKCR; Subkey: "{#MyAppName}multidata\DefaultIcon";         ValueData: "{app}\ArchipelagoServer.exe,0";                         ValueType: string;  ValueName: ""; | 
					
						
							|  |  |  | Root: HKCR; Subkey: "{#MyAppName}multidata\shell\open\command";  ValueData: """{app}\ArchipelagoServer.exe"" ""%1""";                ValueType: string;  ValueName: ""; | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2024-06-06 01:36:02 +02:00
										 |  |  | Root: HKCR; Subkey: ".apworld";                                 ValueData: "{#MyAppName}worlddata";  Flags: uninsdeletevalue; ValueType: string;  ValueName: ""; | 
					
						
							|  |  |  | Root: HKCR; Subkey: "{#MyAppName}worlddata";                    ValueData: "Archipelago World Data"; Flags: uninsdeletekey;   ValueType: string;  ValueName: ""; | 
					
						
							|  |  |  | Root: HKCR; Subkey: "{#MyAppName}worlddata\DefaultIcon";        ValueData: "{app}\ArchipelagoLauncher.exe,0";                 ValueType: string;  ValueName: ""; | 
					
						
							| 
									
										
										
										
											2024-06-25 11:15:12 -07:00
										 |  |  | Root: HKCR; Subkey: "{#MyAppName}worlddata\shell\open\command"; ValueData: """{app}\ArchipelagoLauncher.exe"" ""%1""";        ValueType: string;  ValueName: ""; | 
					
						
							| 
									
										
										
										
											2024-06-06 01:36:02 +02:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2023-10-23 22:07:24 +02:00
										 |  |  | Root: HKCR; Subkey: "archipelago"; ValueType: "string"; ValueData: "Archipegalo Protocol"; Flags: uninsdeletekey; | 
					
						
							|  |  |  | Root: HKCR; Subkey: "archipelago"; ValueType: "string"; ValueName: "URL Protocol"; ValueData: ""; | 
					
						
							| 
									
										
										
										
											2024-09-07 17:03:04 -05:00
										 |  |  | Root: HKCR; Subkey: "archipelago\DefaultIcon"; ValueType: "string"; ValueData: "{app}\ArchipelagoLauncher.exe,0"; | 
					
						
							|  |  |  | Root: HKCR; Subkey: "archipelago\shell\open\command"; ValueType: "string"; ValueData: """{app}\ArchipelagoLauncher.exe"" ""%1"""; | 
					
						
							| 
									
										
										
										
											2021-11-04 16:48:02 +01:00
										 |  |  | 
 | 
					
						
							|  |  |  | [Code] | 
					
						
							|  |  |  | // See: https://stackoverflow.com/a/51614652/2287576 | 
					
						
							|  |  |  | function IsVCRedist64BitNeeded(): boolean; | 
					
						
							|  |  |  | var | 
					
						
							|  |  |  |   strVersion: string; | 
					
						
							|  |  |  | begin | 
					
						
							|  |  |  |   if (RegQueryStringValue(HKEY_LOCAL_MACHINE, | 
					
						
							|  |  |  |     'SOFTWARE\Microsoft\VisualStudio\14.0\VC\Runtimes\x64', 'Version', strVersion)) then | 
					
						
							|  |  |  |   begin | 
					
						
							|  |  |  |     // Is the installed version at least the packaged one ? | 
					
						
							|  |  |  |     Log('VC Redist x64 Version : found ' + strVersion); | 
					
						
							| 
									
										
										
										
											2024-01-18 01:52:33 +01:00
										 |  |  |     Result := (CompareStr(strVersion, 'v14.38.33130') < 0); | 
					
						
							| 
									
										
										
										
											2021-11-04 16:48:02 +01:00
										 |  |  |   end | 
					
						
							|  |  |  |   else | 
					
						
							|  |  |  |   begin | 
					
						
							|  |  |  |     // Not even an old version installed | 
					
						
							|  |  |  |     Log('VC Redist x64 is not already installed'); | 
					
						
							|  |  |  |     Result := True; | 
					
						
							|  |  |  |   end; | 
					
						
							|  |  |  | end; | 
					
						
							| 
									
										
										
										
											2025-04-24 08:50:34 +02:00
										 |  |  | 
 | 
					
						
							|  |  |  | function ShouldShowDeleteLibTask: Boolean; | 
					
						
							|  |  |  | begin | 
					
						
							|  |  |  |   Result := DirExists(ExpandConstant('{app}\lib')); | 
					
						
							|  |  |  | end; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | procedure CurStepChanged(CurStep: TSetupStep); | 
					
						
							|  |  |  | begin | 
					
						
							|  |  |  |   if CurStep = ssInstall then | 
					
						
							|  |  |  |   begin | 
					
						
							|  |  |  |     if WizardIsTaskSelected('deletelib') then | 
					
						
							|  |  |  |       DelTree(ExpandConstant('{app}\lib'), True, True, True); | 
					
						
							|  |  |  |   end; | 
					
						
							|  |  |  | end; |