Skip to content

Commit 3786cc4

Browse files
committed
6.0.2
1 parent 6951338 commit 3786cc4

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

63 files changed

+2524
-3794
lines changed

Compil32.exe

1.3 MB
Binary file not shown.

Default.isl

Lines changed: 32 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
; *** Inno Setup version 5.5.3+ English messages ***
1+
; *** Inno Setup version 6.0.0+ English messages ***
22
;
33
; To download user-contributed translations of this file, go to:
44
; http://www.jrsoftware.org/files/istrans/
@@ -42,6 +42,7 @@ ErrorTitle=Error
4242
SetupLdrStartupMessage=This will install %1. Do you wish to continue?
4343
LdrCannotCreateTemp=Unable to create a temporary file. Setup aborted
4444
LdrCannotExecTemp=Unable to execute file in the temporary directory. Setup aborted
45+
HelpTextNote=
4546

4647
; *** Startup error messages
4748
LastErrorMessage=%1.%n%nError %2: %3
@@ -55,14 +56,23 @@ WindowsServicePackRequired=This program requires %1 Service Pack %2 or later.
5556
NotOnThisPlatform=This program will not run on %1.
5657
OnlyOnThisPlatform=This program must be run on %1.
5758
OnlyOnTheseArchitectures=This program can only be installed on versions of Windows designed for the following processor architectures:%n%n%1
58-
MissingWOW64APIs=The version of Windows you are running does not include functionality required by Setup to perform a 64-bit installation. To correct this problem, please install Service Pack %1.
5959
WinVersionTooLowError=This program requires %1 version %2 or later.
6060
WinVersionTooHighError=This program cannot be installed on %1 version %2 or later.
6161
AdminPrivilegesRequired=You must be logged in as an administrator when installing this program.
6262
PowerUserPrivilegesRequired=You must be logged in as an administrator or as a member of the Power Users group when installing this program.
6363
SetupAppRunningError=Setup has detected that %1 is currently running.%n%nPlease close all instances of it now, then click OK to continue, or Cancel to exit.
6464
UninstallAppRunningError=Uninstall has detected that %1 is currently running.%n%nPlease close all instances of it now, then click OK to continue, or Cancel to exit.
6565

66+
; *** Startup questions
67+
PrivilegesRequiredOverrideTitle=Select Setup Install Mode
68+
PrivilegesRequiredOverrideInstruction=Select install mode
69+
PrivilegesRequiredOverrideText1=%1 can be installed for all users (requires administrative privileges), or for you only.
70+
PrivilegesRequiredOverrideText2=%1 can be installed for you only, or for all users (requires administrative privileges).
71+
PrivilegesRequiredOverrideAllUsers=Install for &all users
72+
PrivilegesRequiredOverrideAllUsersRecommended=Install for &all users (recommended)
73+
PrivilegesRequiredOverrideCurrentUser=Install for &me only
74+
PrivilegesRequiredOverrideCurrentUserRecommended=Install for &me only (recommended)
75+
6676
; *** Misc. errors
6777
ErrorCreatingDir=Setup was unable to create the directory "%1"
6878
ErrorTooManyFilesInDir=Unable to create a file in the directory "%1" because it contains too many files
@@ -93,7 +103,7 @@ ButtonNewFolder=&Make New Folder
93103

94104
; *** "Select Language" dialog messages
95105
SelectLanguageTitle=Select Setup Language
96-
SelectLanguageLabel=Select the language to use during the installation:
106+
SelectLanguageLabel=Select the language to use during the installation.
97107

