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

Cleaning does not work #623

Closed
peterjanto opened this issue Jun 9, 2023 · 4 comments
Closed

Cleaning does not work #623

peterjanto opened this issue Jun 9, 2023 · 4 comments

Comments

@peterjanto
Copy link

peterjanto commented Jun 9, 2023

Hi, my settings:

AutoUpdater.UpdateMode = Mode.Forced;
AutoUpdater.Synchronous = true;
AutoUpdater.ClearAppDirectory = true;

No cleanup was performed
log:

ZipExtractor started with following command line arguments.
[0] c:\update\zipextractor.exe
[1] --input
[2] c:\update\autoupdate.zip
[3] --output
[4] c:**
[5] --current-exe
[6] c:**
[7]  --clear

Waiting for application process to exit...
BackgroundWorker started successfully.
Found total of 40 files and folders inside the zip file.
Extracting cs/ [2%]
.....

As you can see it's not even in the logs

BUT if i run zipextractor manually with parameters:

zipextractor.exe --input C:\update\autoupdate.zip --output c:\* --current-exe c:\* --clear

ZipExtractor started with following command line arguments.
[0] zipextractor.exe
[1] --input
[2] C:\update\autoupdate.zip
[3] --output
[4] c:\*
[5] --current-exe
[6] c:\*
[7] --clear

BackgroundWorker started successfully.
Removing all files and folders from "c:\*
.....
@peterjanto
Copy link
Author

peterjanto commented Jun 9, 2023

@ravibpatel
Copy link
Owner

Thanks for reporting this. I removed the space from the argument. Can you try it from here?

@peterjanto
Copy link
Author

It works. Thx.

@ravibpatel
Copy link
Owner

I tagged it, so it will be available on NuGet soon.

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