![]() |
^^
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.) |
| All times are GMT -7. The time now is 03:47. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
FileForums @ https://fileforums.com