Jump to content

Recommended Posts

Posted

Hello everyone. Perhaps my question is more about the OS than autoit.
Project: files are packed into archives, then all this is packed into Inno Setup via its script. When launched, Inno Setup unpacks some of the files into a temporary folder and launches "autoit3.exe file.a3x".
The last file creates a graphical autoit window. Automatically searches for a path to a specific folder. Next, the window selects files for unpacking. At this time, Inno Setup is waiting for a list of files. Mutex is used. And when you click the "install" button (unpacking additional files from Inno Setup), the Inno Setup process is in "paused" mode. Everything freezes. If you select the path manually, there is no freeze. For some, this does not help.
If you run the autoit file from a temporary folder manually, there is no freeze. Decided that the problem was in Inno Setup (latest version)
I used another option - only autoit works, extracts files from itself and runs "autoit3.exe file.a3x". Again, it freezes. If I run it manually from a folder, it works without problems. But if I create a .bat command file and run "autoit3.exe file.a3x", it freezes again.
Now an important point: this has not been observed for several years of the project's work. And everything works fine on my computers and still works amazingly. This problem occurred to some users. A small number. As one of them said, in more than 90% of cases the code works for everyone. Is the problem in the OS? Different builds with reduced functionality?
Why does the system put the parent process in the "suspended" state? Moreover, in this mode the parent process begins to strain the computer's processor up to 20-30%.
Running as administrator or regular user does not solve the problem
Windows 10-11 operating systems
Used udf
_GDIPlus_StripProgressbar.au3
Bass.au3

Posted

..no idea.

2 hours ago, joiner said:

Setup is waiting for a list of files. Mutex is used. And when you click the "install" button (unpacking additional files from Inno Setup), the Inno Setup process is in "paused" mode. Everything freezes. If you select the path manually, there is no freeze. For some, this does not help.

Maybe there is a path that is slow to return ( mapped network, drive in sleep mode ) and that does it ?

Follow the link to my code contribution ( and other things too ).
FAQ - Please Read Before Posting.
autoit_scripter_blue_userbar.png

Posted (edited)

the program is launched from the system disk. The required folder is located on the system disk

ssd disk

the path search occurs in the system registry

Edited by joiner
Posted

..am at a loss. Without a sample code to compile on my side to run and investigate, ..am out of ideas. And even if you shared the code, I'd have a small percentage of been able to find it with the described flaws given that is sporadic.
Is up to you. As is, I don't find a way to help more.

Follow the link to my code contribution ( and other things too ).
FAQ - Please Read Before Posting.
autoit_scripter_blue_userbar.png

Posted (edited)

Thanks for your participation.
Yes, you probably won't get such a bug. The user of my project said that the project works fine for the vast majority of people.
In my system, the main process is in standby mode and quickly responds to the command of the child script. I did the project on different computers and systems. I have never encountered such a bug
That's why I decided that it was the operating system's fault.
Okay, thanks again for the answers. Maybe someone will suggest another reason
I'll leave a link to the source codes. Compilation in a3x
files for compilation:
controlw_def
fileprjt_def
JMPACK _def
unmod_def
The fileprjt_def file is an installation file. It works when installing files in the desired folder. Launch after compilation - click on the RunJMPack.bat file
The official version of Inno Setup is in the CompilerISS folder. This program is a shell for the project, the parent process. The download example is in the Project folder. This can be compiled into an executable file.
The language folder contains translations of the program interface. When you launch the program, select your language.
I want to assure you that my program does not corrupt other people's files, does not serve to hack programs, and is not a bot or clicker.
Thank you

download

Edited by joiner

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...