C
C#8mo ago
illy

❔ Releasing Software

I recently wrote a program using Avalonia, and I’ve uploaded an exe to github on the project so users can download and use the program I made. I’m running into an issue however that windows users keep getting a blue notification box when they run my program saying like Windows Stopped this file from running, and you have to click ‘More Info’ and then ‘Run Anyways’ for it to actually work and launch my program. I’m new to releasing software, so I don’t really k ow where to go to fix this. I’m not sure how to make windows happy with my program. What causes this, and how can I securely fix it?
21 Replies
Mrloic
Mrloic8mo ago
Submit a file for malware analysis - Microsoft Security Intelligence
Submit suspected malware or incorrectly detected files for analysis. Submitted files will be added to or removed from antimalware definitions based on the analysis results.
Trinitek
Trinitek8mo ago
this is SmartScreen and it will continue to show up until your EXE builds some reputation as people continue to download it you can avoid smartscreen by signing your EXE with a code signing certificate if you submit your app to the Microsoft Store, you pay a small fee up-front to open your account, and they'll sign your releases for you, and it'll be available in the store otherwise you can purchase a cert from a certificate authority, which is expensive ballpark is around $200 per year depending on who you get it from
Mrloic
Mrloic8mo ago
doesn't this bypass Windows' certification buildup though? (not bypass but shortcuts, poor wording)
Trinitek
Trinitek8mo ago
it won't make smartscreen go away, but it might show a less scary message
Mrloic
Mrloic8mo ago
Despairge
arion
arion8mo ago
I believe it shows something like "Unknown publisher" and some bright colors instead of saying "Smartscreen protected your pc" What I've seen some people do, which is kind of malwarey in the sense of that authorities should be trusted is, telling the user to install your own Root Certificate Authority then you sign your own app (and others), you essentially become the service people would usually pay for. Issue is, it will show "Unknown publisher" to anyone that doesn't have that Authority installed. This approach is not recommended though, it can compromise PC security
illy
illy8mo ago
Hm, so just get lots of people to download my program?
arion
arion8mo ago
For smartscreen, yes, your application will still show a scary warning when they try to run it as admin. Normal running a signed application as admin:
No description
arion
arion8mo ago
Compared to an unsigned application as admin:
arion
arion8mo ago
No description
Accord
Accord8mo ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.
illy
illy8mo ago
Oh, wait So, say I make an installer for my program, that requires the user to run as admin to install the program. Then, will the program itself show the warning still?
arion
arion8mo ago
Yes
illy
illy8mo ago
Hm, alright So just get people to use my program till SmartScreen chills out
arion
arion8mo ago
Only "exceptions" to that is what T'tk showed here regarding using the Windows store as a packager
illy
illy8mo ago
Hm, alrighty. Do you have any clue as to how many users need to install said software before SmartScreen chills out? Or are there more requirements? And if I make an updated version of my app, will that 'reset my progress' on SmartScreen? Or does it track updates and stuff And I assume you lose control as to where you'd like to install the program if you go with Windows Store
arion
arion8mo ago
I got no idea for programs specifically no. The closest i've come across for something similar was some of my users getting a browser warning for some of my .dlls back when i was making mods, that usually disappeared after a few hundred downloads
illy
illy8mo ago
Hundred... alrighty... lol
arion
arion8mo ago
I'll try to look up some documentation on how much is required and get back to u regarding smartscreen You could submit it here and see if it goes away: https://www.microsoft.com/wdsi/filesubmission/
illy
illy8mo ago
Alrighty
Accord
Accord8mo ago
Was this issue resolved? If so, run /close - otherwise I will mark this as stale and this post will be archived until there is new activity.
Want results from more Discord servers?
Add your server
More Posts
How can I create an ardalis put endpoint request with id in route and payload in body?Sample: ```cs public class UpdateById : EndpointBaseAsync.WithRequest<DocumentTemplateUpdateByIdRequ❔ I would like to use an SQL query on a consecutive Select HTML element.I have this form were I can add a product, a Product is made with this structure: ```csharp pub❔ can't insert listbox items from txt file?Hello, I'm hoping to have a list box show items from a txt file on my C:\ drive, but I can't seem to❔ ✅ [SOLVED] The .NET Core SDK cannot be located: Error running dotnetThe .NET Core SDK cannot be located: Error running dotnet --info: It was not possible to find any in✅ Debugging exceptions not caught by try-catchHi, I have a small piece of code I am having trouble debugging. I have this class: ```cs public stat❔ Framework and Services for C# desktop chat appSo I started programming a chat app which uses .netframework and wpf and I've recently come back to ❔ Ef core relationsHey, im working on a simple project and im getting so much confused about how efcore works. I have t❔ How to configure an external provider in .Net8 Blazor with individual auth?Hey guys, I'm having problems adding an external authentication provider to the basic Blazor WebApp ❔ DIY logging methodsI'm working on an old old codebase and I've noticed it has effectively implemented its own logging c❔ Need help to optimize this simulationFor context, I'm trying to build a simulation where you start with X "nodes" and every "round", one