Skip to content

Commit

Permalink
Uninstall sources v1.10.13.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Maximus5 committed Dec 26, 2020
1 parent 2a01eee commit be5e8b2
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 5 deletions.
14 changes: 11 additions & 3 deletions Uninstall/src/UnInstall.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -636,11 +636,19 @@ int ExecuteEntry(int Sel, int Action, bool LowPriority)
ZeroMemory(&pi, sizeof(pi));

TCHAR cmd_line[MAX_PATH*2+1], cmd_file[MAX_PATH+1], cmd_parm[MAX_PATH*2+1];
LPCTSTR pszString = p[Sel].Keys[UninstallString];

LPCTSTR pszString = NULL;

if ((Action == Action_ModifyWait) || (Action == Action_Modify))
pszString = p[Sel].Keys[ModifyPath];
else if ((Action == Action_RepairWait) || (Action == Action_Repair))
pszString = NULL;
//else if ((Action == Action_RepairWait) || (Action == Action_Repair))
// pszString = NULL;
else if ((Action == Action_UninstallWait) || (Action == Action_Uninstall))
{
if (!p[Sel].WindowsInstaller)
pszString = p[Sel].Keys[UninstallString];
}

if (pszString && !*pszString)
pszString = NULL;

Expand Down
5 changes: 4 additions & 1 deletion Uninstall/src/WhatsNew.Rus.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
v1.10.12
v1.10.13
- '[ ] Force use MsiExec' не влияет на 'Uninstall action', всегда выполняется msiexec /x ...

v1.10.12
- '[ ] Force use MsiExec' off by default
- не запускался режим 'Repair' для MSI

Expand Down
2 changes: 1 addition & 1 deletion Uninstall/src/project.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
MODULE = UnInstall
VER_MAJOR = 1
VER_MINOR = 10
VER_PATCH = 12
VER_PATCH = 13

0 comments on commit be5e8b2

Please sign in to comment.