2009-08-30 01:48:08 +00:00
|
|
|
-------------------------------------
|
|
|
|
PCSX2 NSIS Installer Instructions
|
|
|
|
-------------------------------------
|
|
|
|
|
2012-07-03 10:30:26 +00:00
|
|
|
* Install NSIS (tested with 2.46), make sure to include the "Modern User Interface"
|
2009-08-30 01:48:08 +00:00
|
|
|
* Install NSIS Script: Advanced Uninstall Log (you can find it on NSIS wiki)
|
2012-07-03 10:30:26 +00:00
|
|
|
( Currently at http://nsis.sourceforge.net/Advanced_Uninstall_Log_NSIS_Header )
|
2009-08-30 01:48:08 +00:00
|
|
|
|
2015-12-22 16:56:59 +00:00
|
|
|
* Download the Visual C++ 2015 Redistributable and save it to this nsis/ folder.
|
|
|
|
( https://www.microsoft.com/en-us/download/details.aspx?id=49984 )
|
|
|
|
Rename the download to "vcredist_2015_Update_1_x86".
|
2013-12-31 10:59:17 +00:00
|
|
|
|
2012-06-06 14:55:15 +00:00
|
|
|
* Download the DirectX Web Installer (dxwebsetup.exe) from Microsoft's website and save it to
|
2012-07-03 10:30:26 +00:00
|
|
|
this nsis/ folder. (currently required, might be made optional later).
|
|
|
|
( http://download.microsoft.com/download/1/7/1/1718CCC4-6315-4D8E-9543-8E28A4E18C4C/dxwebsetup.exe )
|
|
|
|
No name change is required.
|
2009-08-30 01:48:08 +00:00
|
|
|
|
|
|
|
* Load the PCSX2 Suite solution and rebuild all in the following targets:
|
|
|
|
* Release SSE2
|
|
|
|
* Release SSSE3 (only needed if packaging plugins)
|
|
|
|
* Release SSE4 (only needed if packaging plugins)
|
2012-06-06 14:55:15 +00:00
|
|
|
* Release AVX (only needed if packaging plugins)
|
2015-12-20 01:55:17 +00:00
|
|
|
* Release AVX2 (only needed if packaging plugins)
|
2013-12-31 10:59:17 +00:00
|
|
|
* Devel (optional) /* not enabled in the installer either, so need to do that as well */
|
2009-08-30 01:48:08 +00:00
|
|
|
|
|
|
|
You may selectively unload plugins you do not wish to package prior to running the NSIS
|
|
|
|
script.
|
|
|
|
|
2015-12-22 16:56:59 +00:00
|
|
|
* Compile script (pcsx2_full_install.nsi)!
|
2012-06-06 14:55:15 +00:00
|
|
|
Output executables will be generated to the output/ folder.
|
2009-08-30 01:48:08 +00:00
|
|
|
|
|
|
|
|
|
|
|
--------------------------------------------
|
|
|
|
Compilation Targets and Plugin Inclusion
|
|
|
|
--------------------------------------------
|
|
|
|
|
2010-05-30 02:00:19 +00:00
|
|
|
The installer will include plugins only if they are present. If you do not build plugins, or
|
|
|
|
remove some (or all) plugins before running the nsis script, only PCSX2 and whatever remaining
|
|
|
|
plugins will be packaged.
|
2009-08-30 01:48:08 +00:00
|
|
|
|
2015-12-20 01:55:17 +00:00
|
|
|
GSdx SSE2, SSSE3, SSE4 and AVX/AVX2 versions are all included into the installer *if* they are present.
|
2009-08-30 01:48:08 +00:00
|
|
|
You will need to follow the above instructions and compile all release targets to get all the
|
|
|
|
GSdx DLLs.
|
|
|
|
|
2010-05-30 02:00:19 +00:00
|
|
|
|
|
|
|
--------------------------------------------
|
|
|
|
Recommendations to Developers
|
|
|
|
--------------------------------------------
|
|
|
|
|
|
|
|
From Air: I use Eclipse to edit NSIS scripts. Do a google search for 'nsis eclipse' and it
|
|
|
|
should take you to the NSIS wiki with instructions on how to set up a NSIS environment in
|
|
|
|
Eclipse. This typically only takes me a few minutes (yes it's really that painless). Via
|
|
|
|
Eclipse you can use F2 and F3 for online help and context help on NSIS commands, and the syntax
|
|
|
|
highlighting is very clean and NSIS-specific. Additionally it'll give you Visual Studio-style
|
|
|
|
hyperlinks for errors during compilation, so that you can simply click on an error and be taken
|
|
|
|
right to the offending line of code. Highly recommended! :)
|
|
|
|
|
|
|
|
|
2009-08-30 01:48:08 +00:00
|
|
|
--------------------------------------------
|
|
|
|
TODO / Wish List!!
|
|
|
|
--------------------------------------------
|
|
|
|
|
|
|
|
* pcsx2-dev should probably be an optional section, conditionally scripted only if the
|
|
|
|
file is present at compilation time, and packaged.
|
2009-08-29 20:45:19 +00:00
|
|
|
|