Commit graph

35 commits

Author SHA1 Message Date
Anthony Lavado 63e0bd1d61 Only create/remove shortcuts on non-service install
Should only remove shortcuts if the install type was non-service. On upgrade, check if the install type was non-service, and if so, set the variables correctly and create shortcuts.
2019-10-16 03:14:12 -04:00
Anthony Lavado 5232302532 Adds icons to shortcuts, fixes nsis warning
Adds the icon as a resource file in the program folder, and uses it for the shortcuts created.
Removes an extra section from the dialog creator file, so NSIS won't show a warning for unused code.
2019-10-16 02:29:37 -04:00
Anthony Lavado dc46620a81 Automatically creates shortcuts for non-service installs
If the user is not installing as a service, then the installer creates a Start Menu shortcut, and a desktop shortcut. Commented out future shortcuts for a tray app.
2019-10-16 02:01:26 -04:00
Anthony Lavado f80343bf9d Fix the Setup Type dialog titles
I had put the title and subtitle in the wrong order. This corrects the issue.
2019-10-16 01:43:53 -04:00
Anthony Lavado 9ad781324e Fix up Setup Type dialog, and add logic for basic setup
Fix up the Setup Type dialog, by removing an unused function from the page.
Adds logic to the installer to check for a basic or advanced setup choice. Ensures that the service is only installed if the "advanced" method is chosen. Note - it may be possible to remove some defaults from the .onInit, considering they get set through the program now.
2019-10-15 04:24:30 -04:00
Anthony Lavado 05fb84ba22 Make service setup an optional component, remove setuptype page config for now 2019-10-12 04:39:34 -04:00
Anthony Lavado 04c4ad731e Begin to add setup type dialog 2019-10-12 03:56:46 -04:00
Anthony Lavado c8ffa2fb1d Set service install default to no 2019-10-12 03:03:33 -04:00
Erwin de Haan adde41c533
Remove /bin from ffmpeg path. 2019-10-06 22:26:17 +02:00
Erwin de Haan 3925e1dced
Fix extracted path from ffmpeg zip. 2019-10-06 22:20:49 +02:00
Erwin de Haan c7d1206dcb
Switch to custom patched build for ffmpeg 2019-10-06 22:03:44 +02:00
Anthony Lavado 229bd598b5
Add escapes for path quotes in the NSIS Installer (#1777)
This adds backslashes to escape the `--datadir` path in the Windows Installer. Without this, the path would be dropped at the first space (e.g. `C:\Test Area\Jellyfin` would become `C:\Test`).

Fixes #1773.
2019-09-20 13:45:20 -04:00
Erwin de Haan 2f2010ce59 NSIS improvements (#1692)
* Much better, but still broken

It crashes with two custom pages after one another. (So when the service should be installed).

* Fixed the problems and finished the NSIS installer.

Also ignored some of the artifacts.

* Added changes to CI for setup building.

Consolidate building and fixed git error.

Small CI fixes.

Move UX repo to SourcesDirectory

Fix stupid checkout <> clone error.

Fix typo in PowerShell command.

Artifact publish tasks can not have wildcards.
2019-09-09 17:40:51 -04:00
crankdoofus c6111a7fb5
Change service install user
The default is Network Service, with advanced option to use Local System
2019-07-27 20:23:22 +10:00
crankdoofus 5517d912bf
Rework based on review comments 2019-07-25 21:52:44 +10:00
crankdoofus fbbcba95d3
Update installer name to copy 2019-07-25 21:51:53 +10:00
crankdoofus e31851d25e
Update to uninstall silently if already installed 2019-07-13 21:16:56 +10:00
crankdoofus aff72323c6
Update code for in-place upgrades 2019-07-09 22:56:23 +10:00
crankdoofus 8555c5fae1
Correct comment 2019-07-07 09:17:03 +10:00
crankdoofus da71354e82
Remove Emby migration section, include License 2019-07-07 09:13:27 +10:00
crankdoofus 3d0e7f6cb6
Include License file with installation 2019-07-07 09:10:35 +10:00
crankdoofus cea6a2217e
Correct Service handling & LocalAppData folder
The service is now completely controlled by nssm as with the install-jellyfin.ps1
The LocalAppData had the global context, its now 
Corrected order of Mandatory and Optional components.
2019-07-06 18:34:48 +10:00
crankdoofus dc3eceec6a
Changed order to include install scripts in installer 2019-07-06 18:02:00 +10:00
crankdoofus a6819ffd1d
Cleaned up code 2019-07-06 12:19:57 +10:00
crankdoofus de9ee10abc
Uncomment accidental commenting of compilation 2019-07-06 12:18:20 +10:00
crankdoofus 43989800ba
Added -Force to nsis extraction 2019-07-06 12:16:34 +10:00
crankdoofus 1fd827fa77
Create jellyfin.nsi 2019-07-06 11:43:20 +10:00
crankdoofus 3b9766f58c
Added option for NSIS
This change will 
1. download NSIS zip, 
2. unzip in temp folder, 
3. use nsis to build the installer
2019-07-06 11:41:33 +10:00
trumblejoe b719ca5a33
Qualified Namespace of pscredential
Qualified Namespace of pscredential, otherwise script fails in Powershell builds <3.0.
2019-07-02 13:29:28 -04:00
Joshua M. Boniface eae0c28e6d
Merge pull request #1178 from jellyfin/LogicalPhallacy-patch-1
Updates windows installer default lib location
2019-04-08 18:44:43 -04:00
John Taylor f5f7de64de Use TLS 1.2 to download NSSM 2019-04-06 13:40:19 -04:00
LogicalPhallacy 816d8a0216
Update install-jellyfin.ps1 2019-03-31 10:34:49 -07:00
LogicalPhallacy e37ccd6ec0
Updates windows installer default lib location
You can use the emby import to move an existing library this way.
2019-03-31 10:32:56 -07:00
scheidleon 74aa38acd7 Fix Path 2019-02-20 21:04:52 +01:00
Joshua Boniface 3ed9d32f68 Rename Windows scripts folder 2019-02-18 22:07:53 -05:00