mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-27 01:26:30 +00:00
Fixed: Launch old Uninstaller after copying old profile
This commit is contained in:
parent
50638b102e
commit
6ef915ae81
1 changed files with 5 additions and 5 deletions
|
@ -862,11 +862,6 @@ OperationStep CConfigFile::getInstallNextStep() const
|
||||||
return CopyInstaller;
|
return CopyInstaller;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (m_shouldUninstallOldClient && !getSrcServerDirectory().isEmpty() && QFile::exists(getSrcServerDirectory() + "/Uninstall.exe"))
|
|
||||||
{
|
|
||||||
return UninstallOldClient;
|
|
||||||
}
|
|
||||||
|
|
||||||
// no default profile
|
// no default profile
|
||||||
if (profile.id.isEmpty())
|
if (profile.id.isEmpty())
|
||||||
{
|
{
|
||||||
|
@ -898,6 +893,11 @@ OperationStep CConfigFile::getInstallNextStep() const
|
||||||
if (!settings.contains("InstallLocation")) return CreateAddRemoveEntry;
|
if (!settings.contains("InstallLocation")) return CreateAddRemoveEntry;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
if (m_shouldUninstallOldClient && !getSrcServerDirectory().isEmpty() && QFile::exists(getSrcServerDirectory() + "/Uninstall.exe"))
|
||||||
|
{
|
||||||
|
return UninstallOldClient;
|
||||||
|
}
|
||||||
|
|
||||||
return Done;
|
return Done;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue