|
|
|
|
|||||||
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
I added isdone support to a generic script. I need some help please
I have little knowledge of inno scripts. I added isdone support. I just made it look like fitgirls script. Now i want to add wintb.dll support but i am getting errors.
My scripts only lacks "create desktop icon " and " dont create start icon" in select dir page, if possible please add that too. Thanks in advance. I am uploading only .iss file as my internet speed is too damn slow (only 15kbps). |
| Sponsored Links |
|
#2
|
|||
|
|||
|
I added wintb support..
now remains the win dir part, if anybody is then please help me add it. |
|
#3
|
||||
|
||||
|
What you mean with "win dir part" ?
For icons create first variables then functions and procedures Example: Code:
var
StartMenuIcons, DesktopIconCheckBox: TNewCheckBox;
function CreateIcons: Boolean;
begin
Result := DesktopIconCheckBox.Checked;
end;
procedure StartMenuIconsClick(Sender: TObject);
begin
if StartMenuIcons.Checked = True then begin
WizardForm.GroupEdit.Enabled := False;
WizardForm.GroupBrowseButton.Enabled := False;
end else begin
WizardForm.GroupEdit.Enabled := True;
WizardForm.GroupBrowseButton.Enabled := True;
end;
end;
Code:
[Icons]
Name: "{group}\{#AppName}"; Filename: "{app}\{#AppExec}"; Check: CreateIcons
Name: "{commondesktop}\{#AppName}"; Filename: "{app}\{#AppExec}"; Check: CreateIcons
Code:
procedure InitializeWizard();
begin
StartMenuIcons := TNewCheckBox.Create(WizardForm);
with StartMenuIcons do begin
Parent := WizardForm.SelectDirPage;
Left := ScaleX(8);
Top := ScaleY(150);
Width := ScaleX(240);
Height := ScaleY(17);
Caption := 'Create Start menu icons';
OnClick := @StartMenuIconsClick; //Which action should be performed when OnClick (=clicked)
end;
DesktopIconCheckBox := TNewCheckBox.Create(WizardForm);
with DesktopIconCheckBox do begin
Parent := WizardForm.SelectDirPage;
Left := ScaleX(8);
Top := ScaleY(170);
Width := ScaleX(240);
Height := ScaleY(17);
Caption := 'Create Desktop icon';
end;
end;
__________________
Haters gonna hate
|
| The Following User Says Thank You to KaktoR For This Useful Post: | ||
ZakirAhmad (21-02-2018) | ||
|
#4
|
|||
|
|||
|
Quote:
Bro i also want to change srepinit virtual memory to percentage value. but the cls.ini is overwritten by srepinit function of of isdone. Please help me here. i also how can i add in info page of setup like FItgirl. thanks |
|
#5
|
||||
|
||||
|
Try something like this
Code:
SaveStringToFile(ExpandConstant('{tmp}\cls.ini'), '[Srep]'+#13#10+'Memory=75%'+#13#10+'TempPath='+ExpandConstant('{app}'), True);
__________________
Haters gonna hate
|
|
#6
|
|||
|
|||
|
where can i write this bro.
|
|
#7
|
||||
|
||||
|
Code:
#ifdef srep2
ExtractTemporaryFile('cls-srep.dll');
ExtractTemporaryFile('CLS.ini');
SaveStringToFile(ExpandConstant('{tmp}\CLS.ini'), '[Srep]'+#13#10+'Memory=75%'+#13#10+'TempPath='+ExpandConstant('{app}'), True);
#endif
__________________
Haters gonna hate
|
|
#8
|
|||
|
|||
|
Thanks bro, I will try it. One last thing. How can i Format text like FItgirl in infobefore page of inno setup.
|
|
#9
|
||||
|
||||
|
Use .rtf file
[Setup] InfoBeforeFile=Info.rtf
__________________
Haters gonna hate
|
|
#10
|
|||
|
|||
|
thanks
i added SaveStringToFile function to script but their r now two entries of srep in script. one of srepinit function another of savestring to function.
|
![]() |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| altef_4's installer | altef_4 | Conversion Tutorials | 244 | 24-05-2024 22:20 |
| Ultimate Conversion Compressor (UCC) | vollachr | Conversion Tutorials | 55 | 26-04-2021 09:27 |
| yener90's Inno Project Source Codes | yener90 | Conversion Tutorials | 1475 | 21-10-2014 09:50 |
| Biathlon 2006 Problems... Please help! | RamGuy | General Gaming | 1 | 10-04-2006 03:23 |