98108
; *** Common wizard text
99109
ClickNext=Click Next to continue, or Cancel to exit Setup.
@@ -237,7 +247,10 @@ SelectDirectoryLabel=Please specify the location of the next disk.
237247
238248
; *** Installation phase messages
239249
SetupAborted=Setup was not completed.%n%nPlease correct the problem and run Setup again.
240-
EntryAbortRetryIgnore=Click Retry to try again, Ignore to proceed anyway, or Abort to cancel installation.
250+
AbortRetryIgnoreSelectAction=Select action
251+
AbortRetryIgnoreRetry=&Try again
252+
AbortRetryIgnoreIgnore=&Ignore the error and continue
253+
AbortRetryIgnoreCancel=Cancel installation
241254
242255
; *** Installation status messages
243256
StatusClosingApplications=Closing applications...
@@ -268,11 +281,13 @@ ErrorRegWriteKey=Error writing to registry key:%n%1\%2
268281
ErrorIniEntry=Error creating INI entry in file "%1".
269282
270283
; *** File copying errors
271-
FileAbortRetryIgnore=Click Retry to try again, Ignore to skip this file (not recommended), or Abort to cancel installation.
272-
FileAbortRetryIgnore2=Click Retry to try again, Ignore to proceed anyway (not recommended), or Abort to cancel installation.
284+
FileAbortRetryIgnoreSkipNotRecommended=&Skip this file (not recommended)
285+
FileAbortRetryIgnoreIgnoreNotRecommended=&Ignore the error and continue (not recommended)
273286
SourceIsCorrupted=The source file is corrupted
274287
SourceDoesntExist=The source file "%1" does not exist
275-
ExistingFileReadOnly=The existing file is marked as read-only.%n%nClick Retry to remove the read-only attribute and try again, Ignore to skip this file, or Abort to cancel installation.
288+
ExistingFileReadOnly2=The existing file could not be replaced because it is marked read-only.
289+
ExistingFileReadOnlyRetry=&Remove the read-only attribute and try again
290+
ExistingFileReadOnlyKeepExisting=&Keep the existing file
276291
ErrorReadingExistingDest=An error occurred while trying to read the existing file:
277292
FileExists=The file already exists.%n%nWould you like Setup to overwrite it?
278293
ExistingFileNewer=The existing file is newer than the one Setup is trying to install. It is recommended that you keep the existing file.%n%nDo you want to keep the existing file?
@@ -287,6 +302,16 @@ ErrorRegisterServer=Unable to register the DLL/OCX: %1
287302
ErrorRegSvr32Failed=RegSvr32 failed with exit code %1
288303
ErrorRegisterTypeLib=Unable to register the type library: %1
289304
305+
; *** Uninstall display name markings
306+
; used for example as 'My Program (32-bit)'
307+
UninstallDisplayNameMark=%1 (%2)
308+
; used for example as 'My Program (32-bit, All users)'
309+
UninstallDisplayNameMarks=%1 (%2, %3)
310+
UninstallDisplayNameMark32Bit=32-bit
311+
UninstallDisplayNameMark64Bit=64-bit
312+
UninstallDisplayNameMarkAllUsers=All users
313+
UninstallDisplayNameMarkCurrentUser=Current user
314+
290315
; *** Post-installation errors
291316
ErrorOpeningReadme=An error occurred while trying to open the README file.
292317
ErrorRestartingComputer=Setup was unable to restart the computer. Please do this manually.

Examples/64Bit.iss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
[Setup]
1010
AppName=My Program
1111
AppVersion=1.5
12-
DefaultDirName={pf}\My Program
12+
WizardStyle=modern
13+
DefaultDirName={autopf}\My Program
1314
DefaultGroupName=My Program
1415
UninstallDisplayIcon={app}\MyProg.exe
1516
Compression=lzma2

Examples/64BitThreeArch.iss

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
; -- 64BitThreeArch.iss --
2+
; Demonstrates how to install a program built for three different
3+
; architectures (x86, x64, ARM64) using a single installer.
4+
5+
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING .ISS SCRIPT FILES!
6+
7+
[Setup]
8+
AppName=My Program
9+
AppVersion=1.5
10+
WizardStyle=modern
11+
DefaultDirName={autopf}\My Program
12+
DefaultGroupName=My Program
13+
UninstallDisplayIcon={app}\MyProg.exe
14+
Compression=lzma2
15+
SolidCompression=yes
16+
OutputDir=userdocs:Inno Setup Examples Output
17+
; "ArchitecturesInstallIn64BitMode=x64 arm64" requests that the install
18+
; be done in "64-bit mode" on x64 & ARM64, meaning it should use the
19+
; native 64-bit Program Files directory and the 64-bit view of the
20+
; registry. On all other architectures it will install in "32-bit mode".
21+
ArchitecturesInstallIn64BitMode=x64 arm64
22+
23+
[Files]
24+
; Install MyProg-x64.exe if running on x64, MyProg-ARM64.exe if
25+
; running on ARM64, MyProg.exe otherwise.
26+
; Place all x64 files here
27+
Source: "MyProg-x64.exe"; DestDir: "{app}"; DestName: "MyProg.exe"; Check: InstallX64
28+
; Place all ARM64 files here, first one should be marked 'solidbreak'
29+
Source: "MyProg-ARM64.exe"; DestDir: "{app}"; DestName: "MyProg.exe"; Check: InstallARM64; Flags: solidbreak
30+
; Place all x86 files here, first one should be marked 'solidbreak'
31+
Source: "MyProg.exe"; DestDir: "{app}"; Check: InstallOtherArch; Flags: solidbreak
32+
; Place all common files here, first one should be marked 'solidbreak'
33+
Source: "MyProg.chm"; DestDir: "{app}"; Flags: solidbreak
34+
Source: "Readme.txt"; DestDir: "{app}"; Flags: isreadme
35+
36+
[Icons]
37+
Name: "{group}\My Program"; Filename: "{app}\MyProg.exe"
38+
39+
[Code]
40+
function InstallX64: Boolean;
41+
begin
42+
Result := Is64BitInstallMode and (ProcessorArchitecture = paX64);
43+
end;
44+
45+
function InstallARM64: Boolean;
46+
begin
47+
Result := Is64BitInstallMode and (ProcessorArchitecture = paARM64);
48+
end;
49+
50+
function InstallOtherArch: Boolean;
51+
begin
52+
Result := not InstallX64 and not InstallARM64;
53+
end;

Examples/64BitTwoArch.iss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,10 @@
1010
[Setup]
1111
AppName=My Program
1212
AppVersion=1.5
13-
DefaultDirName={pf}\My Program
13+
DefaultDirName={autopf}\My Program
1414
DefaultGroupName=My Program
1515
UninstallDisplayIcon={app}\MyProg.exe
16+
WizardStyle=modern
1617
Compression=lzma2
1718
SolidCompression=yes
1819
OutputDir=userdocs:Inno Setup Examples Output

Examples/AllPagesExample.iss

Lines changed: 114 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,114 @@
1+
; -- AllPagesExample.iss --
2+
; Same as Example1.iss, but shows all the wizard pages Setup may potentially display
3+
4+
; SEE THE DOCUMENTATION FOR DETAILS ON CREATING .ISS SCRIPT FILES!
5+
6+
[Setup]
7+
AppName=My Program
8+
AppVersion=1.5
9+
WizardStyle=modern
10+
DefaultDirName={autopf}\My Program
11+
DefaultGroupName=My Program
12+
UninstallDisplayIcon={app}\MyProg.exe
13+
Compression=lzma2
14+
SolidCompression=yes
15+
OutputDir=userdocs:Inno Setup Examples Output
16+
17+
DisableWelcomePage=no
18+
LicenseFile=license.txt
19+
#define Password 'password'
20+
Password={#Password}
21+
InfoBeforeFile=readme.txt
22+
UserInfoPage=yes
23+
PrivilegesRequired=lowest
24+
DisableDirPage=no
25+
DisableProgramGroupPage=no
26+
InfoAfterFile=readme.txt
27+
28+
[Files]
29+
Source: "MyProg.exe"; DestDir: "{app}"
30+
Source: "MyProg.chm"; DestDir: "{app}"
31+
Source: "Readme.txt"; DestDir: "{app}"; Flags: isreadme
32+
33+
[Icons]
34+
Name: "{group}\My Program"; Filename: "{app}\MyProg.exe"
35+
36+
[Components]
37+
Name: "component"; Description: "Component";
38+
39+
[Tasks]
40+
Name: "task"; Description: "Task";
41+
42+
[Code]
43+
var
44+
OutputProgressWizardPage: TOutputProgressWizardPage;
45+
OutputProgressWizardPageAfterID: Integer;
46+
47+
procedure InitializeWizard;
48+
var
49+
InputQueryWizardPage: TInputQueryWizardPage;
50+
InputOptionWizardPage: TInputOptionWizardPage;
51+
InputDirWizardPage: TInputDirWizardPage;
52+
InputFileWizardPage: TInputFileWizardPage;
53+
OutputMsgWizardPage: TOutputMsgWizardPage;
54+
OutputMsgMemoWizardPage: TOutputMsgMemoWizardPage;
55+
AfterID: Integer;
56+
begin
57+
WizardForm.PasswordEdit.Text := '{#Password}';
58+
59+
AfterID := wpSelectTasks;
60+
61+
AfterID := CreateCustomPage(AfterID, 'CreateCustomPage', 'ADescription').ID;
62+
63+
InputQueryWizardPage := CreateInputQueryPage(AfterID, 'CreateInputQueryPage', 'ADescription', 'ASubCaption');
64+
InputQueryWizardPage.Add('&APrompt:', False);
65+
AfterID := InputQueryWizardPage.ID;
66+
67+
InputOptionWizardPage := CreateInputOptionPage(AfterID, 'CreateInputOptionPage', 'ADescription', 'ASubCaption', False, False);
68+
InputOptionWizardPage.Add('&AOption');
69+
AfterID := InputOptionWizardPage.ID;
70+
71+
InputDirWizardPage := CreateInputDirPage(AfterID, 'CreateInputDirPage', 'ADescription', 'ASubCaption', False, 'ANewFolderName');
72+
InputDirWizardPage.Add('&APrompt:');
73+
InputDirWizardPage.Values[0] := 'C:\';
74+
AfterID := InputDirWizardPage.ID;
75+
76+
InputFileWizardPage := CreateInputFilePage(AfterID, 'CreateInputFilePage', 'ADescription', 'ASubCaption');
77+
InputFileWizardPage.Add('&APrompt:', 'Executable files|*.exe|All files|*.*', '.exe');
78+
AfterID := InputFileWizardPage.ID;
79+
80+
OutputMsgWizardPage := CreateOutputMsgPage(AfterID, 'CreateOutputMsgPage', 'ADescription', 'AMsg');
81+
AfterID := OutputMsgWizardPage.ID;
82+
83+
OutputMsgMemoWizardPage := CreateOutputMsgMemoPage(AfterID, 'CreateOutputMsgMemoPage', 'ADescription', 'ASubCaption', 'AMsg');
84+
AfterID := OutputMsgMemoWizardPage.ID;
85+
86+
OutputProgressWizardPage := CreateOutputProgressPage('CreateOutputProgressPage', 'ADescription');
87+
OutputProgressWizardPageAfterID := AfterID;
88+
end;
89+
90+
function NextButtonClick(CurPageID: Integer): Boolean;
91+
var
92+
Position, Max: Integer;
93+
begin
94+
if CurPageID = OutputProgressWizardPageAfterID then begin
95+
try
96+
Max := 25;
97+
for Position := 0 to Max do begin
98+
OutputProgressWizardPage.SetProgress(Position, Max);
99+
if Position = 0 then
100+
OutputProgressWizardPage.Show;
101+
Sleep(2000 div Max);
102+
end;
103+
finally
104+
OutputProgressWizardPage.Hide;
105+
end;
106+
end;
107+
Result := True;
108+
end;
109+
110+
function PrepareToInstall(var NeedsRestart: Boolean): String;
111+
begin
112+
if SuppressibleMsgBox('Do you want to stop Setup at the Preparing To Install wizard page?', mbConfirmation, MB_YESNO, IDNO) = IDYES then
113+
Result := 'Stopped by user';
114+
end;

Examples/CodeAutomation.iss

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
[Setup]
66
AppName=My Program
77
AppVersion=1.5
8+
WizardStyle=modern
9+
DisableWelcomePage=no
810
CreateAppDir=no
911
DisableProgramGroupPage=yes
1012
DefaultGroupName=My Program
@@ -160,7 +162,7 @@ end;
160162
{--- MSXML ---}
161163
162164
const
163-
XMLURL = 'http://jrsoftware.github.io/issrc/ishelp/isxfunc.xml';
165+
XMLURL = 'http://jrsoftware.github.io/issrc/ISHelp/isxfunc.xml';
164166
XMLFileName = 'isxfunc.xml';
165167
XMLFileName2 = 'isxfuncmodified.xml';
166168
@@ -305,6 +307,4 @@ begin
305307
CreateButton(Left, Top, '&MSXML...', @MSXMLButtonOnClick);
306308
Top := Top + TopInc;
307309
CreateButton(Left, Top, '&Word...', @WordButtonOnClick);
308-
end;
309-
310-
310+
end;

Examples/CodeAutomation2.iss

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
;
33
; This script shows how to use IUnknown based COM Automation objects.
44
;
5-
; REQUIRES UNICODE INNO SETUP!
6-
;
75
; Note: some unneeded interface functions which had special types have been replaced
86
; by dummies to avoid having to define those types. Do not remove these dummies as
97
; that would change the function indices which is bad. Also, not all function
@@ -12,6 +10,8 @@
1210
[Setup]
1311
AppName=My Program
1412
AppVersion=1.5
13+
WizardStyle=modern
14+
DisableWelcomePage=no
1515
CreateAppDir=no
1616
DisableProgramGroupPage=yes
1717
DefaultGroupName=My Program
@@ -80,7 +80,7 @@ begin
8080
8181
{ Save the shortcut }
8282
PF := IPersistFile(Obj);
83-
OleCheck(PF.Save(ExpandConstant('{commondesktop}\CodeAutomation2 Test.lnk'), True));
83+
OleCheck(PF.Save(ExpandConstant('{autodesktop}\CodeAutomation2 Test.lnk'), True));
8484
8585
MsgBox('Saved a shortcut named ''CodeAutomation2 Test'' on the common desktop.', mbInformation, mb_Ok);
8686
end;

0 commit comments

Comments
 (0)