Commit Graph

73 Commits

Author SHA1 Message Date
lightningterror 3231e79566 [skip ci] nsis: Update message box for minimum supported os.
Separate message boxes for v1.4.0 and v1.6.0.
2020-10-01 21:02:22 +02:00
lightningterror 441602aee0 nsis: Bump minimum Windows requirement to 8.1 2020-10-01 00:08:30 +02:00
lightningterror a0829e9a24 nsis: Remove dx runtimes. 2020-10-01 00:08:30 +02:00
lightningterror da5da1425b nsis: Remove old v1.4 checks no longer needed.
Remove StrContains.nsh which was used for the
1.4 check.
2020-10-01 00:08:30 +02:00
lightningterror 6040f8c838 nsis: Bump version to 1.8.0 2020-10-01 00:08:30 +02:00
lightningterror 74817a52ef nsis: Remove plugins that were merged in to core.
cdvdGigaherz, FWnull.

TODO: Check if any other plugins got merged in the future.
2020-10-01 00:08:30 +02:00
TheCakeIsNaOH e479bc923e
NSIS: Add support for command line flags and fix silent install (#3435) 2020-09-22 20:24:04 +01:00
Christian Kenny c4c1b58108
NSIS: QoL changes, general cleanup, bug fixes (#3335)
Uninstaller:
- Removed dependency for AdvUninstallLog, it wasn't really used for anything.
- Remove unpacked installer files upon successful installation.

Installer:
- Remove detection code for versions prior to 1.4.
- Fix Unicode path issues.
- Fix path issues if install folder already exists.
- Remove language option.
- Fix redistributable installation issues.
- Move redistributable installation to after user proceeds with install.
2020-05-05 20:02:07 +01:00
Christian Kenny 6e22efe790 NSIS: Don't pack files twice - reduces installer size to 7MB. 2020-02-22 08:38:50 +01:00
Christian Kenny 3b380148ee NSIS: Fix uninstaller issue with shortcut removal. 2020-02-22 08:38:50 +01:00
Christian Kenny e45fa9b6d8 NSIS: Update VC Redist URL/comments 2020-02-10 23:18:23 +01:00
lightningterror 1ae48db873 [skip ci] nsis: Update banner/logo.
It's a lot better than the previous one.

Example:

https://cdn.discordapp.com/attachments/324631776863453185/540619462219399188/unknown.png
2019-01-31 21:10:08 +01:00
Christian Kenny d71dac0918 [skip ci] NSIS: Add code comments, small tweaks, misc. copyright changes
blorp
2019-01-30 22:23:57 +01:00
Christian Kenny 61c68f20f0 NSIS: Fix uninstaller regression with regkey removal. 2019-01-30 22:23:57 +01:00
Christian Kenny e043822a93 Added pre-install dialog, updated build instructions, fix RegKey in uninstaller, automatically backup old configuration folder, misc. changes.
Automatically backup old configuration folder to avoid conflicts, misc. changes.

Added reviewed changes
2017-05-16 09:39:12 +02:00
Christian Kenny b896eed5d4 Split portable/pre-install and full installer into own scripts. Move shared definitions to their own files to reduce code duplication.
Move version check to own file

Split main installer into own script. Integrated changes for portable/standard installation.

Forgot to remove a message box
2017-05-16 09:39:12 +02:00
Christian Kenny 833622c870 Check/Install DirectX redistributables on Win8.1 and older (so as long as they have admin privileges). Removed SSSE3 and AVX references from build instructions.
Remove old build targets from instructions

Don't install DXRedists on 8.1 and newer
2017-05-16 09:39:12 +02:00
Christian Kenny b51eca87b6 Reformat version detection, move null plugins, force remove folder in uninstaller.
Null plugins are sad and lonely, put them with the others later

Minor tweaks, force remove Plugins folder because it can prevent $INSTDIR from being deleted (assuming we're doing a standard uninstall)

Rewrite version detection to search for 0.9.8 to 1.4.0 as well as future builds.

Remove offending whitespace
2017-05-16 09:39:12 +02:00
Christian Kenny 732dc881e4 Block installation on XP/fix an uninstaller regression and add ManifestDPIAware to the installer. Remove NSIS dirs from .gitignore.
Typo ;)

Remove XPStyle parameter. It isn't needed anymore

Updated copyright, added ManifestDPIAware for rich folks, removed IDOK true and Cheats folder from $INSTDIR as Turtleli suggested, formatting adjustments.

Gitignore: remove now unused NSIS directories

Fixed a nasty regression I introduced after a registry pointer was assumed to be incorrect. It contained UserMode data generated by the First Time Wizard. This was causing conflicts and the FTW to fail randomly when running PCSX2 after a reinstall due to old configuration data being read.

I added clarifcation below the original comment to reduce confusion in the future.
2017-05-16 09:39:12 +02:00
Christian Kenny 5298c2016f Remove unused SVN templates and condense installer files. Reduced compile errors by removing output folder dependency.
Forgot to add SharedRedtape changes to last commit

Remove unused SVN templates

Compile the installer to the NSIS folder so that the user doesn't need to worry about the output folder missing; and wonder why the installer won't compile ;)
2017-05-16 09:39:12 +02:00
Christian Kenny b7659ea3a5 Implement version detection for previous installs, separate savestates/memcard categories in the uninstaller. Cleanup scripts and misc. tweaks.
Minor tweaks for SharedBase and SharedRedTape:

-Updated ${APP_VERSION} to 1.6.0 and tweaked uninstall_log for functionality with uninstall script in pcsx2_full_install.nsi

-Added !define for installer icon

-Replaced obsolete function with RMDir functionality, uninstaller speed improved marginally

-Added filepath for $DOCUMENTS to be removed if empty

Main installer tweaks/enhancements:

-Tested installer functions in NSIS 3.01

-Implemented uninstall script for future version detection. If an older or equivalent PCSX2 version is detected, the user is prompted to silently uninstall/overwrite or abort the installer. (The function is not compatible with any current stable releases because they lack the registry string required for version detection.)

-Added a new installer function so that we can launch PCSX2 directly from the installer.

-Supressed some errors related to unused plugins in MakeNSIS.

-Replaced File with CreateDirectory function (for Cheats only) because it can't be used on an empty folder and will cause MakeNSIS to fail.

-Removed unused /oname parameter that was leftover from SVN builds.

-Added option to install additional languages for those who desire to save 2MB of space.

-Condensed DirectX Packages into SectionGroup for neatness
2017-05-16 09:39:12 +02:00
Christian Kenny 5986cbcfe6 Add installer icon, update copyright and build instructions for NSIS 3.0.
Update copyright

Reformatted instructions, added info specific to NSIS 3.0
2017-05-16 09:39:12 +02:00
ramapcsx2 90ad6e89ad small pdfs update and an nsis fix 2015-12-28 17:44:15 +01:00
ramapcsx2 e34b509b20 nsis changes. removed the web install script as it was progressively harder to maintain.
also bundling only the vc2015(sp1) redist now.
2015-12-22 17:56:59 +01:00
ramapcsx2 3bf86618fc nsis: include vc2015 (sp1) redist 2015-12-21 11:40:38 +01:00
ramapcsx2 279fc2ac79 round of nsis fixes 2015-12-20 02:55:17 +01:00
Miguel A. Colón Vélez 6462393aaf Introduce end-of-line normalization
Signed-off-by: Gregory Hainaut <gregory.hainaut@gmail.com>
2015-08-04 23:52:48 +02:00
ramapcsx2 ae607e56ca These are also not needed anymore. 2014-07-16 12:46:01 +02:00
dokman d6a617c225 Deleting avg thing of the full installer
If now you have drop the avg toolbar it does nothing here i think
2014-07-15 18:30:49 +02:00
refraction 06167087b3 Remove SVN checks from installer files. Closes issue #20 2014-07-08 01:38:50 +01:00
ramapcsx2.code c03a1c9bd0 Small round of patches for various issues, #3.
Fixed a bad string in the German translation, added GSdx-avx2 to the installer, silenced a debug print and shortened the app name in release builds.


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5858 96395faa-99c1-11dd-bbfe-3dabce05a288
2014-01-31 11:53:00 +00:00
refraction 1aedab7910 Installer: Removed SDL.dll as it is no longer required by any plugins.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5853 96395faa-99c1-11dd-bbfe-3dabce05a288
2014-01-27 19:40:21 +00:00
gregory.hainaut 48356e31b8 linux:
* use same path as game index db for cheats and cheats_ws
* install the new cheat zip file on cmake and debian installer 


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5850 96395faa-99c1-11dd-bbfe-3dabce05a288
2014-01-26 18:00:14 +00:00
avihal@gmail.com afa2336254 Installer: use cheats_ws.zip instead of dbf
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5841 96395faa-99c1-11dd-bbfe-3dabce05a288
2014-01-26 02:34:58 +00:00
refraction 18b345fab9 Installer: Update to include new cheats_ws.dbf file
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5829 96395faa-99c1-11dd-bbfe-3dabce05a288
2014-01-24 23:01:46 +00:00
refraction 7b4f431782 Whoops, made a mistake there :P
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5795 96395faa-99c1-11dd-bbfe-3dabce05a288
2014-01-05 21:59:58 +00:00
refraction 3fbd01af6b Installer: VS 2013 Redist detects if it's properly now under 64bit systems. Also fixed some problems causing the web installer not to compile correctly.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5794 96395faa-99c1-11dd-bbfe-3dabce05a288
2014-01-05 21:23:46 +00:00
ramapcsx2.code 27a93ffb6d Installer: More fixes.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5790 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-12-31 10:59:17 +00:00
refraction b4886cc00e Install Script: additional changes.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5787 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-12-30 17:50:07 +00:00
refraction e6138a2149 Install Script: Add Widescreen patches to installer
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5786 96395faa-99c1-11dd-bbfe-3dabce05a288
2013-12-30 17:49:19 +00:00
gigaherz 53396b52c0 Update installer version string.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5356 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-08-04 16:22:05 +00:00
ramapcsx2 b40682155a Cleanup part 2: Renamed the readme and faq where they're referred and upped the trunk version to 1.1.0
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5355 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-08-04 15:37:50 +00:00
ramapcsx2 e4a4e607c9 A couple installer fixes.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5331 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-07-03 10:30:26 +00:00
avihal 6d691b63f5 NSIS Un/Installer: updates (for both full/web installers):
- Removed vcredist 2008-sp1 and 2010, added vcredist 2010 sp1.
- GSdx DLLs rename (+"32"), added avx.
- Version to 1.0.0.
- Uninstaller: bios removal now has own checkbox (can now remove everything and keep bios).
- Uninstaller: registry is cleaned first (better for next install in case uninstall fails for some reason).

TODO/ToTest:
- Test upgrade from 0.98, 0.97.
- Got few crashes and/or errors if files/folders were in use while uninstalling. Look into that.
- First install on a clean system: test that first-time-wizard appears (i didn't get the ftw, I possibly had stuff from previous incomplete uninstall).
- Add an option to run pcsx2 when the installer completes?
- readme/faq have "0.9.8" in filename, but the installer refers to <version>, check if/when it's used.
- Cheats folder created at program files. consider at mydocs?
- Cheats folder contains what appears to be a valid pnach file for personas 4 (inf health etc). do we want that packaged?
- Do we want to mirror vcredist 2010sp1 on pcsx2.code.google/files? (older redists are mirrored).
- Change the installer logo to the one used everywhere else?
- See if we can use the best gsdx version selected initially (my system supports sse4, but it selects the sse2 dll by default at ftw).
- Default KB config for lilypad? all other plugins can work without configuring manually, but without a controller configured, it's very meh. See what we can do about it.


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@5271 96395faa-99c1-11dd-bbfe-3dabce05a288
2012-06-06 14:55:15 +00:00
ramapcsx2 8a08add476 Installer changes to support the new docs.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4548 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-04-07 19:52:47 +00:00
ramapcsx2 fe72821eaa Made the uninstaller nicer / removed some unused stuff.
The uninstaller now removes all PCSX2 paths info, so that a reinstall works as expected.
It also offers to remove plugin configuration files and user created files separately.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4508 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-03-29 17:55:48 +00:00
ramapcsx2 e72b095e4c Another bunch of installer fixes.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4503 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-03-28 22:05:10 +00:00
ramapcsx2 e5a564ed10 First round of installer fixes.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4480 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-03-24 04:34:46 +00:00
Jake.Stine df6f1b03f7 Major Settings Changes!
* PCSX2 now splits settings into two files: pcsx2-ui.ini and pcsx2-vm.ini.  The former is user interface clutter (window positions, confirmation dialogs, etc).  The latter is virtual machine settings, speed hacks, game fixes, etc.
 * Added support for PORTABLE INSTALLS!!  Portable install is currently manually enabled by adding an empty "pcsx2-portable.ini" to the install location of PCSX2.  Portable installs should run seamlessly from any flash drive, etc. (and will usually need Admin rights)
 * PCSX2 install location and plugins folders are stored in the registry now (unless portable install is enabled, in which case no registry is used).

Notes:
 * A button to enable portable installs from within PCSX2 is planned.
 * NSIS installer will hopefully be upgraded to allow for a portable install option as well.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@4198 96395faa-99c1-11dd-bbfe-3dabce05a288
2011-01-10 17:48:25 +00:00
ramapcsx2 fd0647cc02 Made the installer create a cheats directory as per request.
Remove the sVU is broken warning, since it's been functionally restored.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3855 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-09-28 22:02:42 +00:00