Inno Setup: How to change LicenseFile text?
up vote
2
down vote
favorite
I have a single license.txt file. I use it for all of my applications.
[Setup]
LicenseFile=license.txt
I want my user to see a title "#MyAppName License Agreement" at the top of the license agreement. I don't want to change license.txt content.
Is there any inno setup code way to achieve this? Thanks in advance.
inno-setup
add a comment |
up vote
2
down vote
favorite
I have a single license.txt file. I use it for all of my applications.
[Setup]
LicenseFile=license.txt
I want my user to see a title "#MyAppName License Agreement" at the top of the license agreement. I don't want to change license.txt content.
Is there any inno setup code way to achieve this? Thanks in advance.
inno-setup
1
Do you want to change the wizard page title (the bold "License Agreement") or some heading in the license file itself?
– Martin Prikryl
Nov 9 at 9:13
Some heading in the license file itself is what I need.
– Andrzej
Nov 9 at 11:21
1
Hey, I like WinSCP by the way :)
– Andrzej
Nov 9 at 11:24
add a comment |
up vote
2
down vote
favorite
up vote
2
down vote
favorite
I have a single license.txt file. I use it for all of my applications.
[Setup]
LicenseFile=license.txt
I want my user to see a title "#MyAppName License Agreement" at the top of the license agreement. I don't want to change license.txt content.
Is there any inno setup code way to achieve this? Thanks in advance.
inno-setup
I have a single license.txt file. I use it for all of my applications.
[Setup]
LicenseFile=license.txt
I want my user to see a title "#MyAppName License Agreement" at the top of the license agreement. I don't want to change license.txt content.
Is there any inno setup code way to achieve this? Thanks in advance.
inno-setup
inno-setup
asked Nov 9 at 7:56
Andrzej
5919
5919
1
Do you want to change the wizard page title (the bold "License Agreement") or some heading in the license file itself?
– Martin Prikryl
Nov 9 at 9:13
Some heading in the license file itself is what I need.
– Andrzej
Nov 9 at 11:21
1
Hey, I like WinSCP by the way :)
– Andrzej
Nov 9 at 11:24
add a comment |
1
Do you want to change the wizard page title (the bold "License Agreement") or some heading in the license file itself?
– Martin Prikryl
Nov 9 at 9:13
Some heading in the license file itself is what I need.
– Andrzej
Nov 9 at 11:21
1
Hey, I like WinSCP by the way :)
– Andrzej
Nov 9 at 11:24
1
1
Do you want to change the wizard page title (the bold "License Agreement") or some heading in the license file itself?
– Martin Prikryl
Nov 9 at 9:13
Do you want to change the wizard page title (the bold "License Agreement") or some heading in the license file itself?
– Martin Prikryl
Nov 9 at 9:13
Some heading in the license file itself is what I need.
– Andrzej
Nov 9 at 11:21
Some heading in the license file itself is what I need.
– Andrzej
Nov 9 at 11:21
1
1
Hey, I like WinSCP by the way :)
– Andrzej
Nov 9 at 11:24
Hey, I like WinSCP by the way :)
– Andrzej
Nov 9 at 11:24
add a comment |
1 Answer
1
active
oldest
votes
up vote
1
down vote
accepted
For example, to change the fist line of license, you can do:
[Code]
procedure InitializeWizard();
begin
WizardForm.LicenseMemo.Lines[0] := '#MyAppName License Agreement';
WizardForm.LicenseMemo.SelStart := 0;
end;
Another way is to use Inno Setup preprocessor to generate a modified license file out of your template file.
1
That's great. Thank you
– Andrzej
Nov 9 at 12:21
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
accepted
For example, to change the fist line of license, you can do:
[Code]
procedure InitializeWizard();
begin
WizardForm.LicenseMemo.Lines[0] := '#MyAppName License Agreement';
WizardForm.LicenseMemo.SelStart := 0;
end;
Another way is to use Inno Setup preprocessor to generate a modified license file out of your template file.
1
That's great. Thank you
– Andrzej
Nov 9 at 12:21
add a comment |
up vote
1
down vote
accepted
For example, to change the fist line of license, you can do:
[Code]
procedure InitializeWizard();
begin
WizardForm.LicenseMemo.Lines[0] := '#MyAppName License Agreement';
WizardForm.LicenseMemo.SelStart := 0;
end;
Another way is to use Inno Setup preprocessor to generate a modified license file out of your template file.
1
That's great. Thank you
– Andrzej
Nov 9 at 12:21
add a comment |
up vote
1
down vote
accepted
up vote
1
down vote
accepted
For example, to change the fist line of license, you can do:
[Code]
procedure InitializeWizard();
begin
WizardForm.LicenseMemo.Lines[0] := '#MyAppName License Agreement';
WizardForm.LicenseMemo.SelStart := 0;
end;
Another way is to use Inno Setup preprocessor to generate a modified license file out of your template file.
For example, to change the fist line of license, you can do:
[Code]
procedure InitializeWizard();
begin
WizardForm.LicenseMemo.Lines[0] := '#MyAppName License Agreement';
WizardForm.LicenseMemo.SelStart := 0;
end;
Another way is to use Inno Setup preprocessor to generate a modified license file out of your template file.
answered Nov 9 at 12:14
Martin Prikryl
84k22159351
84k22159351
1
That's great. Thank you
– Andrzej
Nov 9 at 12:21
add a comment |
1
That's great. Thank you
– Andrzej
Nov 9 at 12:21
1
1
That's great. Thank you
– Andrzej
Nov 9 at 12:21
That's great. Thank you
– Andrzej
Nov 9 at 12:21
add a comment |
Thanks for contributing an answer to Stack Overflow!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Some of your past answers have not been well-received, and you're in danger of being blocked from answering.
Please pay close attention to the following guidance:
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53221771%2finno-setup-how-to-change-licensefile-text%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
1
Do you want to change the wizard page title (the bold "License Agreement") or some heading in the license file itself?
– Martin Prikryl
Nov 9 at 9:13
Some heading in the license file itself is what I need.
– Andrzej
Nov 9 at 11:21
1
Hey, I like WinSCP by the way :)
– Andrzej
Nov 9 at 11:24