1
0
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:
chylex 2016-04-14 02:40:58 +02:00
parent c172e7aa3d
commit 00341e984c

View File

@ -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
}
}