Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New version doesn't update #679

Open
ahmetcancs opened this issue May 9, 2024 · 1 comment
Open

New version doesn't update #679

ahmetcancs opened this issue May 9, 2024 · 1 comment

Comments

@ahmetcancs
Copy link

Hey everyone, I have a NET 6 Winforms Project, Setup Validation Class Library and a Setup Project. I use Setup Validation CL for validation first setup. I need a automatic update system. I tried AutoUpdater.NET. I uploaded the xml and new release zip(setup project .msi -> zip). I execute the old release for testing. New release is dowloaded. But old release is not closed. It asks for permission to download and extract the new version by closing and opening the old version in an endless loop. By the way, I added a mutex to prevent multiple openings in my application. When I try to open the second one, this application is already running and I get an error window.
I think there is a mistake or deficiency in what I did.
Ekran görüntüsü 2024-05-09 092115

@ravibpatel
Copy link
Owner

You can try handling the application exit event as shown here to close the app gracefully before starting the update.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants