From edc1fccc3672ed5f2c6deef4c4c2ec1aa2e77b7c Mon Sep 17 00:00:00 2001 From: Cristian Stoica Date: Tue, 23 Apr 2024 03:06:55 +0300 Subject: [PATCH] Updated the installer file to use relative paths within the parent folder. --- .gitignore | 3 ++- YPDSetup/YPDSetup.iss | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 492d4ff..5e4cd8c 100644 --- a/.gitignore +++ b/.gitignore @@ -299,4 +299,5 @@ __pycache__/ *.xsd.cs YoutubePlaylistDownloader/ffmpeg.exe -YoutubePlaylistDownloader/taglib-sharp.dll \ No newline at end of file +/Installer Output/ +/FFmpeg/ diff --git a/YPDSetup/YPDSetup.iss b/YPDSetup/YPDSetup.iss index f31e92f..5d87306 100644 --- a/YPDSetup/YPDSetup.iss +++ b/YPDSetup/YPDSetup.iss @@ -16,7 +16,7 @@ AppUpdatesURL=https://github.com/shaked6540/YoutubePlaylistDownloader DefaultDirName={commonpf}\YouTube Playlist Downloader DefaultGroupName=YouTube Playlist Downloader AllowNoIcons=yes -OutputDir=D:\Inno output\1.9.24 +OutputDir=..\Installer Output\1.9.24\ OutputBaseFilename=YoutubePlaylistDownloader SetupIconFile=..\YoutubePlaylistDownloader\finalIcon.ico Compression=lzma @@ -32,7 +32,7 @@ Name: "desktopicon"; Description: "{cm:CreateDesktopIcon}"; GroupDescription: "{ [Files] Source: "..\YoutubePlaylistDownloader\bin\Release\net8.0-windows\*"; DestDir: "{app}"; Flags: ignoreversion -Source: "C:\bin\bin32\ffmpeg.exe"; DestDir: "{app}"; Flags: ignoreversion +Source: "..\FFmpeg\ffmpeg.exe"; DestDir: "{app}"; Flags: ignoreversion ; NOTE: Don't use "Flags: ignoreversion" on any shared system files