diff --git a/build.gradle b/build.gradle index 319cefa4f..38a94e3f3 100644 --- a/build.gradle +++ b/build.gradle @@ -104,40 +104,6 @@ jar { archiveFileName = 'Legup.jar' } -/* - * CREATES NATIVE WINDOWS EXECUTABLE - * Launches launch4j to create an executable (.exe) file wrapping the jar - * THIS IS NOT THE INSTALLER - * Add "icon = 'path/to/icon.ico'" to set an icon for the executable - */ -createExe() { - mainClassName = 'edu.rpi.legup.Legup' - outputDir = '../native/windows' - outfile = 'bin/Legup.exe' - bundledJrePath = 'jre' - bundledJre64Bit = true - jdkPreference = 'preferJre' - jreMinVersion = '21' - jreRuntimeBits = '64/32' -} - -/* - * CREATES NATIVE WINDOWS INSTALLER -- ONLY RUNS ON WINDOWS - * Runs the shipped version of Inno Setup (6.2) to compile the installer - * Modify the setup settings in native/windows/legup_inno_setup.iss - * - * Modifications are likely required to run the setup script on your computer: - * Edit the "CHANGE ME" line in native/windows/legup_inno_setup.iss to reflect - * the path to the Java installation you want to ship inside the executable. - */ -task buildNativeWindows(type: Exec, dependsOn: 'createExe') { - jar - createExe - - workingDir = "${buildDir}/../native/windows" - commandLine 'cmd', '/c', 'make_windows_installer.bat' -} - repositories { mavenCentral() } diff --git a/native/linux/.keep b/native/linux/.keep deleted file mode 100644 index e69de29bb..000000000 diff --git a/native/macos/.keep b/native/macos/.keep deleted file mode 100644 index e69de29bb..000000000 diff --git a/native/windows/OLD_inno_setup.iss b/native/windows/OLD_inno_setup.iss deleted file mode 100644 index 528b0b660..000000000 --- a/native/windows/OLD_inno_setup.iss +++ /dev/null @@ -1,53 +0,0 @@ -; Script generated by the Inno Setup Script Wizard. -; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES! - -#define MyAppName "Legup" -#define MyAppVersion "2.0" -#define MyAppPublisher "Bram, Inc." -#define MyAppURL "https://github.com/jpoegs/legup2.0" -#define MyAppExeName "Legup.jar" - -[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={{C1DFC564-DE07-4A5D-BF85-DDCF514B57BA} -AppName={#MyAppName} -AppVersion={#MyAppVersion} -;AppVerName={#MyAppName} {#MyAppVersion} -AppPublisher={#MyAppPublisher} -AppPublisherURL={#MyAppURL} -AppSupportURL={#MyAppURL} -AppUpdatesURL={#MyAppURL} -DefaultDirName={pf}\{#MyAppName} -DisableProgramGroupPage=yes -OutputBaseFilename=setup -Compression=lzma -SolidCompression=yes -ChangesAssociations=yes - -[Languages] -Name: "english"; MessagesFile: "compiler:Default.isl" - -[Tasks] -Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked -Name: "quicklaunchicon"; Description: "{cm:CreateQuickLaunchIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked; OnlyBelowVersion: 0,6.1 - -[Files] -Source: "D:\GitHub\Legup\build\libs\Legup.jar"; DestDir: "{app}"; Flags: ignoreversion -; NOTE: Don't use "Flags: ignoreversion" on any shared system files - -[Icons] -Name: "{commonprograms}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}" -Name: "{commondesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon -Name: "{userappdata}\Microsoft\Internet Explorer\Quick Launch\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: quicklaunchicon - -[Run] -Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: shellexec postinstall skipifsilent - -[Registry] - -Root: HKCR; Subkey: ".legup"; ValueData: "{#MyAppName}"; Flags: uninsdeletevalue; ValueType: string; ValueName: "" -Root: HKCR; Subkey: "{#MyAppName}"; ValueData: "{#MyAppName}"; Flags: uninsdeletekey; ValueType: string; ValueName: "" -Root: HKCR; Subkey: "{#MyAppName}\DefaultIcon"; ValueData: "{app}\{#MyAppExeName},0"; ValueType: string; ValueName: "" -Root: HKCR; Subkey: "{#MyAppName}\shell\open\command"; ValueData: """{app}\{#MyAppExeName}"" ""%1"""; ValueType: string; ValueName: "" \ No newline at end of file diff --git a/native/windows/inno-setup/Compil32.exe b/native/windows/inno-setup/Compil32.exe deleted file mode 100644 index 544993108..000000000 Binary files a/native/windows/inno-setup/Compil32.exe and /dev/null differ diff --git a/native/windows/inno-setup/Default.isl b/native/windows/inno-setup/Default.isl deleted file mode 100644 index ce9b70e2e..000000000 --- a/native/windows/inno-setup/Default.isl +++ /dev/null @@ -1,384 +0,0 @@ -; *** Inno Setup version 6.1.0+ English messages *** -; -; To download user-contributed translations of this file, go to: -; https://jrsoftware.org/files/istrans/ -; -; Note: When translating this text, do not add periods (.) to the end of -; messages that didn't have them already, because on those messages Inno -; Setup adds the periods automatically (appending a period would result in -; two periods being displayed). - -[LangOptions] -; The following three entries are very important. Be sure to read and -; understand the '[LangOptions] section' topic in the help file. -LanguageName=English -LanguageID=$0409 -LanguageCodePage=0 -; If the language you are translating to requires special font faces or -; sizes, uncomment any of the following entries and change them accordingly. -;DialogFontName= -;DialogFontSize=8 -;WelcomeFontName=Verdana -;WelcomeFontSize=12 -;TitleFontName=Arial -;TitleFontSize=29 -;CopyrightFontName=Arial -;CopyrightFontSize=8 - -[Messages] - -; *** Application titles -SetupAppTitle=Setup -SetupWindowTitle=Setup - %1 -UninstallAppTitle=Uninstall -UninstallAppFullTitle=%1 Uninstall - -; *** Misc. common -InformationTitle=Information -ConfirmTitle=Confirm -ErrorTitle=Error - -; *** SetupLdr messages -SetupLdrStartupMessage=This will install %1. Do you wish to continue? -LdrCannotCreateTemp=Unable to create a temporary file. Setup aborted -LdrCannotExecTemp=Unable to execute file in the temporary directory. Setup aborted -HelpTextNote= - -; *** Startup error messages -LastErrorMessage=%1.%n%nError %2: %3 -SetupFileMissing=The file %1 is missing from the installation directory. Please correct the problem or obtain a new copy of the program. -SetupFileCorrupt=The setup files are corrupted. Please obtain a new copy of the program. -SetupFileCorruptOrWrongVer=The setup files are corrupted, or are incompatible with this version of Setup. Please correct the problem or obtain a new copy of the program. -InvalidParameter=An invalid parameter was passed on the command line:%n%n%1 -SetupAlreadyRunning=Setup is already running. -WindowsVersionNotSupported=This program does not support the version of Windows your computer is running. -WindowsServicePackRequired=This program requires %1 Service Pack %2 or later. -NotOnThisPlatform=This program will not run on %1. -OnlyOnThisPlatform=This program must be run on %1. -OnlyOnTheseArchitectures=This program can only be installed on versions of Windows designed for the following processor architectures:%n%n%1 -WinVersionTooLowError=This program requires %1 version %2 or later. -WinVersionTooHighError=This program cannot be installed on %1 version %2 or later. -AdminPrivilegesRequired=You must be logged in as an administrator when installing this program. -PowerUserPrivilegesRequired=You must be logged in as an administrator or as a member of the Power Users group when installing this program. -SetupAppRunningError=Setup has detected that %1 is currently running.%n%nPlease close all instances of it now, then click OK to continue, or Cancel to exit. -UninstallAppRunningError=Uninstall has detected that %1 is currently running.%n%nPlease close all instances of it now, then click OK to continue, or Cancel to exit. - -; *** Startup questions -PrivilegesRequiredOverrideTitle=Select Setup Install Mode -PrivilegesRequiredOverrideInstruction=Select install mode -PrivilegesRequiredOverrideText1=%1 can be installed for all users (requires administrative privileges), or for you only. -PrivilegesRequiredOverrideText2=%1 can be installed for you only, or for all users (requires administrative privileges). -PrivilegesRequiredOverrideAllUsers=Install for &all users -PrivilegesRequiredOverrideAllUsersRecommended=Install for &all users (recommended) -PrivilegesRequiredOverrideCurrentUser=Install for &me only -PrivilegesRequiredOverrideCurrentUserRecommended=Install for &me only (recommended) - -; *** Misc. errors -ErrorCreatingDir=Setup was unable to create the directory "%1" -ErrorTooManyFilesInDir=Unable to create a file in the directory "%1" because it contains too many files - -; *** Setup common messages -ExitSetupTitle=Exit Setup -ExitSetupMessage=Setup is not complete. If you exit now, the program will not be installed.%n%nYou may run Setup again at another time to complete the installation.%n%nExit Setup? -AboutSetupMenuItem=&About Setup... -AboutSetupTitle=About Setup -AboutSetupMessage=%1 version %2%n%3%n%n%1 home page:%n%4 -AboutSetupNote= -TranslatorNote= - -; *** Buttons -ButtonBack=< &Back -ButtonNext=&Next > -ButtonInstall=&Install -ButtonOK=OK -ButtonCancel=Cancel -ButtonYes=&Yes -ButtonYesToAll=Yes to &All -ButtonNo=&No -ButtonNoToAll=N&o to All -ButtonFinish=&Finish -ButtonBrowse=&Browse... -ButtonWizardBrowse=B&rowse... -ButtonNewFolder=&Make New Folder - -; *** "Select Language" dialog messages -SelectLanguageTitle=Select Setup Language -SelectLanguageLabel=Select the language to use during the installation. - -; *** Common wizard text -ClickNext=Click Next to continue, or Cancel to exit Setup. -BeveledLabel= -BrowseDialogTitle=Browse For Folder -BrowseDialogLabel=Select a folder in the list below, then click OK. -NewFolderName=New Folder - -; *** "Welcome" wizard page -WelcomeLabel1=Welcome to the [name] Setup Wizard -WelcomeLabel2=This will install [name/ver] on your computer.%n%nIt is recommended that you close all other applications before continuing. - -; *** "Password" wizard page -WizardPassword=Password -PasswordLabel1=This installation is password protected. -PasswordLabel3=Please provide the password, then click Next to continue. Passwords are case-sensitive. -PasswordEditLabel=&Password: -IncorrectPassword=The password you entered is not correct. Please try again. - -; *** "License Agreement" wizard page -WizardLicense=License Agreement -LicenseLabel=Please read the following important information before continuing. -LicenseLabel3=Please read the following License Agreement. You must accept the terms of this agreement before continuing with the installation. -LicenseAccepted=I &accept the agreement -LicenseNotAccepted=I &do not accept the agreement - -; *** "Information" wizard pages -WizardInfoBefore=Information -InfoBeforeLabel=Please read the following important information before continuing. -InfoBeforeClickLabel=When you are ready to continue with Setup, click Next. -WizardInfoAfter=Information -InfoAfterLabel=Please read the following important information before continuing. -InfoAfterClickLabel=When you are ready to continue with Setup, click Next. - -; *** "User Information" wizard page -WizardUserInfo=User Information -UserInfoDesc=Please enter your information. -UserInfoName=&User Name: -UserInfoOrg=&Organization: -UserInfoSerial=&Serial Number: -UserInfoNameRequired=You must enter a name. - -; *** "Select Destination Location" wizard page -WizardSelectDir=Select Destination Location -SelectDirDesc=Where should [name] be installed? -SelectDirLabel3=Setup will install [name] into the following folder. -SelectDirBrowseLabel=To continue, click Next. If you would like to select a different folder, click Browse. -DiskSpaceGBLabel=At least [gb] GB of free disk space is required. -DiskSpaceMBLabel=At least [mb] MB of free disk space is required. -CannotInstallToNetworkDrive=Setup cannot install to a network drive. -CannotInstallToUNCPath=Setup cannot install to a UNC path. -InvalidPath=You must enter a full path with drive letter; for example:%n%nC:\APP%n%nor a UNC path in the form:%n%n\\server\share -InvalidDrive=The drive or UNC share you selected does not exist or is not accessible. Please select another. -DiskSpaceWarningTitle=Not Enough Disk Space -DiskSpaceWarning=Setup requires at least %1 KB of free space to install, but the selected drive only has %2 KB available.%n%nDo you want to continue anyway? -DirNameTooLong=The folder name or path is too long. -InvalidDirName=The folder name is not valid. -BadDirName32=Folder names cannot include any of the following characters:%n%n%1 -DirExistsTitle=Folder Exists -DirExists=The folder:%n%n%1%n%nalready exists. Would you like to install to that folder anyway? -DirDoesntExistTitle=Folder Does Not Exist -DirDoesntExist=The folder:%n%n%1%n%ndoes not exist. Would you like the folder to be created? - -; *** "Select Components" wizard page -WizardSelectComponents=Select Components -SelectComponentsDesc=Which components should be installed? -SelectComponentsLabel2=Select the components you want to install; clear the components you do not want to install. Click Next when you are ready to continue. -FullInstallation=Full installation -; if possible don't translate 'Compact' as 'Minimal' (I mean 'Minimal' in your language) -CompactInstallation=Compact installation -CustomInstallation=Custom installation -NoUninstallWarningTitle=Components Exist -NoUninstallWarning=Setup has detected that the following components are already installed on your computer:%n%n%1%n%nDeselecting these components will not uninstall them.%n%nWould you like to continue anyway? -ComponentSize1=%1 KB -ComponentSize2=%1 MB -ComponentsDiskSpaceGBLabel=Current selection requires at least [gb] GB of disk space. -ComponentsDiskSpaceMBLabel=Current selection requires at least [mb] MB of disk space. - -; *** "Select Additional Tasks" wizard page -WizardSelectTasks=Select Additional Tasks -SelectTasksDesc=Which additional tasks should be performed? -SelectTasksLabel2=Select the additional tasks you would like Setup to perform while installing [name], then click Next. - -; *** "Select Start Menu Folder" wizard page -WizardSelectProgramGroup=Select Start Menu Folder -SelectStartMenuFolderDesc=Where should Setup place the program's shortcuts? -SelectStartMenuFolderLabel3=Setup will create the program's shortcuts in the following Start Menu folder. -SelectStartMenuFolderBrowseLabel=To continue, click Next. If you would like to select a different folder, click Browse. -MustEnterGroupName=You must enter a folder name. -GroupNameTooLong=The folder name or path is too long. -InvalidGroupName=The folder name is not valid. -BadGroupName=The folder name cannot include any of the following characters:%n%n%1 -NoProgramGroupCheck2=&Don't create a Start Menu folder - -; *** "Ready to Install" wizard page -WizardReady=Ready to Install -ReadyLabel1=Setup is now ready to begin installing [name] on your computer. -ReadyLabel2a=Click Install to continue with the installation, or click Back if you want to review or change any settings. -ReadyLabel2b=Click Install to continue with the installation. -ReadyMemoUserInfo=User information: -ReadyMemoDir=Destination location: -ReadyMemoType=Setup type: -ReadyMemoComponents=Selected components: -ReadyMemoGroup=Start Menu folder: -ReadyMemoTasks=Additional tasks: - -; *** TDownloadWizardPage wizard page and DownloadTemporaryFile -DownloadingLabel=Downloading additional files... -ButtonStopDownload=&Stop download -StopDownload=Are you sure you want to stop the download? -ErrorDownloadAborted=Download aborted -ErrorDownloadFailed=Download failed: %1 %2 -ErrorDownloadSizeFailed=Getting size failed: %1 %2 -ErrorFileHash1=File hash failed: %1 -ErrorFileHash2=Invalid file hash: expected %1, found %2 -ErrorProgress=Invalid progress: %1 of %2 -ErrorFileSize=Invalid file size: expected %1, found %2 - -; *** "Preparing to Install" wizard page -WizardPreparing=Preparing to Install -PreparingDesc=Setup is preparing to install [name] on your computer. -PreviousInstallNotCompleted=The installation/removal of a previous program was not completed. You will need to restart your computer to complete that installation.%n%nAfter restarting your computer, run Setup again to complete the installation of [name]. -CannotContinue=Setup cannot continue. Please click Cancel to exit. -ApplicationsFound=The following applications are using files that need to be updated by Setup. It is recommended that you allow Setup to automatically close these applications. -ApplicationsFound2=The following applications are using files that need to be updated by Setup. It is recommended that you allow Setup to automatically close these applications. After the installation has completed, Setup will attempt to restart the applications. -CloseApplications=&Automatically close the applications -DontCloseApplications=&Do not close the applications -ErrorCloseApplications=Setup was unable to automatically close all applications. It is recommended that you close all applications using files that need to be updated by Setup before continuing. -PrepareToInstallNeedsRestart=Setup must restart your computer. After restarting your computer, run Setup again to complete the installation of [name].%n%nWould you like to restart now? - -; *** "Installing" wizard page -WizardInstalling=Installing -InstallingLabel=Please wait while Setup installs [name] on your computer. - -; *** "Setup Completed" wizard page -FinishedHeadingLabel=Completing the [name] Setup Wizard -FinishedLabelNoIcons=Setup has finished installing [name] on your computer. -FinishedLabel=Setup has finished installing [name] on your computer. The application may be launched by selecting the installed shortcuts. -ClickFinish=Click Finish to exit Setup. -FinishedRestartLabel=To complete the installation of [name], Setup must restart your computer. Would you like to restart now? -FinishedRestartMessage=To complete the installation of [name], Setup must restart your computer.%n%nWould you like to restart now? -ShowReadmeCheck=Yes, I would like to view the README file -YesRadio=&Yes, restart the computer now -NoRadio=&No, I will restart the computer later -; used for example as 'Run MyProg.exe' -RunEntryExec=Run %1 -; used for example as 'View Readme.txt' -RunEntryShellExec=View %1 - -; *** "Setup Needs the Next Disk" stuff -ChangeDiskTitle=Setup Needs the Next Disk -SelectDiskLabel2=Please insert Disk %1 and click OK.%n%nIf the files on this disk can be found in a folder other than the one displayed below, enter the correct path or click Browse. -PathLabel=&Path: -FileNotInDir2=The file "%1" could not be located in "%2". Please insert the correct disk or select another folder. -SelectDirectoryLabel=Please specify the location of the next disk. - -; *** Installation phase messages -SetupAborted=Setup was not completed.%n%nPlease correct the problem and run Setup again. -AbortRetryIgnoreSelectAction=Select action -AbortRetryIgnoreRetry=&Try again -AbortRetryIgnoreIgnore=&Ignore the error and continue -AbortRetryIgnoreCancel=Cancel installation - -; *** Installation status messages -StatusClosingApplications=Closing applications... -StatusCreateDirs=Creating directories... -StatusExtractFiles=Extracting files... -StatusCreateIcons=Creating shortcuts... -StatusCreateIniEntries=Creating INI entries... -StatusCreateRegistryEntries=Creating registry entries... -StatusRegisterFiles=Registering files... -StatusSavingUninstall=Saving uninstall information... -StatusRunProgram=Finishing installation... -StatusRestartingApplications=Restarting applications... -StatusRollback=Rolling back changes... - -; *** Misc. errors -ErrorInternal2=Internal error: %1 -ErrorFunctionFailedNoCode=%1 failed -ErrorFunctionFailed=%1 failed; code %2 -ErrorFunctionFailedWithMessage=%1 failed; code %2.%n%3 -ErrorExecutingProgram=Unable to execute file:%n%1 - -; *** Registry errors -ErrorRegOpenKey=Error opening registry key:%n%1\%2 -ErrorRegCreateKey=Error creating registry key:%n%1\%2 -ErrorRegWriteKey=Error writing to registry key:%n%1\%2 - -; *** INI errors -ErrorIniEntry=Error creating INI entry in file "%1". - -; *** File copying errors -FileAbortRetryIgnoreSkipNotRecommended=&Skip this file (not recommended) -FileAbortRetryIgnoreIgnoreNotRecommended=&Ignore the error and continue (not recommended) -SourceIsCorrupted=The source file is corrupted -SourceDoesntExist=The source file "%1" does not exist -ExistingFileReadOnly2=The existing file could not be replaced because it is marked read-only. -ExistingFileReadOnlyRetry=&Remove the read-only attribute and try again -ExistingFileReadOnlyKeepExisting=&Keep the existing file -ErrorReadingExistingDest=An error occurred while trying to read the existing file: -FileExistsSelectAction=Select action -FileExists2=The file already exists. -FileExistsOverwriteExisting=&Overwrite the existing file -FileExistsKeepExisting=&Keep the existing file -FileExistsOverwriteOrKeepAll=&Do this for the next conflicts -ExistingFileNewerSelectAction=Select action -ExistingFileNewer2=The existing file is newer than the one Setup is trying to install. -ExistingFileNewerOverwriteExisting=&Overwrite the existing file -ExistingFileNewerKeepExisting=&Keep the existing file (recommended) -ExistingFileNewerOverwriteOrKeepAll=&Do this for the next conflicts -ErrorChangingAttr=An error occurred while trying to change the attributes of the existing file: -ErrorCreatingTemp=An error occurred while trying to create a file in the destination directory: -ErrorReadingSource=An error occurred while trying to read the source file: -ErrorCopying=An error occurred while trying to copy a file: -ErrorReplacingExistingFile=An error occurred while trying to replace the existing file: -ErrorRestartReplace=RestartReplace failed: -ErrorRenamingTemp=An error occurred while trying to rename a file in the destination directory: -ErrorRegisterServer=Unable to register the DLL/OCX: %1 -ErrorRegSvr32Failed=RegSvr32 failed with exit code %1 -ErrorRegisterTypeLib=Unable to register the type library: %1 - -; *** Uninstall display name markings -; used for example as 'My Program (32-bit)' -UninstallDisplayNameMark=%1 (%2) -; used for example as 'My Program (32-bit, All users)' -UninstallDisplayNameMarks=%1 (%2, %3) -UninstallDisplayNameMark32Bit=32-bit -UninstallDisplayNameMark64Bit=64-bit -UninstallDisplayNameMarkAllUsers=All users -UninstallDisplayNameMarkCurrentUser=Current user - -; *** Post-installation errors -ErrorOpeningReadme=An error occurred while trying to open the README file. -ErrorRestartingComputer=Setup was unable to restart the computer. Please do this manually. - -; *** Uninstaller messages -UninstallNotFound=File "%1" does not exist. Cannot uninstall. -UninstallOpenError=File "%1" could not be opened. Cannot uninstall -UninstallUnsupportedVer=The uninstall log file "%1" is in a format not recognized by this version of the uninstaller. Cannot uninstall -UninstallUnknownEntry=An unknown entry (%1) was encountered in the uninstall log -ConfirmUninstall=Are you sure you want to completely remove %1 and all of its components? -UninstallOnlyOnWin64=This installation can only be uninstalled on 64-bit Windows. -OnlyAdminCanUninstall=This installation can only be uninstalled by a user with administrative privileges. -UninstallStatusLabel=Please wait while %1 is removed from your computer. -UninstalledAll=%1 was successfully removed from your computer. -UninstalledMost=%1 uninstall complete.%n%nSome elements could not be removed. These can be removed manually. -UninstalledAndNeedsRestart=To complete the uninstallation of %1, your computer must be restarted.%n%nWould you like to restart now? -UninstallDataCorrupted="%1" file is corrupted. Cannot uninstall - -; *** Uninstallation phase messages -ConfirmDeleteSharedFileTitle=Remove Shared File? -ConfirmDeleteSharedFile2=The system indicates that the following shared file is no longer in use by any programs. Would you like for Uninstall to remove this shared file?%n%nIf any programs are still using this file and it is removed, those programs may not function properly. If you are unsure, choose No. Leaving the file on your system will not cause any harm. -SharedFileNameLabel=File name: -SharedFileLocationLabel=Location: -WizardUninstalling=Uninstall Status -StatusUninstalling=Uninstalling %1... - -; *** Shutdown block reasons -ShutdownBlockReasonInstallingApp=Installing %1. -ShutdownBlockReasonUninstallingApp=Uninstalling %1. - -; The custom messages below aren't used by Setup itself, but if you make -; use of them in your scripts, you'll want to translate them. - -[CustomMessages] - -NameAndVersion=%1 version %2 -AdditionalIcons=Additional shortcuts: -CreateDesktopIcon=Create a &desktop shortcut -CreateQuickLaunchIcon=Create a &Quick Launch shortcut -ProgramOnTheWeb=%1 on the Web -UninstallProgram=Uninstall %1 -LaunchProgram=Launch %1 -AssocFileExtension=&Associate %1 with the %2 file extension -AssocingFileExtension=Associating %1 with the %2 file extension... -AutoStartProgramGroupDescription=Startup: -AutoStartProgram=Automatically start %1 -AddonHostProgramNotFound=%1 could not be located in the folder you selected.%n%nDo you want to continue anyway? diff --git a/native/windows/inno-setup/ISCC.exe b/native/windows/inno-setup/ISCC.exe deleted file mode 100644 index acca24fc5..000000000 Binary files a/native/windows/inno-setup/ISCC.exe and /dev/null differ diff --git a/native/windows/inno-setup/ISCmplr.dll b/native/windows/inno-setup/ISCmplr.dll deleted file mode 100644 index d44589666..000000000 Binary files a/native/windows/inno-setup/ISCmplr.dll and /dev/null differ diff --git a/native/windows/inno-setup/ISPP.chm b/native/windows/inno-setup/ISPP.chm deleted file mode 100644 index 1b211d649..000000000 Binary files a/native/windows/inno-setup/ISPP.chm and /dev/null differ diff --git a/native/windows/inno-setup/ISPP.dll b/native/windows/inno-setup/ISPP.dll deleted file mode 100644 index 4ce5cb657..000000000 Binary files a/native/windows/inno-setup/ISPP.dll and /dev/null differ diff --git a/native/windows/inno-setup/ISPPBuiltins.iss b/native/windows/inno-setup/ISPPBuiltins.iss deleted file mode 100644 index d42d7e97f..000000000 --- a/native/windows/inno-setup/ISPPBuiltins.iss +++ /dev/null @@ -1,323 +0,0 @@ -// Inno Setup Preprocessor -// -// Inno Setup (C) 1997-2021 Jordan Russell. All Rights Reserved. -// Portions Copyright (C) 2000-2021 Martijn Laan. All Rights Reserved. -// Portions Copyright (C) 2001-2004 Alex Yackimoff. All Rights Reserved. -// -// See the ISPP help file for more documentation of the functions defined by this file -// -#if defined(ISPP_INVOKED) && !defined(_BUILTINS_ISS_) -// -#if PREPROCVER < 0x01000000 -# error Inno Setup Preprocessor version is outdated -#endif -// -#define _BUILTINS_ISS_ -// -#ifdef __OPT_E__ -# define private EnableOptE -# pragma option -e- -#endif - -#ifndef __POPT_P__ -# define private DisablePOptP -#else -# pragma parseroption -p- -#endif - -#define NewLine "\n" -#define Tab "\t" - -#pragma parseroption -p+ - -#pragma spansymbol "\" - -#define True 1 -#define False 0 -#define Yes True -#define No False - -#define MaxInt 0x7FFFFFFFFFFFFFFFL -#define MinInt 0x8000000000000000L - -#define NULL -#define void - -// TypeOf constants - -#define TYPE_ERROR 0 -#define TYPE_NULL 1 -#define TYPE_INTEGER 2 -#define TYPE_STRING 3 -#define TYPE_MACRO 4 -#define TYPE_FUNC 5 -#define TYPE_ARRAY 6 - -// Helper macro to find out the type of an array element or expression. TypeOf -// standard function only allows identifier as its parameter. Use this macro -// to convert an expression to identifier. - -#define TypeOf2(any Expr) TypeOf(Expr) - -// ReadReg constants - -#define HKEY_CLASSES_ROOT 0x80000000UL -#define HKEY_CURRENT_USER 0x80000001UL -#define HKEY_LOCAL_MACHINE 0x80000002UL -#define HKEY_USERS 0x80000003UL -#define HKEY_CURRENT_CONFIG 0x80000005UL -#define HKEY_CLASSES_ROOT_64 0x82000000UL -#define HKEY_CURRENT_USER_64 0x82000001UL -#define HKEY_LOCAL_MACHINE_64 0x82000002UL -#define HKEY_USERS_64 0x82000003UL -#define HKEY_CURRENT_CONFIG_64 0x82000005UL - -#define HKCR HKEY_CLASSES_ROOT -#define HKCU HKEY_CURRENT_USER -#define HKLM HKEY_LOCAL_MACHINE -#define HKU HKEY_USERS -#define HKCC HKEY_CURRENT_CONFIG -#define HKCR64 HKEY_CLASSES_ROOT_64 -#define HKCU64 HKEY_CURRENT_USER_64 -#define HKLM64 HKEY_LOCAL_MACHINE_64 -#define HKU64 HKEY_USERS_64 -#define HKCC64 HKEY_CURRENT_CONFIG_64 - -// Exec constants - -#define SW_HIDE 0 -#define SW_SHOWNORMAL 1 -#define SW_NORMAL 1 -#define SW_SHOWMINIMIZED 2 -#define SW_SHOWMAXIMIZED 3 -#define SW_MAXIMIZE 3 -#define SW_SHOWNOACTIVATE 4 -#define SW_SHOW 5 -#define SW_MINIMIZE 6 -#define SW_SHOWMINNOACTIVE 7 -#define SW_SHOWNA 8 -#define SW_RESTORE 9 -#define SW_SHOWDEFAULT 10 -#define SW_MAX 10 - -// Find constants - -#define FIND_MATCH 0x00 -#define FIND_BEGINS 0x01 -#define FIND_ENDS 0x02 -#define FIND_CONTAINS 0x03 -#define FIND_CASESENSITIVE 0x04 -#define FIND_SENSITIVE FIND_CASESENSITIVE -#define FIND_AND 0x00 -#define FIND_OR 0x08 -#define FIND_NOT 0x10 -#define FIND_TRIM 0x20 - -// FindFirst constants - -#define faReadOnly 0x00000001 -#define faHidden 0x00000002 -#define faSysFile 0x00000004 -#define faVolumeID 0x00000008 -#define faDirectory 0x00000010 -#define faArchive 0x00000020 -#define faSymLink 0x00000040 -#define faAnyFile 0x0000003F - -// GetStringFileInfo standard names - -#define COMPANY_NAME "CompanyName" -#define FILE_DESCRIPTION "FileDescription" -#define FILE_VERSION "FileVersion" -#define INTERNAL_NAME "InternalName" -#define LEGAL_COPYRIGHT "LegalCopyright" -#define ORIGINAL_FILENAME "OriginalFilename" -#define PRODUCT_NAME "ProductName" -#define PRODUCT_VERSION "ProductVersion" - -// GetStringFileInfo helpers - -#define GetFileCompany(str FileName) GetStringFileInfo(FileName, COMPANY_NAME) -#define GetFileDescription(str FileName) GetStringFileInfo(FileName, FILE_DESCRIPTION) -#define GetFileVersionString(str FileName) GetStringFileInfo(FileName, FILE_VERSION) -#define GetFileCopyright(str FileName) GetStringFileInfo(FileName, LEGAL_COPYRIGHT) -#define GetFileOriginalFilename(str FileName) GetStringFileInfo(FileName, ORIGINAL_FILENAME) -#define GetFileProductVersion(str FileName) GetStringFileInfo(FileName, PRODUCT_VERSION) - -#define DeleteToFirstPeriod(str *S) \ - Local[1] = Copy(S, 1, (Local[0] = Pos(".", S)) - 1), \ - S = Copy(S, Local[0] + 1), \ - Local[1] - -#define GetVersionComponents(str FileName, *Major, *Minor, *Rev, *Build) \ - Local[1] = Local[0] = GetVersionNumbersString(FileName), \ - Local[1] == "" ? "" : ( \ - Major = Int(DeleteToFirstPeriod(Local[1])), \ - Minor = Int(DeleteToFirstPeriod(Local[1])), \ - Rev = Int(DeleteToFirstPeriod(Local[1])), \ - Build = Int(Local[1]), \ - Local[0]) - -#define GetPackedVersion(str FileName, *Version) \ - Local[0] = GetVersionComponents(FileName, Local[1], Local[2], Local[3], Local[4]), \ - Version = PackVersionComponents(Local[1], Local[2], Local[3], Local[4]), \ - Local[0] - -#define GetVersionNumbers(str FileName, *MS, *LS) \ - Local[0] = GetPackedVersion(FileName, Local[1]), \ - UnpackVersionNumbers(Local[1], MS, LS), \ - Local[0] - -#define PackVersionNumbers(int VersionMS, int VersionLS) \ - VersionMS << 32 | (VersionLS & 0xFFFFFFFF) - -#define PackVersionComponents(int Major, int Minor, int Rev, int Build) \ - Major << 48 | (Minor & 0xFFFF) << 32 | (Rev & 0xFFFF) << 16 | (Build & 0xFFFF) - -#define UnpackVersionNumbers(int Version, *VersionMS, *VersionLS) \ - VersionMS = Version >> 32, \ - VersionLS = Version & 0xFFFFFFFF, \ - void - -#define UnpackVersionComponents(int Version, *Major, *Minor, *Rev, *Build) \ - Major = Version >> 48, \ - Minor = (Version >> 32) & 0xFFFF, \ - Rev = (Version >> 16) & 0xFFFF, \ - Build = Version & 0xFFFF, \ - void - -#define VersionToStr(int Version) \ - Str(Version >> 48 & 0xFFFF) + "." + Str(Version >> 32 & 0xFFFF) + "." + \ - Str(Version >> 16 & 0xFFFF) + "." + Str(Version & 0xFFFF) - -#define StrToVersion(str Version) \ - Local[0] = Version, \ - Local[1] = Int(DeleteToFirstPeriod(Local[0])), \ - Local[2] = Int(DeleteToFirstPeriod(Local[0])), \ - Local[3] = Int(DeleteToFirstPeriod(Local[0])), \ - Local[4] = Int(Local[0]), \ - PackVersionComponents(Local[1], Local[2], Local[3], Local[4]) - -#define EncodeVer(int Major, int Minor, int Revision = 0, int Build = -1) \ - (Major & 0xFF) << 24 | (Minor & 0xFF) << 16 | (Revision & 0xFF) << 8 | (Build >= 0 ? Build & 0xFF : 0) - -#define DecodeVer(int Version, int Digits = 3) \ - Str(Version >> 24 & 0xFF) + (Digits > 1 ? "." : "") + \ - (Digits > 1 ? \ - Str(Version >> 16 & 0xFF) + (Digits > 2 ? "." : "") : "") + \ - (Digits > 2 ? \ - Str(Version >> 8 & 0xFF) + (Digits > 3 && (Local = Version & 0xFF) ? "." : "") : "") + \ - (Digits > 3 && Local ? \ - Str(Version & 0xFF) : "") - -#define FindSection(str Section = "Files") \ - Find(0, "[" + Section + "]", FIND_MATCH | FIND_TRIM) + 1 - -#if VER >= 0x03000000 -# define FindNextSection(int Line) \ - Find(Line, "[", FIND_BEGINS | FIND_TRIM, "]", FIND_ENDS | FIND_AND) -# define FindSectionEnd(str Section = "Files") \ - FindNextSection(FindSection(Section)) -#else -# define FindSectionEnd(str Section = "Files") \ - FindSection(Section) + EntryCount(Section) -#endif - -#define FindCode() \ - Local[1] = FindSection("Code"), \ - Local[0] = Find(Local[1] - 1, "program", FIND_BEGINS, ";", FIND_ENDS | FIND_AND), \ - (Local[0] < 0 ? Local[1] : Local[0] + 1) - -#define ExtractFilePath(str PathName) \ - (Local[0] = \ - !(Local[1] = RPos("\", PathName)) ? \ - "" : \ - Copy(PathName, 1, Local[1] - 1)), \ - Local[0] + \ - ((Local[2] = Len(Local[0])) == 2 && Copy(Local[0], Local[2]) == ":" ? \ - "\" : \ - "") - -#define ExtractFileDir(str PathName) \ - RemoveBackslash(ExtractFilePath(PathName)) - -#define ExtractFileExt(str PathName) \ - Local[0] = RPos(".", PathName), \ - Copy(PathName, Local[0] + 1) - -#define ExtractFileName(str PathName) \ - !(Local[0] = RPos("\", PathName)) ? \ - PathName : \ - Copy(PathName, Local[0] + 1) - -#define ChangeFileExt(str FileName, str NewExt) \ - !(Local[0] = RPos(".", FileName)) ? \ - FileName + "." + NewExt : \ - Copy(FileName, 1, Local[0]) + NewExt - -#define RemoveFileExt(str FileName) \ - !(Local[0] = RPos(".", FileName)) ? \ - FileName : \ - Copy(FileName, 1, Local[0] - 1) - -#define AddBackslash(str S) \ - Copy(S, Len(S)) == "\" ? S : S + "\" - -#define RemoveBackslash(str S) \ - Local[0] = Len(S), \ - Local[0] > 0 ? \ - Copy(S, Local[0]) == "\" ? \ - (Local[0] == 3 && Copy(S, 2, 1) == ":" ? \ - S : \ - Copy(S, 1, Local[0] - 1)) : \ - S : \ - "" - -#define Delete(str *S, int Index, int Count = MaxInt) \ - S = Copy(S, 1, Index - 1) + Copy(S, Index + Count) - -#define Insert(str *S, int Index, str Substr) \ - Index > Len(S) + 1 ? \ - S : \ - S = Copy(S, 1, Index - 1) + SubStr + Copy(S, Index) - -#define YesNo(str S) \ - (S = LowerCase(S)) == "yes" || S == "true" || S == "1" - -#define IsDirSet(str SetupDirective) \ - YesNo(SetupSetting(SetupDirective)) - -#define Power(int X, int P = 2) \ - !P ? 1 : X * Power(X, P - 1) - -#define Min(int A, int B, int C = MaxInt) \ - A < B ? A < C ? Int(A) : Int(C) : Int(B) - -#define Max(int A, int B, int C = MinInt) \ - A > B ? A > C ? Int(A) : Int(C) : Int(B) - -#define SameText(str S1, str S2) \ - LowerCase(S1) == LowerCase(S2) - -#define SameStr(str S1, str S2) \ - S1 == S2 - -#define WarnRenamedVersion(str OldName, str NewName) \ - Warning("Function """ + OldName + """ has been renamed. Use """ + NewName + """ instead.") - -#define ParseVersion(str FileName, *Major, *Minor, *Rev, *Build) \ - WarnRenamedVersion("ParseVersion", "GetVersionComponents"), \ - GetVersionComponents(FileName, Major, Minor, Rev, Build) - -#define GetFileVersion(str FileName) \ - WarnRenamedVersion("GetFileVersion", "GetVersionNumbersString"), \ - GetVersionNumbersString(FileName) - -#ifdef DisablePOptP -# pragma parseroption -p- -#endif - -#ifdef EnableOptE -# pragma option -e+ -#endif -#endif \ No newline at end of file diff --git a/native/windows/inno-setup/ISetup.chm b/native/windows/inno-setup/ISetup.chm deleted file mode 100644 index 4021475e5..000000000 Binary files a/native/windows/inno-setup/ISetup.chm and /dev/null differ diff --git a/native/windows/inno-setup/LICENSE b/native/windows/inno-setup/LICENSE deleted file mode 100644 index c74bb0bdf..000000000 --- a/native/windows/inno-setup/LICENSE +++ /dev/null @@ -1,32 +0,0 @@ -Inno Setup License -================== - -Except where otherwise noted, all of the documentation and software included in the Inno Setup -package is copyrighted by Jordan Russell. - -Copyright (C) 1997-2022 Jordan Russell. All rights reserved. -Portions Copyright (C) 2000-2022 Martijn Laan. All rights reserved. - -This software is provided "as-is," without any express or implied warranty. In no event shall the -author be held liable for any damages arising from the use of this software. - -Permission is granted to anyone to use this software for any purpose, including commercial -applications, and to alter and redistribute it, provided that the following conditions are met: - -1. All redistributions of source code files must retain all copyright notices that are currently in - place, and this list of conditions without modification. - -2. All redistributions in binary form must retain all occurrences of the above copyright notice and - web site addresses that are currently in place (for example, in the About boxes). - -3. The origin of this software must not be misrepresented; you must not claim that you wrote the - original software. If you use this software to distribute a product, an acknowledgment in the - product documentation would be appreciated but is not required. - -4. Modified versions in source or binary form must be plainly marked as such, and must not be - misrepresented as being the original software. - - -Jordan Russell -jr-2020 AT jrsoftware.org -https://jrsoftware.org/ \ No newline at end of file diff --git a/native/windows/inno-setup/Setup.e32 b/native/windows/inno-setup/Setup.e32 deleted file mode 100644 index f4c7220a0..000000000 Binary files a/native/windows/inno-setup/Setup.e32 and /dev/null differ diff --git a/native/windows/inno-setup/SetupClassicIcon.ico b/native/windows/inno-setup/SetupClassicIcon.ico deleted file mode 100644 index b274e4c68..000000000 Binary files a/native/windows/inno-setup/SetupClassicIcon.ico and /dev/null differ diff --git a/native/windows/inno-setup/SetupLdr.e32 b/native/windows/inno-setup/SetupLdr.e32 deleted file mode 100644 index 50a45bdae..000000000 Binary files a/native/windows/inno-setup/SetupLdr.e32 and /dev/null differ diff --git a/native/windows/inno-setup/WizClassicImage-IS.bmp b/native/windows/inno-setup/WizClassicImage-IS.bmp deleted file mode 100644 index cf844e093..000000000 Binary files a/native/windows/inno-setup/WizClassicImage-IS.bmp and /dev/null differ diff --git a/native/windows/inno-setup/WizClassicImage.bmp b/native/windows/inno-setup/WizClassicImage.bmp deleted file mode 100644 index cb05a0632..000000000 Binary files a/native/windows/inno-setup/WizClassicImage.bmp and /dev/null differ diff --git a/native/windows/inno-setup/WizClassicSmallImage-IS.bmp b/native/windows/inno-setup/WizClassicSmallImage-IS.bmp deleted file mode 100644 index 1e8e49792..000000000 Binary files a/native/windows/inno-setup/WizClassicSmallImage-IS.bmp and /dev/null differ diff --git a/native/windows/inno-setup/WizClassicSmallImage.bmp b/native/windows/inno-setup/WizClassicSmallImage.bmp deleted file mode 100644 index 63f421040..000000000 Binary files a/native/windows/inno-setup/WizClassicSmallImage.bmp and /dev/null differ diff --git a/native/windows/inno-setup/isbunzip.dll b/native/windows/inno-setup/isbunzip.dll deleted file mode 100644 index 814e86801..000000000 Binary files a/native/windows/inno-setup/isbunzip.dll and /dev/null differ diff --git a/native/windows/inno-setup/isbzip.dll b/native/windows/inno-setup/isbzip.dll deleted file mode 100644 index 1afeefd54..000000000 Binary files a/native/windows/inno-setup/isbzip.dll and /dev/null differ diff --git a/native/windows/inno-setup/islzma.dll b/native/windows/inno-setup/islzma.dll deleted file mode 100644 index 81fd05ac6..000000000 Binary files a/native/windows/inno-setup/islzma.dll and /dev/null differ diff --git a/native/windows/inno-setup/islzma32.exe b/native/windows/inno-setup/islzma32.exe deleted file mode 100644 index 7562645e2..000000000 Binary files a/native/windows/inno-setup/islzma32.exe and /dev/null differ diff --git a/native/windows/inno-setup/islzma64.exe b/native/windows/inno-setup/islzma64.exe deleted file mode 100644 index fd58a59e0..000000000 Binary files a/native/windows/inno-setup/islzma64.exe and /dev/null differ diff --git a/native/windows/inno-setup/isscint.dll b/native/windows/inno-setup/isscint.dll deleted file mode 100644 index 5f8ef49b7..000000000 Binary files a/native/windows/inno-setup/isscint.dll and /dev/null differ diff --git a/native/windows/inno-setup/isunzlib.dll b/native/windows/inno-setup/isunzlib.dll deleted file mode 100644 index 8c4ed5101..000000000 Binary files a/native/windows/inno-setup/isunzlib.dll and /dev/null differ diff --git a/native/windows/inno-setup/iszlib.dll b/native/windows/inno-setup/iszlib.dll deleted file mode 100644 index b326e3a7d..000000000 Binary files a/native/windows/inno-setup/iszlib.dll and /dev/null differ diff --git a/native/windows/legup_inno_setup.iss b/native/windows/legup_inno_setup.iss deleted file mode 100644 index f85c7abdd..000000000 --- a/native/windows/legup_inno_setup.iss +++ /dev/null @@ -1,55 +0,0 @@ -; =========================================================================== -; | This implementation uses a standalone Legup.exe generated by launch4j. -; | Change MyJava below to match the path to the latest JRE version that -; | you have installed on your system. -; =========================================================================== - - -#define MyAppName "Legup" -#define MyAppVersion "3.0" -#define MyAppPublisher "Bram Hub" -#define MyAppURL "https://github.com/Bram-Hub/Legup/" -#define MyAppExeName "Legup.exe" -#define MyAppRoot "..\.." - -; ************* CHANGE ME!!!! ************* -#define MyJava "C:\Program Files\Java\jre1.8.0_333\" - -[Setup] -; NOTE: The value of AppId uniquely identifies this application. Do not use the same AppId value in installers for other applications. -AppId={{A401504E-CBDA-4839-A782-980FC0C036D3} -AppName={#MyAppName} -AppVersion={#MyAppVersion} -;AppVerName={#MyAppName} {#MyAppVersion} -AppPublisher={#MyAppPublisher} -AppPublisherURL={#MyAppURL} -AppSupportURL={#MyAppURL} -AppUpdatesURL={#MyAppURL} -DefaultDirName={autopf}\{#MyAppName} -DisableProgramGroupPage=yes -; Uncomment the following line to run in non administrative install mode (install for current user only.) -PrivilegesRequired=lowest -OutputDir=bin -OutputBaseFilename=legup_installer -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: "{#MyAppRoot}\native\windows\bin\{#MyAppExeName}"; DestDir: "{app}"; Flags: ignoreversion -;Source: "{#MyAppRoot}\build\libs\Legup.jar"; DestDir: "{app}"; Flags: ignoreversion -Source: "{#MyJava}*"; DestDir: "{app}\jre"; Flags: ignoreversion recursesubdirs createallsubdirs - -[Icons] -Name: "{autoprograms}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}" -Name: "{autodesktop}\{#MyAppName}"; Filename: "{app}\{#MyAppExeName}"; Tasks: desktopicon - -[Run] -Filename: "{app}\{#MyAppExeName}"; Description: "{cm:LaunchProgram,{#StringChange(MyAppName, '&', '&&')}}"; Flags: nowait postinstall skipifsilent - diff --git a/native/windows/legup_launch4j.xml b/native/windows/legup_launch4j.xml deleted file mode 100644 index 19d6215be..000000000 --- a/native/windows/legup_launch4j.xml +++ /dev/null @@ -1,26 +0,0 @@ - - - true - gui - Legup.jar - C:\Users\Trevor\IdeaProjects\Legup\native\windows\bin\Legup.exe - - - . - normal - http://java.com/download - - false - false - - - - jre - true - false - 1.8.0_121 - - preferJre - 64/32 - - \ No newline at end of file diff --git a/native/windows/make_windows_installer.bat b/native/windows/make_windows_installer.bat deleted file mode 100644 index 6c0e55115..000000000 --- a/native/windows/make_windows_installer.bat +++ /dev/null @@ -1,2 +0,0 @@ -@echo off -inno-setup\ISCC.exe legup_inno_setup.iss \ No newline at end of file