mirror of
https://github.com/chylex/TweetDuck.git
synced 2025-05-04 17:34:07 +02:00
Fix TweetDeck uninstaller
This commit is contained in:
parent
c172e7aa3d
commit
00341e984c
@ -141,10 +141,10 @@ private static bool BeginMigration(MigrationDecision decision, Action<Exception>
|
||||
string guid = ProgramRegistrySearch.FindByDisplayName("TweetDeck");
|
||||
|
||||
if (guid != null){
|
||||
Process uninstaller = Process.Start("msiexec.exe","/x"+guid+" /quiet /qn");
|
||||
Process uninstaller = Process.Start("msiexec.exe","/x "+guid+" /quiet /qn");
|
||||
|
||||
if (uninstaller != null){
|
||||
uninstaller.WaitForExit();
|
||||
uninstaller.WaitForExit(5000); // it appears that the process is restarted or something that triggers this, but it shouldn't be a problem
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user