rmoc
Posts: 64
Joined: Tue Mar 14, 2017 8:27 pm

.net Core Custom Action stuck

I have two .NET CORE CustomActions in my test project. I created these using the project template from the “Advanced Installer for Visual Studio 2022” extension. These read the properties via MsiSession instance in a loop and update these values. When executing the first CustomAction, this works without any problems. When executing the second CustomAction, it simply stops after several loops.
stuck.png
stuck.png (122.21 KiB) Viewed 3322 times
When I use the VS2022 remote debugger to check where it is currently stuck, I find myself in this function.
stuck2.png
stuck2.png (93.43 KiB) Viewed 3322 times
This problem is currently blocking the development of my setup project and thus its productive use.

Testproject:
CustomActionTest.zip
(14.12 KiB) Downloaded 135 times
Catalin
Posts: 7606
Joined: Wed Jun 13, 2018 7:49 am

Re: .net Core Custom Action stuck

Hello Rene,

Wanted to let you know that I've been able to reproduce this on our and and that this is currently under our investigation.

I will update this thread as soon as I will have more details as to why this is happening, as it seems like a strange behavior.

I apologize for any inconvenience it might have caused.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Catalin
Posts: 7606
Joined: Wed Jun 13, 2018 7:49 am

Re: .net Core Custom Action stuck

Hello Rene,

Wanted to let you know that we've managed to find the culprit here and to fix the issue.

The fix should be available in our next release, which is scheduled in a few days.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
rmoc
Posts: 64
Joined: Tue Mar 14, 2017 8:27 pm

Re: .net Core Custom Action stuck

Hello Catalin,

Many thanks for the support. Nice to hear that the problem could be solved.

Regards,
René
Catalin
Posts: 7606
Joined: Wed Jun 13, 2018 7:49 am

Re: .net Core Custom Action stuck

You are always welcome, René! :)

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Catalin
Posts: 7606
Joined: Wed Jun 13, 2018 7:49 am

Re: .net Core Custom Action stuck

Hello René,

This has been fixed in version 22.8 of Advanced Installer.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”