We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

ShayanFiroozi
Posts: 3
Joined: Sat Aug 05, 2023 9:55 pm

Windows Defender

I need to add my app executable file or its entire folder to the Windows Defender Exception list.

Thank you
Liviu
Posts: 1420
Joined: Tue Jul 13, 2021 11:29 am
Contact: Website

Re: Windows Defender

Hello,

I'm afraid we do not have predefined support for this.

However, you can easily achieve this through a custom action. For example, you can use a PowerShell script with the Add-MpPreference cmdlet.

Code: Select all

Add-MpPreference -ExclusionPath 'C:\Temp'

This command adds the folder C:\Temp to the exclusion list. The command disables Windows Defender scheduled and real-time scanning for files in this folder.

For more details, please refer to the Add-MpPreference
article.

Hope this helps!

Best regards,
Liviu
________________________________________
Liviu Sandu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
zander1989
Posts: 3
Joined: Sun Mar 10, 2024 4:42 am

Re: Windows Defender

Hey, Could you tell me if this will work after the installation to add the entire folder where its installed?


This doesn't rely seem to work :

Code: Select all

Add-MpPreference -ExclusionPath '[APPDIR]'
Liviu
Posts: 1420
Joined: Tue Jul 13, 2021 11:29 am
Contact: Website

Re: Windows Defender

Hello,

Please note that I replied on the other topic you posted here.

Best regards,
Liviu
________________________________________
Liviu Sandu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”