joiner Posted Monday at 05:18 PM Posted Monday at 05:18 PM 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
argumentum Posted Monday at 06:26 PM Posted Monday at 06:26 PM 1 hour ago, joiner said: Why does the system put the parent process in the "suspended" state? An anti virus may want to do that while it figures out if "yes or no" on the current process and its files. Look into that. Unless that is not it but I doubt that is anything else. Follow the link to my code contribution ( and other things too ). FAQ - Please Read Before Posting.
argumentum Posted Monday at 08:11 PM Posted Monday at 08:11 PM ..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.
joiner Posted yesterday at 11:20 AM Author Posted yesterday at 11:20 AM (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 yesterday at 11:22 AM by joiner
argumentum Posted yesterday at 02:06 PM Posted yesterday at 02:06 PM ..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.
joiner Posted yesterday at 06:12 PM Author Posted yesterday at 06:12 PM (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 yesterday at 06:13 PM by joiner
argumentum Posted yesterday at 06:20 PM Posted yesterday at 06:20 PM wow, ..I meant the basic offending process, not the whole project. I'll look at it tomorrow. Got to AFK. Follow the link to my code contribution ( and other things too ). FAQ - Please Read Before Posting.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now