Join us for SoftSummit 2023. The 20th anniversary of the industry leading software monetization conference. April 18 and 20. Register Now

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
GM1985
Level 2

Error 7141

Version: InstallShield 2020 R3 SP1

When building our installer we get error 7141 on one or multiple files (different each time we try to build the installer), a description of the error and a workaround is specified here: 

https://community.flexera.com/t5/InstallShield-Knowledge-Base/Build-Error-7141/ta-p/3760

Unfortunately we are unable to use the workaround (disable anti-virus) due to company policies. Is there another way to prevent this error? Is this fixed in newer versions?

Extra information:

The build can fail on one or more files when building. The files it fails on are not always the same, even when using the exact same source. Occasionally the build might succeed, even though the exact same source is used that failed to build 50 times before.

Considering that the files that give an error is not always the same and that disabling the anti-virus should prevent the error, it seems like this is caused by a timing issue where the anti-virus is still checking a new file when InstallShield wants to access it. 

If this is the case then it might be pretty easy to fix within InstallShield by implementing a check/wait till the file is free to use and/or just implement a retry with a short delay. On the other hand, you would expect the issue to have been fixed already if it was that simple.

Thanks in advance

Labels (1)
0 Kudos
3 Replies
Revenera_Ian
Revenera Moderator Revenera Moderator
Revenera Moderator

Hi @GM1985,

Thank you for your post.

Please accept our apologies for the confusion and any frustration.

I understand that permanently disabling antivirus software is not an option for you due to company policies. But were you able to temporarily disable antivirus software to try to confirm whether antivirus software is causing this issue? I'm trying to determine whether we know what the cause is (if it's antivirus software or something else) or whether that's still part of what we're trying to determine.

Please let us know if you have any questions or concerns. Thanks!

0 Kudos

I was able to get the same issue in a local virtual machine. The issue shows up less often, but still happens pretty regularly. Disabling the anti-virus on this virtual machine does seem to prevent the issue. 

0 Kudos
Revenera_Ian
Revenera Moderator Revenera Moderator
Revenera Moderator

Hi @GM1985,

Thank you for your reply.

Could you please send me the anti-virus software vendor and the name of the anti-virus software via private message, so I can take a look?

Please let us know if you have any questions or concerns. Thanks!

0 Kudos