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

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...