Skip to content

Commit 0d9047b

Browse files
committed
resolve innosetup bad flag/brace comment
1 parent 3a77234 commit 0d9047b

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

‎installer/setup.iss‎

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2236,7 +2236,7 @@ begin
22362236
Result := False;
22372237
if (StoragePermissionsPage <> nil) and (PageID = StoragePermissionsPage.ID) then
22382238
begin
2239-
if WizardSilent or WizardVerySilent then
2239+
if WizardSilent then
22402240
begin
22412241
Result := True;
22422242
Exit;
@@ -2305,7 +2305,7 @@ var
23052305
AppDataRoot: String;
23062306
begin
23072307
SilentForcedAppDataFrom := '';
2308-
if not (WizardSilent or WizardVerySilent) then
2308+
if not WizardSilent then
23092309
Exit;
23102310
23112311
Candidate := NormalizePath(GetInstallRoot(''));
@@ -2381,7 +2381,7 @@ begin
23812381
else
23822382
AppendInstallLogWarn('Current-token ACL repair failed to start');
23832383
2384-
if WizardSilent or WizardVerySilent then
2384+
if WizardSilent then
23852385
begin
23862386
if AllowDegradedAclsParam() then
23872387
begin
@@ -2586,11 +2586,11 @@ begin
25862586
ShimDir := ExpandConstant('{app}\.shim');
25872587
DataShimDir := AddBackslash(GetDataRoot('')) + '.shim';
25882588
2589-
{ Runtime LockShimDirectory makes .shim a protected read-only DACL.
2590-
When DataRoot == {app}, reinstall extracts node.exe here and Inno reports
2591-
"create a file in the destination directory: Access is denied."
2592-
User still has WRITE_DAC, so icacls /reset works without elevation.
2593-
When DataRoot differs, unlock both ProgramRoot and DataRoot shim dirs. }
2589+
// Runtime LockShimDirectory makes .shim a protected read-only DACL.
2590+
// When DataRoot == {app}, reinstall extracts node.exe here and Inno reports
2591+
// "create a file in the destination directory: Access is denied."
2592+
// User still has WRITE_DAC, so icacls /reset works without elevation.
2593+
// When DataRoot differs, unlock both ProgramRoot and DataRoot shim dirs.
25942594
if DirExists(ShimDir) then
25952595
begin
25962596
if Exec(
@@ -3072,7 +3072,7 @@ begin
30723072
'Shim finalize incomplete (locked/hung Node process). User must close Node apps and run: nvm reshim'
30733073
);
30743074
3075-
if WizardSilent or WizardVerySilent then
3075+
if WizardSilent then
30763076
Exit;
30773077
30783078
MessageText :=
@@ -3306,7 +3306,7 @@ var
33063306
begin
33073307
Result := True;
33083308
3309-
if WizardSilent or WizardVerySilent then
3309+
if WizardSilent then
33103310
begin
33113311
if ScanBlockingInstallProcesses(ProcessList) then
33123312
begin

0 commit comments

Comments
 (0)