Browse Source

Comment tweak.

Martijn Laan 4 years ago
parent
commit
80f794062f
1 changed files with 1 additions and 2 deletions
  1. 1 2
      Examples/Example3.iss

+ 1 - 2
Examples/Example3.iss

@@ -51,13 +51,12 @@ Root: HKLM; Subkey: "Software\My Company"; Flags: uninsdeletekeyifempty; Check:
 Root: HKLM; Subkey: "Software\My Company\My Program"; Flags: uninsdeletekey; Check: IsAdminInstallMode
 Root: HKLM; Subkey: "Software\My Company\My Program\Settings"; ValueType: string; ValueName: "InstallPath"; ValueData: "{app}"; Check: IsAdminInstallMode
 ; User specific settings should always be written to HKCU, which should only
-; be done in non administrative install mode.
+; be done in non administrative install mode. Also see ShouldSkipPage below.
 Root: HKCU; Subkey: "Software\My Company\My Program\Settings"; ValueType: string; ValueName: "UserName"; ValueData: "{userinfoname}"; Check: not IsAdminInstallMode
 Root: HKCU; Subkey: "Software\My Company\My Program\Settings"; ValueType: string; ValueName: "UserOrganization"; ValueData: "{userinfoorg}"; Check: not IsAdminInstallMode
 
 [Code]
 function ShouldSkipPage(PageID: Integer): Boolean;
 begin
-  // User specific pages should be skipped in administrative install mode
   Result := IsAdminInstallMode and (PageID = wpUserInfo);
 end;