Skip to content

Commit

Permalink
Update Installer.
Browse files Browse the repository at this point in the history
  • Loading branch information
ElementalCrisis committed Aug 22, 2020
1 parent 8fc31f4 commit 614e0df
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 113 deletions.
95 changes: 5 additions & 90 deletions Installer/ShokoDesktop.iss
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

AppId={{EFA49A76-085F-4E64-AEC4-6ACA707A5D91}
AppName=Shoko Desktop
AppVersion=3.9.6.0
AppVersion=4.0.0.0
AppVerName=Shoko Desktop
AppPublisher=Shoko Team
AppPublisherURL=https://ShokoAnime.com/
Expand All @@ -31,109 +31,24 @@ Name: "english"; MessagesFile: "compiler:Default.isl"

[Tasks]
Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked
Name: "quicklaunchicon"; Description: "{cm:CreateQuickLaunchIcon}"; GroupDescription: "{cm:AdditionalIcons}"; Flags: unchecked; OnlyBelowVersion: 0,6.1

[Files]
Source: "..\Shoko.Desktop\bin\Release\Xceed.Wpf.AvalonDock.Themes.VS2010.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\Shoko.Desktop\bin\Release\Xceed.Wpf.DataGrid.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\Shoko.Desktop\bin\Release\Xceed.Wpf.Toolkit.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\Shoko.Desktop\bin\Release\DevExpress.Data.v12.2.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\Shoko.Desktop\bin\Release\DevExpress.PivotGrid.v12.2.Core.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\Shoko.Desktop\bin\Release\DevExpress.Printing.v12.2.Core.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\Shoko.Desktop\bin\Release\DevExpress.Xpf.Core.v12.2.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\Shoko.Desktop\bin\Release\DevExpress.Xpf.Core.v12.2.Extensions.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\Shoko.Desktop\bin\Release\DevExpress.Xpf.Grid.v12.2.Core.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\Shoko.Desktop\bin\Release\DevExpress.Xpf.Grid.v12.2.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\Shoko.Desktop\bin\Release\DevExpress.Xpf.Layout.v12.2.Core.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\Shoko.Desktop\bin\Release\DevExpress.Xpf.LayoutControl.v12.2.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\Shoko.Desktop\bin\Release\DevExpress.Xpf.PivotGrid.v12.2.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\Shoko.Desktop\bin\Release\DevExpress.Xpf.Printing.v12.2.Core.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\Shoko.Desktop\bin\Release\DevExpress.Xpf.Printing.v12.2.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\Shoko.Desktop\bin\Release\F23.StringSimilarity.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\Shoko.Desktop\bin\Release\F23.StringSimilarity.xml"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\Shoko.Desktop\bin\Release\GongSolutions.Wpf.DragDrop.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\Shoko.Desktop\bin\Release\GongSolutions.Wpf.DragDrop.pdb"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\Shoko.Desktop\bin\Release\GongSolutions.Wpf.DragDrop.xml"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\Shoko.Desktop\bin\Release\ImpromptuInterface.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\Shoko.Desktop\bin\Release\ImpromptuInterface.xml"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\Shoko.Desktop\bin\Release\Infralution.Localization.Wpf.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\Shoko.Desktop\bin\Release\MahApps.Metro.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\Shoko.Desktop\bin\Release\MahApps.Metro.pdb"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\Shoko.Desktop\bin\Release\MahApps.Metro.xml"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\Shoko.Desktop\bin\Release\Microsoft.Data.Edm.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\Shoko.Desktop\bin\Release\Microsoft.Data.Edm.xml"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\Shoko.Desktop\bin\Release\Microsoft.Data.OData.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\Shoko.Desktop\bin\Release\Microsoft.Data.OData.xml"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\Shoko.Desktop\bin\Release\Microsoft.Data.Services.Client.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\Shoko.Desktop\bin\Release\Microsoft.Data.Services.Client.xml"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\Shoko.Desktop\bin\Release\Microsoft.WindowsAPICodePack.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\Shoko.Desktop\bin\Release\Microsoft.WindowsAPICodePack.pdb"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\Shoko.Desktop\bin\Release\Microsoft.WindowsAPICodePack.Shell.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\Shoko.Desktop\bin\Release\Microsoft.WindowsAPICodePack.Shell.pdb"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\Shoko.Desktop\bin\Release\Microsoft.WindowsAPICodePack.Shell.xml"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\Shoko.Desktop\bin\Release\Microsoft.WindowsAPICodePack.ShellExtensions.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\Shoko.Desktop\bin\Release\Microsoft.WindowsAPICodePack.ShellExtensions.pdb"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\Shoko.Desktop\bin\Release\Microsoft.WindowsAPICodePack.ShellExtensions.xml"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\Shoko.Desktop\bin\Release\Microsoft.WindowsAPICodePack.xml"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\Shoko.Desktop\bin\Release\Nancy.Rest.Annotations.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\Shoko.Desktop\bin\Release\Nancy.Rest.Annotations.pdb"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\Shoko.Desktop\bin\Release\Nancy.Rest.Client.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\Shoko.Desktop\bin\Release\Nancy.Rest.Client.pdb"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\Shoko.Desktop\bin\Release\Newtonsoft.Json.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\Shoko.Desktop\bin\Release\Newtonsoft.Json.xml"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\Shoko.Desktop\bin\Release\NLog.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\Shoko.Desktop\bin\Release\NLog.xml"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\Shoko.Desktop\bin\Release\NutzCode.MPVPlayer.WPF.Wrapper.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\Shoko.Desktop\bin\Release\NutzCode.MPVPlayer.WPF.Wrapper.pdb"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\Shoko.Desktop\bin\Release\Pri.LongPath.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\Shoko.Desktop\bin\Release\RestSharp.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\Shoko.Desktop\bin\Release\RestSharp.xml"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\Shoko.Desktop\bin\Release\ReuxablesLegacy.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\Shoko.Desktop\bin\Release\Shoko.Commons.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\Shoko.Desktop\bin\Release\Shoko.Commons.pdb"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\Shoko.Desktop\bin\Release\Shoko.Models.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\Shoko.Desktop\bin\Release\Shoko.Models.pdb"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\Shoko.Desktop\bin\Release\ShokoDesktop.exe"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\Shoko.Desktop\bin\Release\ShokoDesktop.exe.config"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\Shoko.Desktop\bin\Release\ShokoDesktop.pdb"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\Shoko.Desktop\bin\Release\System.Diagnostics.DiagnosticSource.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\Shoko.Desktop\bin\Release\System.Diagnostics.DiagnosticSource.xml"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\Shoko.Desktop\bin\Release\System.IO.Compression.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\Shoko.Desktop\bin\Release\System.Net.Http.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\Shoko.Desktop\bin\Release\System.Spatial.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\Shoko.Desktop\bin\Release\System.Spatial.xml"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\Shoko.Desktop\bin\Release\System.Windows.Interactivity.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\Shoko.Desktop\bin\Release\Xceed.Wpf.AvalonDock.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\Shoko.Desktop\bin\Release\Xceed.Wpf.AvalonDock.Themes.Aero.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\Shoko.Desktop\bin\Release\Xceed.Wpf.AvalonDock.Themes.Metro.dll"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\Shoko.Desktop\bin\Release\de\*"; DestDir: "{app}\de"; Flags: ignoreversion recursesubdirs createallsubdirs
Source: "..\Shoko.Desktop\bin\Release\en-gb\*"; DestDir: "{app}\en-gb"; Flags: ignoreversion recursesubdirs createallsubdirs
Source: "..\Shoko.Desktop\bin\Release\es\*"; DestDir: "{app}\es"; Flags: ignoreversion recursesubdirs createallsubdirs
Source: "..\Shoko.Desktop\bin\Release\fr\*"; DestDir: "{app}\fr"; Flags: ignoreversion recursesubdirs createallsubdirs
Source: "..\Shoko.Desktop\bin\Release\images\*"; DestDir: "{app}\images"; Flags: ignoreversion recursesubdirs createallsubdirs
Source: "..\Shoko.Desktop\bin\Release\it\*"; DestDir: "{app}\it"; Flags: ignoreversion recursesubdirs createallsubdirs
Source: "..\Shoko.Desktop\bin\Release\nl\*"; DestDir: "{app}\nl"; Flags: ignoreversion recursesubdirs createallsubdirs
Source: "..\Shoko.Desktop\bin\Release\pl\*"; DestDir: "{app}\pl"; Flags: ignoreversion recursesubdirs createallsubdirs
Source: "..\Shoko.Desktop\bin\Release\pt\*"; DestDir: "{app}\pt"; Flags: ignoreversion recursesubdirs createallsubdirs
Source: "..\Shoko.Desktop\bin\Release\ru\*"; DestDir: "{app}\ru"; Flags: ignoreversion recursesubdirs createallsubdirs
Source: "..\Shoko.Desktop\bin\Release\x64\*"; DestDir: "{app}\x64"; Flags: ignoreversion recursesubdirs createallsubdirs
Source: "..\Shoko.Desktop\bin\Release\x86\*"; DestDir: "{app}\x86"; Flags: ignoreversion recursesubdirs createallsubdirs
Source: "FixPermissions.bat"; DestDir: "{app}"; Flags: ignoreversion
; NOTE: Don't use "Flags: ignoreversion" on any shared system files
Source: "..\..\ShokoDesktop\Installer\FixPermissions.bat"; DestDir: "{app}"; Flags: ignoreversion
Source: "..\Shoko.Desktop\bin\Release\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs

[Icons]
Name: "{group}\Shoko Desktop"; Filename: "{app}\ShokoDesktop.exe"
Name: "{group}\{cm:UninstallProgram,Shoko Desktop}"; Filename: "{uninstallexe}"
Name: "{commondesktop}\Shoko Desktop"; Filename: "{app}\ShokoDesktop.exe"; Tasks: desktopicon
Name: "{userappdata}\Microsoft\Internet Explorer\Quick Launch\Shoko Desktop"; Filename: "{app}\ShokoDesktop.exe"; Tasks: quicklaunchicon

[Run]
Filename: "{app}\FixPermissions.bat";
Filename: "{app}\ShokoDesktop.exe"; Flags: nowait postinstall skipifsilent shellexec; Description: "{cm:LaunchProgram,Shoko Desktop}"
Filename: "https://shokoanime.com/shoko-version-3-9-6-released/"; Flags: shellexec runasoriginaluser postinstall; Description: "View 3.9.6 Release Notes"
Filename: "https://shokoanime.com/shoko-version-4-0-0-released/"; Flags: shellexec runasoriginaluser postinstall; Description: "View 4.0.0 Release Notes"

[Dirs]
Name: "{app}"; Permissions: users-full
Name: "C:\ProgramData\ShokoSDesktop"; Permissions: users-full

[UninstallDelete]
Type: filesandordirs; Name: "{app}"
Expand Down
45 changes: 24 additions & 21 deletions Shoko.Desktop.sln
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 15
VisualStudioVersion = 15.0.26206.0
# Visual Studio Version 16
VisualStudioVersion = 16.0.30413.136
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Shoko.Desktop", "Shoko.Desktop\Shoko.Desktop.csproj", "{B44B8402-A60B-4462-94FE-388DAB208360}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Shoko.Models", "Shoko.Commons\Shoko.Models\Shoko.Models.csproj", "{F73F9DF6-580A-4341-B516-8717626F9D42}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Shoko.Models", "Shoko.Commons\Shoko.Models\Shoko.Models.csproj", "{F73F9DF6-580A-4341-B516-8717626F9D42}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Shoko.Commons", "Shoko.Commons\Shoko.Commons.csproj", "{E0399140-9902-4F38-909D-85E42717EC30}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Shoko.Commons", "Shoko.Commons\Shoko.Commons.csproj", "{E0399140-9902-4F38-909D-85E42717EC30}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NutzCode.MPVPlayer.WPF.Wrapper", "MPVPlayer.WPF.Wrapper\NutzCode.MPVPlayer.WPF.Wrapper.csproj", "{423508FA-BC96-454A-AD46-7F38B6B1D0D2}"
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "NutzCode.MPVPlayer.WPF.Wrapper", "MPVPlayer.WPF.Wrapper\NutzCode.MPVPlayer.WPF.Wrapper.csproj", "{88D69C8E-A6BF-4427-9DD4-022F74AEFCCE}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Expand All @@ -27,22 +27,6 @@ Global
{B44B8402-A60B-4462-94FE-388DAB208360}.Release|Any CPU.Build.0 = Release|Any CPU
{B44B8402-A60B-4462-94FE-388DAB208360}.Release|x86.ActiveCfg = Release|x86
{B44B8402-A60B-4462-94FE-388DAB208360}.Release|x86.Build.0 = Release|x86
{423508FA-BC96-454A-AD46-7F38B6B1D0D2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{423508FA-BC96-454A-AD46-7F38B6B1D0D2}.Debug|Any CPU.Build.0 = Debug|Any CPU
{423508FA-BC96-454A-AD46-7F38B6B1D0D2}.Debug|x86.ActiveCfg = Debug|Any CPU
{423508FA-BC96-454A-AD46-7F38B6B1D0D2}.Debug|x86.Build.0 = Debug|Any CPU
{423508FA-BC96-454A-AD46-7F38B6B1D0D2}.Release|Any CPU.ActiveCfg = Release|Any CPU
{423508FA-BC96-454A-AD46-7F38B6B1D0D2}.Release|Any CPU.Build.0 = Release|Any CPU
{423508FA-BC96-454A-AD46-7F38B6B1D0D2}.Release|x86.ActiveCfg = Release|Any CPU
{423508FA-BC96-454A-AD46-7F38B6B1D0D2}.Release|x86.Build.0 = Release|Any CPU
{E0399140-9902-4F38-909D-85E42717EC30}.Debug|Any CPU.ActiveCfg = Debug|x64
{E0399140-9902-4F38-909D-85E42717EC30}.Debug|Any CPU.Build.0 = Debug|x64
{E0399140-9902-4F38-909D-85E42717EC30}.Debug|x86.ActiveCfg = Debug|x86
{E0399140-9902-4F38-909D-85E42717EC30}.Debug|x86.Build.0 = Debug|x86
{E0399140-9902-4F38-909D-85E42717EC30}.Release|Any CPU.ActiveCfg = Release|x64
{E0399140-9902-4F38-909D-85E42717EC30}.Release|Any CPU.Build.0 = Release|x64
{E0399140-9902-4F38-909D-85E42717EC30}.Release|x86.ActiveCfg = Release|x86
{E0399140-9902-4F38-909D-85E42717EC30}.Release|x86.Build.0 = Release|x86
{F73F9DF6-580A-4341-B516-8717626F9D42}.Debug|Any CPU.ActiveCfg = Debug|x64
{F73F9DF6-580A-4341-B516-8717626F9D42}.Debug|Any CPU.Build.0 = Debug|x64
{F73F9DF6-580A-4341-B516-8717626F9D42}.Debug|x86.ActiveCfg = Debug|x86
Expand All @@ -51,8 +35,27 @@ Global
{F73F9DF6-580A-4341-B516-8717626F9D42}.Release|Any CPU.Build.0 = Release|x64
{F73F9DF6-580A-4341-B516-8717626F9D42}.Release|x86.ActiveCfg = Release|x86
{F73F9DF6-580A-4341-B516-8717626F9D42}.Release|x86.Build.0 = Release|x86
{E0399140-9902-4F38-909D-85E42717EC30}.Debug|Any CPU.ActiveCfg = Debug|x64
{E0399140-9902-4F38-909D-85E42717EC30}.Debug|Any CPU.Build.0 = Debug|x64
{E0399140-9902-4F38-909D-85E42717EC30}.Debug|x86.ActiveCfg = Debug|x86
{E0399140-9902-4F38-909D-85E42717EC30}.Debug|x86.Build.0 = Debug|x86
{E0399140-9902-4F38-909D-85E42717EC30}.Release|Any CPU.ActiveCfg = Release|x64
{E0399140-9902-4F38-909D-85E42717EC30}.Release|Any CPU.Build.0 = Release|x64
{E0399140-9902-4F38-909D-85E42717EC30}.Release|x86.ActiveCfg = Release|x86
{E0399140-9902-4F38-909D-85E42717EC30}.Release|x86.Build.0 = Release|x86
{88D69C8E-A6BF-4427-9DD4-022F74AEFCCE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{88D69C8E-A6BF-4427-9DD4-022F74AEFCCE}.Debug|Any CPU.Build.0 = Debug|Any CPU
{88D69C8E-A6BF-4427-9DD4-022F74AEFCCE}.Debug|x86.ActiveCfg = Debug|Any CPU
{88D69C8E-A6BF-4427-9DD4-022F74AEFCCE}.Debug|x86.Build.0 = Debug|Any CPU
{88D69C8E-A6BF-4427-9DD4-022F74AEFCCE}.Release|Any CPU.ActiveCfg = Release|Any CPU
{88D69C8E-A6BF-4427-9DD4-022F74AEFCCE}.Release|Any CPU.Build.0 = Release|Any CPU
{88D69C8E-A6BF-4427-9DD4-022F74AEFCCE}.Release|x86.ActiveCfg = Release|Any CPU
{88D69C8E-A6BF-4427-9DD4-022F74AEFCCE}.Release|x86.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {77B110A0-BBD8-46E5-9224-82222621C334}
EndGlobalSection
EndGlobal
4 changes: 2 additions & 2 deletions Shoko.Desktop/Properties/AssemblyInfo.cs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("3.9.6.0")]
[assembly: AssemblyFileVersion("3.9.6.0")]
[assembly: AssemblyVersion("4.0.0.0")]
[assembly: AssemblyFileVersion("4.0.0.0")]
[assembly: AllowPartiallyTrustedCallers]
[assembly: SecurityRules(SecurityRuleSet.Level1)]

0 comments on commit 614e0df

Please sign in to comment.