PCSX2 Documentation/Compiling on Windows: Difference between revisions

Line 292: Line 292:


==Packaging PCSX2 with Nullsoft Scriptable Install System==
==Packaging PCSX2 with Nullsoft Scriptable Install System==
Just Because It Compiles Doesn't Mean It Works!
 
===Just Because It Compiles Doesn't Mean It Works!===
The steps included in this guide will pretty much guarantee that you can set up an environment in which you can compile the .NSI file included in the PCSX2 source to a .exe installer, but PLEASE NOTE THE FOLLOWING: Just because you can get it to compile without erroring does not mean that the output file will be a functional installer! Just like any other piece of code, the .NSI installer needs maintenance whenever there are changes to the file and directory structure of PCSX2. The installer is not the highest priority on the list, so it is possible that the .NSI is out of date and may be including out-dated files, or may not be including new files. It may complete compilation but net an installation that crashes every time it's run due to missing or unlinked .DLLs. With that said, it is NOT recommended that you use these installers without testing them in a sandbox / virtualized environment first to ensure that they properly install! A successful .NSI file compile does NOT equate to a truly successful installer build!
The steps included in this guide will pretty much guarantee that you can set up an environment in which you can compile the .NSI file included in the PCSX2 source to a .exe installer, but PLEASE NOTE THE FOLLOWING: Just because you can get it to compile without erroring does not mean that the output file will be a functional installer! Just like any other piece of code, the .NSI installer needs maintenance whenever there are changes to the file and directory structure of PCSX2. The installer is not the highest priority on the list, so it is possible that the .NSI is out of date and may be including out-dated files, or may not be including new files. It may complete compilation but net an installation that crashes every time it's run due to missing or unlinked .DLLs. With that said, it is NOT recommended that you use these installers without testing them in a sandbox / virtualized environment first to ensure that they properly install! A successful .NSI file compile does NOT equate to a truly successful installer build!
Installing the Nullsoft Scriptable Install System
 
===Installing the Nullsoft Scriptable Install System===
Download the installation package from the link above and run it. You will be presented with this Welcome Screen. Click Next.
Download the installation package from the link above and run it. You will be presented with this Welcome Screen. Click Next.
Accept the terms of the EULA.
Accept the terms of the EULA.
Line 301: Line 303:
The Nullsoft Scriptable Install System will install very quickly and present you with the final screenshot.
The Nullsoft Scriptable Install System will install very quickly and present you with the final screenshot.
Click Finish and the installer will close.
Click Finish and the installer will close.
1 2 3 4 5
 
[[File:nsis1.jpg | frameless]]
[[File:nsis2.jpg | frameless]]
[[File:nsis3.jpg | frameless]]
[[File:nsis4.jpg | frameless]]
[[File:nsis5.jpg | frameless]]
 
Lastly, you need to copy the vc_redistx86.exe that you downloaded from the prerequisites above into the following directory:
Lastly, you need to copy the vc_redistx86.exe that you downloaded from the prerequisites above into the following directory:
  C:\Development\Project Source\PCSX2\NSIS\
  C:\Development\Project Source\PCSX2\NSIS\
ninja
782

edits