|
|
|
#1
|
|||
|
|||
|
I'm bloody new to Inno Setup script.
I've created the bins for a game, but I'm unsure how to have Inno decompress them Compression was PrecompX+srep+lolz precompx\x64\PrecompX.exe -e - - <stdin> <stdout> srep\srep.exe -m3f -l512 $$arcdatafile$$.tmp $$arcpackedfile$$.tmp lolz\lolz_x64.exe -d256 -mc192 -mt4 $$arcdatafile$$.tmp $$arcpackedfile$$.tmp Besides a few basic tutorials, I've not come across anything about decompression with ISS... |
| Sponsored Links |
|
#2
|
||||
|
||||
|
Quote:
__________________
¤ Life good be a Dream ¤ |
| The Following User Says Thank You to Lord.Freddy For This Useful Post: | ||
PercyMaliek (16-09-2022) | ||
|
#3
|
||||
|
||||
|
You don't need ISDone library, there is ISArcEx here: https://fileforums.com/showthread.php?t=104980
If you want to use ISDone library, there is a example script somewhere on the internet, most likely where ISDone library is shared by it's creator (krinkels.org) Moreover, to a new person I would not suggest scripts like ASIS, CIU and such to learn about this, they are just too much.
__________________
Haters gonna hate
|
| The Following User Says Thank You to KaktoR For This Useful Post: | ||
PercyMaliek (16-09-2022) | ||
|
#4
|
||||
|
||||
|
Has anyone implemented Inno Download Plugin in their script? I'm looking to implement it be able to offer redist. packages like Nvidia's PhysX (for titles such as the first two "Metro" titles and some Ubisoft titles) to the end-user, whilst avoiding having to include the executable itself (since some are still 35MB+ after packing them!) and instead fetching a download link. If anyone could show me their implementation I'd very much appreciate any insight anyone could offer!
|
|
#5
|
||||
|
||||
|
Quote:
I recommend using DwinsHs (Downloader for Inno Setup). DwinsHs already has an example script. I use DwinsHs code in DiskSpan GUI to download plugins and it works great. |
| The Following User Says Thank You to Cesar82 For This Useful Post: | ||
L33THAK0R (26-09-2022) | ||
|
#6
|
||||
|
||||
|
Quote:
|
|
#7
|
|||
|
|||
|
Hello everybody! I have an issue with isskin.dll in inno setup welcome page final exe: if I use a version of isskin.dll (395.184 byte, date: 02/12/2012) and mouse scroll, welcome page text scrolls, the scrollbar appears, but it doesn't work (if I try to move scrollbar by using mouse left button or by pressing scrollup or scrolldown button, nothing happens).
If I use another version of isskin.dll (395.184 byte, date: 04/11/2009) and mouse scroll, welcome page text scrolls, the scrollbar appears AND IT works, but the skin i've choosen DOESN'T work (the skin is white reguardless *.cjstyles file). I've tried several isskin.dll versions founded on internet, but nothing different happens. Is it a bug? Do I need a specific version of isskin.dll? Thank you! |
|
#8
|
|||
|
|||
|
Hi!
Is there a way to enforce compatibility mode for an executable using Inno Setup? For example, Crysis in my tests requires compatbility mode to be set to Win Vista SP2 so I was wondering if this can be done automatically after the game has been decompressed onto the users' computer. Thanks! |
|
#9
|
||||
|
||||
|
Yes you have to make it with registry.
__________________
Haters gonna hate
|
|
#10
|
||||
|
||||
|
Is there any way to execute a registry update as the first operation of an install? I'm currently packing the "LEGO" games by the "Traveler's Tales" developers and as many of you undoubtedly know the unpacked "*.dat" archives can have some rather long paths for some files, particularly in newer titles. As a fix to this I'm currently planning to launch either a basic registry script in the form of a ".reg" or use Inno Setup's built-in registry functions to disable Window's 256 character limit (which is perfectly safe to do and only requires a very small modification, I honestly don't know why it isn't disabled by default), but I'm currently a tad unsure how to proceed, has anyone accomplished anything similar in the past, that they'd be willing to share details on?
|
|
#11
|
|||
|
|||
|
^^
I don't see why you wouldn't be able to put an Exec2 leading to a batch file before ISDone (or whatever implementation you use to bridge Inno Setup and FreeArc) starts. A suggestion, Paste this into a batch file and save it as disable_path_limit.bat: Code:
REG ADD "HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\FileSystem" /v "LongPathsEnabled" /t REG_DWORD /d 1 /f Code:
Source: disable_path_limit.bat; DestDir: {tmp}; Flags: dontcopy
Code:
ExtractTemporaryFile('disable_path_limit.bat');
Exec2(ExpandConstant('{tmp}\disable_path_limit.bat'),'',false);
DeleteFile(ExpandConstant('{tmp}\disable_path_limit.bat'));
Note that this batch file requires admin permissions so providing the installer is running in an elevated state, the script should face no issues. |
|
#12
|
||||
|
||||
|
Quote:
UPDATE: It seems that FreeArc doesn't like Long Paths regardless of the registry, looks like I'll have to resign myself to using a shorter default folder name. Last edited by L33THAK0R; 12-01-2023 at 00:36. |
|
#13
|
|||
|
|||
|
Good morning everybody! Is there any way to add a check box in setup.exe for unnecessary .bin files (e.g. soundtracks, manuals, .png images, bonus content in general) and the corresponding instructions in archives.ini file for inno setup? Which are the needed instructions for it? Thank you so much!
|
|
#14
|
||||
|
||||
|
Does anyone know how to change the border cursor of an EDIT?
See the attached file. I would like the cursor when entering the edit to also display the "Hand" cursor and not the "Arrow" cursor. P.S: If you disable the Edit border, this cursor is not displayed. Although the attachment file is created in delphi I would like a solution that I can use in Inno Setup. Thanks! |
|
#15
|
||||
|
||||
|
Quote:
Code:
[_Code] const IDC_MYCURSOR = 100; // Custom cursor ID var MyCursor: HCURSOR; function LoadCursorFromFile(lpFileName: string): HCURSOR; external '[email protected] stdcall'; procedure InitializeWizard; begin MyCursor := LoadCursorFromFile('C:\Path\To\MyCursor.cur'); end; procedure CurPageChanged(CurPageID: Integer); var EditHandle: HWND; begin if CurPageID = wpSelectDir then begin EditHandle := WizardForm.DirEdit.Handle; SendMessage(EditHandle, EM_SETCURSOR, 0, LPARAM(MyCursor)); end; end;
__________________
¤ Life good be a Dream ¤ |
![]() |
|
|
Similar Threads
|
||||
| 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 |