c51c14efde
- Rewrote README.md to highlight PostgreSQL features, installer, and migration, with quick start and full docs index - Moved all markdown documentation files to docs/ for better organization; updated links accordingly - Added .gitignore rules to exclude all PublishProfiles folders; removed tracked publish profile XMLs - Preserved original README as README.original.md; added README_GENERATION.md and DOCUMENTATION_ORGANIZATION.md - Cleaned root directory, improved navigation, and clarified platform-specific instructions
3.7 KiB
3.7 KiB
Build Installer Script - Fixed!
✅ Syntax Error Resolved
Problem: Extra closing brace at line 75
Solution: Removed the mismatched brace
Status: Ready to run!
How to Use
Quick Build
cd E:\Projects\pgsql-jellyfin
.\build-installer.ps1
Custom Version
.\build-installer.ps1 -Version "11.0.1"
Skip Build (Use Existing DLLs)
.\build-installer.ps1 -SkipBuild
Debug Configuration
.\build-installer.ps1 -Configuration Debug
What Happens When You Run It
-
✅ Checks prerequisites
- Verifies Inno Setup is installed
- Checks for lib folder
-
✅ Builds solution (unless -SkipBuild)
- Cleans previous build
- Builds Jellyfin.Server in Release mode
- Outputs to lib\Release\net11.0\
-
✅ Prepares installer script
- Updates version number
- Creates output directory
-
✅ Compiles installer
- Runs Inno Setup compiler
- Creates .exe in installer-output\
-
✅ Shows results
- File name, size, location
- Opens output folder
Expected Output
╔══════════════════════════════════════════════════════════╗
║ Jellyfin PostgreSQL Installer Builder ║
╚══════════════════════════════════════════════════════════╝
Checking prerequisites...
✅ Inno Setup found
Building Jellyfin solution...
Cleaning previous build...
Building Release configuration...
✅ Build successful
📊 Built 121 DLL files
Preparing installer script...
✅ Version updated to 11.0.0
Building installer...
Script: E:\Projects\pgsql-jellyfin\jellyfin-setup.iss
Output: E:\Projects\pgsql-jellyfin\installer-output
✅ Installer built successfully!
╔══════════════════════════════════════════════════════════╗
║ Installer Build Complete! ✅ ║
╚══════════════════════════════════════════════════════════╝
📦 Installer Details:
File: JellyfinSetup-PostgreSQL-11.0.0.exe
Path: E:\Projects\pgsql-jellyfin\installer-output\JellyfinSetup-PostgreSQL-11.0.0.exe
Size: 45.3 MB
Date: 2026-02-26 7:15:23 PM
Troubleshooting
"Inno Setup not found"
winget install JRSoftware.InnoSetup
"Build folder not found"
# Build the solution first
dotnet build Jellyfin.Server --configuration Release
"Installer script not found"
# Make sure jellyfin-setup.iss is in the solution root
ls jellyfin-setup.iss
Build fails
# Check for compilation errors
dotnet build Jellyfin.Server --configuration Release
Testing Your Installer
Normal Install
.\installer-output\JellyfinSetup-PostgreSQL-11.0.0.exe
Silent Install
.\installer-output\JellyfinSetup-PostgreSQL-11.0.0.exe /VERYSILENT /LOG=install.log
Install Without Service
.\installer-output\JellyfinSetup-PostgreSQL-11.0.0.exe /TASKS="!service"
Uninstall
# From Control Panel > Programs and Features
# Or from Start Menu > Jellyfin PostgreSQL > Uninstall
All Fixed and Ready! ✅
The syntax error has been corrected and the script is now ready to use.
Just run: .\build-installer.ps1