-
Notifications
You must be signed in to change notification settings - Fork 760
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
Not able to update new version #688
Comments
You should use msi file directly without zipping it. Zip file should only be used if you are zipping application files directly and not the setup file. |
I only use .msi file to install app into Disk C. When need to update, I will publish app to a folder and zipping all files directly there then update the path to xml file. Update status: |
Process is exited must be happening due to unhandled exception. I fixed it in latest commit. Can you try it from here by manually referencing the DLL? |
Thanks @ravibpatel. I will try it and post the result here. |
ZipExtractor creates log, but AutoUpdater.NET doesn't create any logs. You will still get more info in ZipExtractor logs. It must be in the temp folder where it is extracted to update the app. |
If you are not handling exit event, then you should also try to do that to cleanly exit the application. When you handle this event, AutoUpdater.NET will use the code inside it to close the app. |
Thanks @ravibpatel , let me try it |
Hi @ravibpatel , the DLL you give me works now. Can you update this version on Nuget? |
I already pushed it to NuGet. You can download latest version v1.9.0. |
Hi everyone, I have a .NET 7 WPF App and using Setup project to build .msi installer for first setup. Then I create .zip file for automatic update system. I tried to use AutoUpdater.NET but get this error:
![image](https://private-user-images.githubusercontent.com/26184798/335262206-f6aca7a6-cbf3-4cef-b376-2d8ccb54305d.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjMwNDkxOTEsIm5iZiI6MTcyMzA0ODg5MSwicGF0aCI6Ii8yNjE4NDc5OC8zMzUyNjIyMDYtZjZhY2E3YTYtY2JmMy00Y2VmLWIzNzYtMmQ4Y2NiNTQzMDVkLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MDclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODA3VDE2NDEzMVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWExZTNhZDdiYjE2MjU5NzM5N2U4YTU0M2YwNTU2MDZhNGRjMjJlNDUyMWRjYTNjMjNhMjU2YzllNjY0M2JmNzEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.aTQZM44PSuj2_fdytixPQobkTZDlc7ffqzvA66IHZ6k)
Another machine show another error message but I try to close app
![image](https://private-user-images.githubusercontent.com/26184798/335266979-50f97a0c-1c1f-4023-9986-4f0cdcbee104.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjMwNDkxOTEsIm5iZiI6MTcyMzA0ODg5MSwicGF0aCI6Ii8yNjE4NDc5OC8zMzUyNjY5NzktNTBmOTdhMGMtMWMxZi00MDIzLTk5ODYtNGYwY2RjYmVlMTA0LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MDclMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODA3VDE2NDEzMVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWYwZmM3ZmNlZmFjYjAxNTk2NmNhY2Q2YWQ3MzA4MjQ4N2NiNGUyNTkxMDNiODhkNjc1ODY3NTM5ZGQ1OWZkNmImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.mi8uQyhN2y2ZNf44lwS4vO3tc8jdtaH8_EFGuNY9R2E)
Application.Current.Shutdown();
in CheckForUpdateEventAnyone can advise me?
The text was updated successfully, but these errors were encountered: