Commit Graph

27 Commits

Author SHA1 Message Date
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 e45fa9b6d8 NSIS: Update VC Redist URL/comments 2020-02-10 23:18:23 +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 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 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
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
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 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
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 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
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
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