From 7dad881d98c9cf2405a276dd3238a61474d81b72 Mon Sep 17 00:00:00 2001 From: enricobuehler Date: Fri, 19 Jun 2026 07:36:01 +0000 Subject: [PATCH] fix(packaging/windows): add '\' after {#SourcePath} in the .iss [Files] ISPP's {#SourcePath} has no trailing backslash, so {#SourcePath}..\..\scripts resolved to ...\packaging\windows..\..\scripts (invalid component "windows..") -> ISCC error 2 "path not found". Add the explicit separator (a double backslash is harmless on Windows if a future ISPP ever adds the trailing one). Co-Authored-By: Claude Opus 4.8 (1M context) --- packaging/windows/punktfunk-host.iss | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/packaging/windows/punktfunk-host.iss b/packaging/windows/punktfunk-host.iss index 4de4341..162736c 100644 --- a/packaging/windows/punktfunk-host.iss +++ b/packaging/windows/punktfunk-host.iss @@ -56,8 +56,9 @@ Name: "startservice"; Description: "Start the punktfunk host service now (also s [Files] Source: "{#BinDir}\punktfunk-host.exe"; DestDir: "{app}"; Flags: ignoreversion -Source: "{#SourcePath}..\..\scripts\windows\host.env.example"; DestDir: "{app}"; Flags: ignoreversion -Source: "{#SourcePath}README.md"; DestDir: "{app}"; DestName: "README.txt"; Flags: ignoreversion +; {#SourcePath} (the .iss dir) has no trailing backslash — keep the explicit '\' separator. +Source: "{#SourcePath}\..\..\scripts\windows\host.env.example"; DestDir: "{app}"; Flags: ignoreversion +Source: "{#SourcePath}\README.md"; DestDir: "{app}"; DestName: "README.txt"; Flags: ignoreversion #ifdef WithDriver ; The driver payload + nefconc.exe + install-sudovda.ps1, extracted to {tmp} and removed after install. Source: "{#StageDir}\*"; DestDir: "{tmp}\sudovda"; Flags: deleteafterinstall recursesubdirs createallsubdirs; Tasks: installdriver