![]() |
1 Attachment(s)
Quote:
I try apply gif in WizardForm in a month ago and now... Use GifLib by SkyGZ(Support All version of innoSetup) |
Quote:
|
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. |
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!
|
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. |
Quote:
|
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! |
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! |
Yes you have to make it with registry.
|
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?
|
^^
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 /fCode:
Source: disable_path_limit.bat; DestDir: {tmp}; Flags: dontcopyCode:
ExtractTemporaryFile('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. |
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. |
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!
|
1 Attachment(s)
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! |
Why doesn't (innoSetup) compile my script?
Code:
#define public RequiredSpace "1000" |
You cannot mix ISPP and CODE section codes.
Try like this: Code:
#define public RequiredSpace "1000" |
Quote:
Code:
[_Code] |
Help
does anyone know how to convert this following Delphi code into InnoSetup?
alternatively, if you have any other suggestions on how to accomplish this in a similar manner, please feel free to share your thoughts. thanks. Code:
usesCode:
USAGE:Code:
MyDll: |
Can someone explain what this is used for and what is filemapping?
Code:
function CreateFileMapping(File mapping is a technique that allows you to map the contents of a file into the virtual memory space of a process. This allows you to access the contents of the file as if it were in memory, rather than on disk. There are several benefits to using file mapping: • Performance: File mapping can improve the performance of file I/O operations by reducing the number of disk accesses. When you map a file into memory, the operating system can use its virtual memory management mechanisms to cache the contents of the file in memory. This means that subsequent accesses to the file can be satisfied from memory, rather than requiring a disk access. • Concurrency: File mapping allows multiple processes to access the same file concurrently. When multiple processes map the same file into their virtual memory space, they can all access the contents of the file simultaneously. This can be useful for inter-process communication and data sharing. • Ease of use: File mapping allows you to access the contents of a file using memory-mapped I/O operations, rather than traditional file I/O operations. This can make it easier to work with files, as you can use pointer arithmetic and other memory-based operations to manipulate the contents of the file. Overall, file mapping is a powerful technique that can improve the performance and ease-of-use of file I/O operations. It is widely used in many different types of applications and is supported by most modern operating systems. |
error everytime
Hi
In last days I used method (xt_zlib+srep_new:3+LOLZ_NORMAL) DiskSpan In thes games Call of Duty Ghosts Call of Duty Black Ops 4 A Plague Tale Requiem but every time after click on install this what come to me https://i.ibb.co/rGnJSM6/Desktop-06-...-14-11-734.png what is the wrong that I did? |
Quote:
Make sure the selected installation path is not too long. Try installing in a folder like "D:\Games\Call of Duty Ghosts" It also cannot contain special characters in the installation path. |
My question is not about INNO but batch. Since batch is not something I deal everyday with, I need some help here. I don't want to open a new topic for this.
I have some files which I extract with a tool. The problem is that the extracted folders have the exact name as the files. For example Code:
File1.abc > Folder1.abcI already tried something like this but didn't work. Code:
for /d %%i in (*.abc) do ren "%%~i" * |
Quote:
Code:
for /d %%i in (*.abc) do ren "%%~i" "%%~ni" |
Thanks this works :)
|
Hi all !
How can i get the installed app's path to 'DefaultDirName' ? I have a reg-entry : Windows Registry Editor Version 5.00 [HKEY_LOCAL_MACHINE\SOFTWARE\WOW6432Node\Microsoft\ Windows\CurrentVersion\Uninstall\MyApp] "InstallLocation"="D:\\MyProgram" Theoretically in InnoSetup's [setup] section DefaultDirName={reg:HKLM64\HKEY_LOCAL_MACHINE\SOFT WARE\Microsoft\Windows\CurrentVersion\Uninstall\My App, InstallLocation} should do the job. But no... Any idea ? Note : (there are "spaces" in the example paths,etc. Its only visible here,dont know why. I my script they doesnt exists. No matter.) |
Quote:
Code:
DefaultDirName={reg:HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\My App_is1,InstallLocation|{pf}\My App} |
Thank you very much!
I will try and report back ASAP ! Its working fine ! Thanks ! :) |
Quote:
|
ChatGPT is notoriously bad at writing complicated code. Sure, it can write simple algorithms, I use it sometimes to write quick scripts for making my repacks, but anything beyond this it usually gets the syntax wrong or the program will not work.
|
Quote:
|
Question's
01.how to show Component Page before the Select Dir Page (without creating custom forms or anything like that) in Inno setup 5.5.1 ee2 version?
02.how to calculate the required disk space based on the components selected and show in gigabyte on Component page in Inno setup 5.5.1 ee2 version? I actually found an answer to this. But it doesn't work. If someone gives an answer to these two, it will be a great help <3 Code:
var |
Hello everybody,
I'm using IsArcEx for FreeArc archive decompression and I am attempting to apply a hdiffz patch after install, here is how I'm doing so: Code:
procedure patching;Code:
if (ISArcDiskAddingSuccess) and ISArcExInit(MainForm.Handle, {#TimeFormat}, @ProgressCallback) thenWhat I would like to happen is the timer continuing and after the patch is applied for it to end. Thanks in advance |
audiofeel, How would I achieve this without utilizing FMXInno.dll?
|
Quick update.
What I was doing was using absolute paths instead of using relative ones, this lead the patch to attempt to execute but it would lead to an error. The way I fixed it, if anyone encounters this issue in the future was to copy the necessary files to {app} and run with relative paths there. |
SelectDisk
1 Attachment(s)
Hello everyone, I am trying to implement the function (SelectDisk) that is available in (InnoSetup) 6, so I wrote the code that is in the (zip) file below, but after execution
1: If I click on the (OK) button and if the requested file is not there, it should give me an error, but it ignores this. 2: If I click on the (cancel) button, it should show me the exit message box, but it ignores it. I will be glad if someone can fix the problems of this code :) |
1 Attachment(s)
Quote:
I recommend putting OnClick procedures for the "OK" and "Cancel" buttons and putting your functions there, then you can set the values of the global variable "ModalResult". |
Hey, I'm a new member and joined yesterday. I am a complete noob but have learned a lot reading through this forum in just one day. I am currently using ASIS: Advanced Simple Installer Script and want to change the background JPG slideshow to a GIF image. I have found GifLib.dll but do not know how to adjust the script code and wondered if someone with know-how can do this for me or show me what needs changing. I have no coding experience, but I learn pretty quick, I'm a visual learner.
I have put the GifLib.dll in ASIS.v7.4.4\Resources\Modules\InstallBG folder i have found the following lines in the script that I'm assuming need changing: #if UseInstallBackground Source: "Resources\Modules\InstallBG\InnoCallback.dll" ; DestDir: "{tmp}"; Flags: dontcopy Source: "Resources\Modules\InstallBG\IsSlideShow.dll"; DestDir: "{tmp}"; Flags: dontcopy #sub AddFile2 Source: "Setup\Background\{#i}.jpg"; DestDir: "{tmp}"; Flags: dontcopy #endsub #for {i = 1; FileExists("Setup\Background" + Str(i) + ".jpg" ) != 0; i++} AddFile2 #endif Any help appreciated. |
function GetVolumeFreeSpace(const RootDir: PAnsichar; const OutSizeType: Byte): Double; external 'GetVolumeFreeSpace@files:Isab.dll stdcall delayload';
Good morning, how to extract the value from the function above? I've tried: value.Caption:=StrToInt(GetVolumeFreeSpace); value.Caption:=FloatToStr(GetVolumeFreeSpace); value.Caption:=StrToFloat(GetVolumeFreeSpace); I have "invalid parameters" issue. How can i fix the problem? Thanks in advance! |
Quote:
Use this function instead. |
hi !
Need a little help here... I tried many combinations ,googled for it ,but no solution. (Standard ISDone) I want to include/extract some files (XTool-BIK compressor) in my installer and extract them to a sub-folder in {tmp} but the subfolder is not created. Simply all files extracted to the same place ( {tmp} ) ,and it is not good.... Here comes a snippet : #ifdef xBIK Source: Include\XToolbpk\_libraries\bik.ini; DestDir: "{tmp}\xBIK\_libraries"; Flags: dontcopy recursesubdirs createallsubdirs Source: Include\XToolbpk\_libraries\bk2.ini; DestDir: "{tmp}\xBIK\_libraries"; Flags: dontcopy recursesubdirs createallsubdirs ....... #ifdef xBIK ExtractTemporaryFile('bik.ini'); ExtractTemporaryFile('bk2.ini'); Whats wrong with my script ? |
| All times are GMT -7. The time now is 04:08. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
FileForums @ https://fileforums.com