Update installer: add docs, scripts, and Start Menu tools
- Expanded [Files] section to include key documentation and PowerShell/batch scripts for database management - Fixed INSTALLER_GUIDE.md path and improved file organization in installer script - Added Start Menu shortcuts for documentation and database tools - Updated .gitignore to track wwwroot/* - Changed .csproj.user to use a relative publish profile name - Added INSTALLER_NEEDS_UPDATE.md and INSTALLER_UPDATE_COMPLETE.md for documentation and change tracking - Improves user onboarding, support, and maintainability
This commit is contained in:
+49
-4
@@ -34,13 +34,45 @@ Name: "service"; Description: "Install as Windows Service (runs automatically on
|
||||
Name: "firewall"; Description: "Add Windows Firewall exception"; GroupDescription: "Network Options:"; Flags: unchecked
|
||||
|
||||
[Files]
|
||||
; Copy all files from lib\Release\net11.0
|
||||
; ============================================================================
|
||||
; Application Files
|
||||
; ============================================================================
|
||||
|
||||
; Copy all files from lib\Release\net11.0 (includes SQL files automatically)
|
||||
Source: "lib\Release\net11.0\*"; DestDir: "{app}"; Flags: ignoreversion recursesubdirs createallsubdirs
|
||||
|
||||
; ============================================================================
|
||||
; Configuration Files
|
||||
; ============================================================================
|
||||
|
||||
; Copy startup configuration with Windows defaults
|
||||
Source: "Jellyfin.Server\Resources\Configuration\startup.windows.json"; DestDir: "{commonappdata}\jellyfin"; DestName: "startup.json"; Flags: onlyifdoesntexist
|
||||
; Copy documentation
|
||||
|
||||
; ============================================================================
|
||||
; Database Management Scripts
|
||||
; ============================================================================
|
||||
|
||||
; PowerShell scripts for database management
|
||||
Source: "db-config.ps1"; DestDir: "{app}"; Flags: ignoreversion
|
||||
Source: "Fix-ItemValues-Performance.ps1"; DestDir: "{app}"; Flags: ignoreversion
|
||||
Source: "db-quick.ps1"; DestDir: "{app}"; Flags: ignoreversion
|
||||
Source: "Add-All-Indexes.bat"; DestDir: "{app}"; Flags: ignoreversion
|
||||
|
||||
; ============================================================================
|
||||
; Documentation
|
||||
; ============================================================================
|
||||
|
||||
; Essential documentation
|
||||
Source: "README.md"; DestDir: "{app}"; Flags: isreadme; DestName: "README.txt"
|
||||
Source: "INSTALLER_GUIDE.md"; DestDir: "{app}\docs"; DestName: "INSTALLER_GUIDE.txt"
|
||||
Source: "docs\START_HERE.md"; DestDir: "{app}\docs"; DestName: "START_HERE.txt"
|
||||
Source: "docs\QUICKSTART_POSTGRESQL.md"; DestDir: "{app}\docs"; DestName: "QUICKSTART_POSTGRESQL.txt"
|
||||
Source: "docs\INSTALLER_GUIDE.md"; DestDir: "{app}\docs"; DestName: "INSTALLER_GUIDE.txt"
|
||||
Source: "docs\QUICK_REFERENCE.md"; DestDir: "{app}\docs"; DestName: "QUICK_REFERENCE.txt"
|
||||
|
||||
; Performance and troubleshooting
|
||||
Source: "docs\ADD_INDEXES_GUIDE.md"; DestDir: "{app}\docs"; DestName: "ADD_INDEXES_GUIDE.txt"
|
||||
Source: "docs\DIAGNOSTICS_COMPLETE_SUMMARY.md"; DestDir: "{app}\docs"; DestName: "DIAGNOSTICS_COMPLETE_SUMMARY.txt"
|
||||
Source: "docs\POSTGRESQL_TROUBLESHOOTING.md"; DestDir: "{app}\docs"; DestName: "POSTGRESQL_TROUBLESHOOTING.txt"
|
||||
|
||||
[Dirs]
|
||||
; Create program data directories with proper permissions
|
||||
@@ -52,12 +84,25 @@ Name: "{commonappdata}\jellyfin\config"; Permissions: users-modify
|
||||
Name: "{commonappdata}\jellyfin\web"; Permissions: users-modify
|
||||
|
||||
[Icons]
|
||||
; Start Menu shortcuts
|
||||
; ============================================================================
|
||||
; Start Menu Shortcuts
|
||||
; ============================================================================
|
||||
|
||||
; Application shortcuts
|
||||
Name: "{group}\Jellyfin Server"; Filename: "{app}\jellyfin.exe"; WorkingDir: "{app}"; Comment: "Start Jellyfin media server"
|
||||
Name: "{group}\Jellyfin Web Interface"; Filename: "http://localhost:8096"; Comment: "Open Jellyfin in web browser"
|
||||
|
||||
; Data and logs
|
||||
Name: "{group}\Jellyfin Logs"; Filename: "{commonappdata}\jellyfin\log"; Comment: "View Jellyfin log files"
|
||||
Name: "{group}\Jellyfin Data"; Filename: "{commonappdata}\jellyfin"; Comment: "Jellyfin data directory"
|
||||
|
||||
; Documentation and tools
|
||||
Name: "{group}\Documentation"; Filename: "{app}\docs"; Comment: "View Jellyfin documentation"
|
||||
Name: "{group}\Database Tools"; Filename: "powershell.exe"; Parameters: "-ExecutionPolicy Bypass -File ""{app}\db-quick.ps1"""; WorkingDir: "{app}"; Comment: "Database management tools"
|
||||
|
||||
; Uninstall
|
||||
Name: "{group}\{cm:UninstallProgram,Jellyfin PostgreSQL}"; Filename: "{uninstallexe}"
|
||||
|
||||
; Desktop shortcut (optional)
|
||||
Name: "{commondesktop}\Jellyfin Server"; Filename: "{app}\jellyfin.exe"; WorkingDir: "{app}"; Tasks: desktopicon
|
||||
|
||||
|
||||
Reference in New Issue
Block a user