fix(windows-host): ISCC [Code] — don't put {tmp} inside a Pascal comment
ISCC aborted compiling the installer at the web-console [Code] section: a comment
`{ ... {tmp} is auto-cleaned. }` — Pascal `{ }` comments don't nest, so the `}` in
`{tmp}` closed the comment early and `is auto-cleaned. }` parsed as code ("Identifier
expected"). Reword to drop the brace. (All other {app}/{tmp} uses are `;` line-comments
or code strings, which are fine.)
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -267,7 +267,7 @@ begin
|
|||||||
begin
|
begin
|
||||||
StopHostServiceAndWait;
|
StopHostServiceAndWait;
|
||||||
#ifdef WithWeb
|
#ifdef WithWeb
|
||||||
{ Stash the chosen password for web-setup.ps1 (fresh install only); {tmp} is auto-cleaned. }
|
{ Stash the chosen password for web-setup.ps1 (fresh install only); the temp copy is auto-cleaned. }
|
||||||
if FreshWebInstall then
|
if FreshWebInstall then
|
||||||
SaveStringToFile(ExpandConstant('{tmp}\webpw.txt'), Trim(WebPwPage.Values[0]), False);
|
SaveStringToFile(ExpandConstant('{tmp}\webpw.txt'), Trim(WebPwPage.Values[0]), False);
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
Reference in New Issue
Block a user