Martijn Laan 6 years ago
parent
commit
c368c73680
4 changed files with 3 additions and 13 deletions
  1. 0 3
      Examples/Example1.iss
  2. 0 3
      Examples/Example2.iss
  3. 3 4
      Examples/Example3.iss
  4. 0 3
      Examples/UnicodeExample1.iss

+ 0 - 3
Examples/Example1.iss

@@ -12,9 +12,6 @@ UninstallDisplayIcon={app}\MyProg.exe
 Compression=lzma2
 SolidCompression=yes
 OutputDir=userdocs:Inno Setup Examples Output
-; This script works in both administrative and non administrative install mode.
-; Remove the next line to run in administrative install mode.  
-PrivilegesRequired=lowest
 
 [Files]
 Source: "MyProg.exe"; DestDir: "{app}"

+ 0 - 3
Examples/Example2.iss

@@ -15,9 +15,6 @@ UninstallDisplayIcon={app}\MyProg.exe
 Compression=lzma2
 SolidCompression=yes
 OutputDir=userdocs:Inno Setup Examples Output
-; This script works in both administrative and non administrative install mode.
-; Remove the next line to run in administrative install mode.  
-PrivilegesRequired=lowest
 
 [Files]
 Source: "MyProg.exe"; DestDir: "{app}"

+ 3 - 4
Examples/Example3.iss

@@ -1,5 +1,6 @@
 ; -- Example3.iss --
-; Same as Example1.iss, but creates some registry entries too.
+; Same as Example1.iss, but creates some registry entries too and allows the end
+; use to choose the install mode (administrative or non administrative).
 
 ; SEE THE DOCUMENTATION FOR DETAILS ON CREATING .ISS SCRIPT FILES!
 
@@ -14,9 +15,7 @@ SolidCompression=yes
 OutputDir=userdocs:Inno Setup Examples Output
 ChangesAssociations=yes
 UserInfoPage=yes
-; This script works in both administrative and non administrative install mode.
-; Remove the next line to run in administrative install mode.  
-PrivilegesRequired=lowest
+PrivilegesRequiredOverridesAllowed=dialog
 
 [Files]
 Source: "MyProg.exe"; DestDir: "{app}"

+ 0 - 3
Examples/UnicodeExample1.iss

@@ -12,9 +12,6 @@ UninstallDisplayIcon={app}\ƃoɹdʎɯ.exe
 Compression=lzma2
 SolidCompression=yes
 OutputDir=userdocs:Inno Setup Examples Output
-; This script works in both administrative and non administrative install mode.
-; Remove the next line to run in administrative install mode.  
-PrivilegesRequired=lowest
 
 [Files]
 Source: "MyProg.exe"; DestDir: "{app}"; DestName: "ƃoɹdʎɯ.exe"