Skip to content

ZipExtractor UI hangs while extracting the update #190

@prchanda

Description

@prchanda

I have followed this : https://github.com/ravibpatel/AutoUpdater.NET#adding-one-line-to-make-it-work and my code looks like this:

public frmDashboard()
{
AutoUpdater.RunUpdateAsAdmin = false;
AutoUpdater.DownloadPath = Environment.CurrentDirectory;
AutoUpdater.Start("https://xyz.com/release/updates.xml");
InitializeComponent();
InitializeControls();
}

So when I ran my application, updates got downloaded but ZipExtractor UI gets in hang state as shown below, although it does it's job, taking a long time.

image

ZipExtractor UI takes 2 minutes to extract a very small file 781KB, which is something not expected. Secondly it seems like extraction logic is implemented in the UI thread of ZipExtractor causing it to hang.

Can you please fix this issue ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions