Commit Graph

59 Commits

Author SHA1 Message Date
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
Jake.Stine dd42d14410 NSIS: Fix for installer not installing VS2010 on some systems (Issue 733)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3381 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-07-03 15:10:12 +00:00
Jake.Stine 52609a58c8 NSIS Installer:
* Add the major/minor version number to the generated exe's.
 * Default to using the HEAD revision for all exe's and plugins in the package, instead of versioning each one independently.
 * Update instructions readme to mention use of Eclipse as a NSIS editor and integrated environment.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3122 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-30 02:00:19 +00:00
Jake.Stine 37d6a1f9da * Added new 0.9.7 readme and FAQ (located in /bin so to be package-ready)
* NSIS Installer: Added 09.7 docs to the package, and create shortcut links to readme and FAQ.
* removed old 0.9.6 docs and gnu_gettext.dll (no longer needed in 0.9.7)

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3119 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-29 16:24:26 +00:00
sudonim1 3adb826607 Remove the last traces of the hostfs iop module loader.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3094 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-28 11:02:59 +00:00
ramapcsx2 de13bdf8d7 Fix a few copypaste errors that crept into the installer.
They prevented the uninstall script to register the main files.
Also added pcsx2hostfs_ldr.elf, as it's enabled and working correctly now.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3090 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-27 19:10:06 +00:00
Jake.Stine 8f16901181 NSIS Installer: updated web installer links for Googlecode mirrors on the VC++ CRT redistributables.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3089 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-27 12:44:11 +00:00
Jake.Stine 3f75082889 NSIS Installer: Finished the web installer, and fixed some errors int he full installer.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3088 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-27 12:13:51 +00:00
Jake.Stine c1d8a3e94c NSIS Installer: Preliminary addition of the web installer (needs work, generates some errors yet)
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3085 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-26 19:46:37 +00:00
Jake.Stine d8ba646de2 Even more memorycard work! Dialog box is mostly functional now (still missing a couple options and refinements) -- WARNING: settings/ini storage has changed. If you're using non-default memorycard settings, you'll need to go and edit your ini again.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3066 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-23 15:20:52 +00:00
Jake.Stine b6bc57b9e6 NSIS Installer:
* Added Visual Studio 2010 Redistributables to the installer package.
 * Added some component descriptions. :)
 * Separated several things into nsh header files for organizational purposes


git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3031 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-17 04:52:31 +00:00
ramapcsx2 c34210dc78 Installer:
Got rid of the redist check. Now the package always installs / repairs in unattended mode.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3019 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-15 17:43:44 +00:00
ramapcsx2 174166fa68 A few tweaks and additions to the installer.
Also avoid an issue where the FirstTimeWizard would fail creating some files.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3018 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-15 16:37:21 +00:00
Jake.Stine 3b2dbb8c6f NSIS Installer: disabled the vc-redist check since it's buggy or something, and fixed the desktop shortcut link.
git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3017 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-15 14:26:13 +00:00
Jake.Stine 5ec274ca0a NSIS Installer:
* Added banner image
 * (UAC) Re-enabled forced-admin mode for now
 * Fixed a bug in the vc redist installer.

git-svn-id: http://pcsx2.googlecode.com/svn/trunk@3016 96395faa-99c1-11dd-bbfe-3dabce05a288
2010-05-15 13:13:55 +00:00