/ WindowsInstaller / README.md
README.md
 1  # Windows installer
 2  
 3  ## Prerequisites
 4  
 5  * AdvancedInstaller v19.4 or better, and enterprise licence. 
 6  * Forknet has an open source license, however it currently (as of December 2024) only supports up to version 19. (We may need to reach out to Advanced Installer again to obtain a new license at some point, if needed. 
 7  * Reach out to @crowetic for links to the installer install files, and license. 
 8  * Installed AdoptOpenJDK v17 64bit, full JDK *not* JRE
 9  
10  ## General build instructions
11  
12  If this is your first time opening the `forknet.aip` file then you might need to adjust
13  configured paths, or create a dummy `D:` drive with the expected layout.
14  
15  Opening the aip file from within a clone of the forknet repo also works, if you have a separate windows machine setup to do the build. 
16  
17  You May need to change the location of the 'jre64' files inside Advanced Installer, if it is set to a path that your build machine doesn't have. 
18  
19  The Java Memory Arguments can be set manually, but as of December 2024 they have been reset back to system defaults. This should include G1GC Garbage Collector.
20  
21  Typical build procedure:
22  
23  * Place the `forknet.jar` file in `Install-Files\`
24  * Open AdvancedInstaller with forknet.aip file
25  * If releasing a new version, change version number in:
26  	+ "Product Details" side menu entry
27  	+ "Product Details" tab in "Product Details" pane
28  * Click away to a different side menu entry, e.g. "Resources" -> "Files and Folders"
29  * You should be prompted whether to generate a new product key, click "Generate New"
30  * Click "Build" button
31  * New EXE should be generated in `Forknet-SetupFiles\` folder with correct version number
32