Author Topic: BUG Avast + InnoSetup executable produce ShellExecuteEx error  (Read 1460 times)

0 Members and 1 Guest are viewing this topic.

Offline xxcmp

  • Newbie
  • *
  • Posts: 3
BUG Avast + InnoSetup executable produce ShellExecuteEx error
« on: October 14, 2019, 05:58:14 PM »
When I'm trying to create new installer for my software. When I run this installer on some computers with Avast free installed, I got error message like this:
Error
---------------------------
ShellExecuteEx failed; code 3221226505.
---------------------------
ОК

I can just ignore this message and installer will continue works.
Also
No error on computer without avast antivirus.
No errors when running "as administrator". And no errors when running it for second time.

Steps to reproduce:

Windows 10 (ver. 1803 ), user logged with administrative priveleges.
Download and install "free avast antivirus" leaving all settings on it's default values.
Download and install "quick start pack" of inno setup installer from http://www.jrsoftware.org/isdl.php
Run script studio and create new empty setup project.

    [Setup]
    AppId={{842C759C-1353-4873-9930-DA2A83F6F5BF}
    AppName="Tes"
    AppVersion="1.67"
    DefaultDirName={pf}
    OutputBaseFilename=tstsetup

ctrl-f9
and try to run tstsetup.exe from output directory
At first time I always get

---------------------------
Error
---------------------------
ShellExecuteEx failed; code 3221226505.


---------------------------
ОК   
---------------------------

Compiled installer is here
https://dropmefiles.com/XyXvp

Offline Asyn

  • Avast Überevangelist
  • Certainly Bot
  • *****
  • Posts: 72818
    • >>>  Avast Forum - Deutschsprachiger Bereich  <<<
Win 8.1 [x64] - Avast PremSec 21.10.6772.IBC [UI.679] - EEK - Firefox ESR 91.3 [NS/uBO/PB] - TB 91.3.2
Avast-Tools: Secure Browser 96.0 - Cleanup 21.3 - SecureLine 5.14 - Driver Updater 21.3 - CCleaner 5.87
Avast Wissenswertes (Downloads, Anleitungen & Infos): https://forum.avast.com/index.php?topic=60523.0

Offline igor

  • Avast team
  • Serious Graphoman
  • *
  • Posts: 11808
    • AVAST Software
Re: BUG Avast + InnoSetup executable produce ShellExecuteEx error
« Reply #2 on: October 15, 2019, 12:20:16 PM »
I tried to reproduce it, but didn't get any error when I ran the installer.
Would you be able to guess what those "some computers" you mention can have in common?

Offline xxcmp

  • Newbie
  • *
  • Posts: 3
Re: BUG Avast + InnoSetup executable produce ShellExecuteEx error
« Reply #3 on: October 15, 2019, 10:59:23 PM »
As you're a developer, read here...

-> https://support.avast.com/article/229/
-> https://support.avast.com/article/228/

Ok, thanks for this links.
But I don't have any problems with false positive detections etc.
Only trying to avoid annoying messagebox which ( most probably ) produces avast.


I tried to reproduce it, but didn't get any error when I ran the installer.
Would you be able to guess what those "some computers" you mention can have in common?
I don't have this error on my computer also.  But was able to confirm this bug on two "non-developers" computers.

I can create VM for it.
Is virtualbox ok for you?

Offline xxcmp

  • Newbie
  • *
  • Posts: 3
Re: BUG Avast + InnoSetup executable produce ShellExecuteEx error
« Reply #4 on: October 16, 2019, 04:01:10 PM »
Ok

I was trying to repeat it on completely new install.
Downloaded Win10 ( last option ) image for from here:
https://developer.microsoft.com/en-us/microsoft-edge/tools/vms/
Run it in virtualbox, installed avast.
When I downloaded (my) archive and ran tstsetup.exe, avast poped me up black and green screen "Threat secured" instead of that annoying "ShellExecuteEx error".
Think, that avast (or win10 ) is throwing this "ShellExecuteEx error" when can't show black and green screen "Threat secured".
So might be some conflicted software, or windows version, or whatever..
If you can't reproduce that "ShellExecuteEx error" I could keep helping you to find the reason. 'Cause as I can see I'm not alone who stuck with it.

Thank you !