Use _rmdir instead of _unlink

refs #11449
This commit is contained in:
Gunnar Beutner 2016-04-14 14:39:48 +02:00
parent 0d39c7361d
commit e4615e8d09
1 changed files with 1 additions and 1 deletions

View File

@ -218,7 +218,7 @@ static int UpgradeNSIS(void)
if (!MoveDirectory(oldNameVar, newNameVar))
return 1;
_unlink(installPath.c_str());
_rmdir(installPath.c_str());
}
return 0;