#1306
|
|||
|
|||
@pakrat2k2 or @Bulat Can you give me an example of use of facompress.dll and fazip.exe? (ISDone). Please, thanks.
|
Sponsored Links |
#1307
|
|||
|
|||
Luis, Delphi 9 is fully compatible with unicode, that's why your script is working properly, you can try to compile Inno Unicode with Delphi 2009, worked for me. Also you can dll your functions in Delphi 2009 and should work fine in Inno.
Now a question, is there a way to get Inno Setup Extended Edition sorce code? I'd like to compile my own Inno with a different DiskID. |
#1308
|
|||
|
|||
How to make 2 or more icon in inno setup?
|
#1309
|
||||
|
||||
try:
[Icons] Name: "{group}\My Program"; Filename: "{app}\MyProg.exe"; Components: main; Tasks: startmenu Name: "{group}\My Program Help"; Filename: "{app}\MyProg.chm"; Components: help; Tasks: startmenu Name: "{commondesktop}\My Program"; Filename: "{app}\MyProg.exe"; Components or in INNO > HELP > documentation, search for icon, for more info. |
#1310
|
|||
|
|||
i need some help in modifying xml using innosetup
Code:
<?xml version="1.0"?> <Settings> <Setting type="10" key="DownloadInPlaceDir" value="D:\Games\My Games"/> <Setting type="10" key="LastUsernameToLoginProd" value="fb2076434038419fa915a7c07bc4768f2b847bd600b9482d440f1ced341a48c64654c4fdec3f57a7b1b35d4913675d33d8c7793691b0ff84caaf6815ee873f91964e2fe64cbf4683"/> <Setting type="10" key="RememberMeProd" value="1b07700a38e33470"/> <Setting type="10" key="RememberMeUserIdProd" value="1b07700a38e33470"/> <Setting type="10" key="TFAIdProd" value="1b07700a38e33470"/> </Settings> i have tried this script but no luck yet... Code:
procedure CurStepChanged(CurStep: TSetupStep); var UnicodeStr: string; ANSIStr: AnsiString; begin if (CurStep = ssPostInstall) then begin LoadStringFromFile(ExpandConstant('{src}\apps.xml'), ANSIStr) UnicodeStr := String(ANSIStr); StringChangeEx(UnicodeStr, 'DownloadInPlaceDir', ExpandConstant('{src}'), False) SaveStringToFile(ExpandConstant('{src}\apps.xml'), AnsiString(UnicodeStr), False); end; end; |
#1311
|
||||
|
||||
Need some help.
Code:
function InitializeSetup(): Boolean; begin if FileExists(ExpandConstant('{tmp}\Setup.cjstyles')) then begin LoadSkin(ExpandConstant('{tmp}\Setup.cjstyles'), ''); Result := True; end; if FileExists(ExpandConstant('{tmp}\Setup.vsf')) then begin LoadVCLStyle(ExpandConstant('{tmp}\Setup.vsf')); Result := True; end; end; procedure DeinitializeSetup(); begin if FileExists(ExpandConstant('{tmp}\Setup.cjstyles')) then begin UnloadSkin(); end; if FileExists(ExpandConstant('{tmp}\Setup.vsf')) then begin UnLoadVCLStyles; end; end; Maybe i am blind and don't see the mistake ![]() Edit: Ok after a cup of coffee i just found my mistake. Result := True was missing in InitializeSetup
__________________
Haters gonna hate
Last edited by KaktoR; 11-08-2017 at 22:28. |
#1312
|
|||
|
|||
![]()
fixed !
Last edited by -NORO-; 22-08-2017 at 13:55. |
The Following User Says Thank You to -NORO- For This Useful Post: | ||
EzzEldin16 (21-08-2017) |
#1313
|
||||
|
||||
You must write a code of "mousedown" for the custom form.
|
#1314
|
|||
|
|||
![]()
Nevermind , fixed
Thank you JRD! ![]() Last edited by -NORO-; 21-08-2017 at 16:34. |
#1315
|
|||
|
|||
Quote:
__________________
XD |
#1316
|
||||
|
||||
Quote:
The procedure "onmousedown" is a fixed property of a label in a custom form in which one have to add the mouse drag procedure. like this, OnMouseDown:[email protected]; And the "INFOMouseDown" procedure is the mouse drag procedure which can be like this, procedure INFOMouseDown(Sender: TObject; Button: TMouseButton; Shift: TShiftState; X, Y: Integer); begin ReleaseCapture; SendMessage(InfoForm.Handle,$0112,$F012,0); end; And one thing, you have cracked my mod, so You can see there is more things than coping a code. No one can make such type of mod by just only coping the codes. Last edited by Chayan Manna; 21-08-2017 at 21:17. |
#1317
|
|||
|
|||
Quote:
|
#1318
|
||||
|
||||
#1319
|
|||
|
|||
![]()
The
procedure CreateSystemPage(); i placed under InitializeWizard; but it should be placed under InitializeSetup Again all credit goes to JRD! ![]() |
#1320
|
||||
|
||||
Anyone knows how to draw shadow on text TLabel?
Google comes up with nothing.
__________________
Haters gonna hate
|
![]() |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
INNO TROUBLESHOOT - Tutorials and Answers about INNO Setup | REV0 | Conversion Tutorials | 129 | 21-05-2021 05:51 |
INNO TUTORIAL - Using Unicode and ANSI Versions of INNO Setup | REV0 | Conversion Tutorials | 51 | 26-03-2015 06:57 |
Frequently Asked Questions | Joe Forster/STA | PC Games - Frequently Asked Questions | 0 | 29-11-2005 09:48 |