Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
537768b6
Commit
537768b6
authored
Dec 16, 2016
by
Hugh McMaster
Committed by
Alexandre Julliard
Dec 16, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
appwiz.cpl: Remove list entries left over from an earlier uninstall.
Signed-off-by:
Hugh McMaster
<
hugh.mcmaster@outlook.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
47099023
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
5 deletions
+3
-5
appwiz.c
dlls/appwiz.cpl/appwiz.c
+3
-5
No files found.
dlls/appwiz.cpl/appwiz.c
View file @
537768b6
...
...
@@ -298,7 +298,7 @@ static BOOL ReadApplicationsFromRegistry(HKEY root)
}
/* registry key */
info
->
regroot
=
root
;
RegOpenKeyExW
(
root
,
NULL
,
0
,
KEY_READ
,
&
info
->
regroot
)
;
lstrcpyW
(
info
->
regkey
,
subKeyName
);
info
->
path
=
command
;
...
...
@@ -497,7 +497,6 @@ static void UninstallProgram(int id, DWORD button)
PROCESS_INFORMATION
info
;
WCHAR
errormsg
[
MAX_STRING_LEN
];
WCHAR
sUninstallFailed
[
MAX_STRING_LEN
];
HKEY
hkey
;
BOOL
res
;
LoadStringW
(
hInst
,
IDS_UNINSTALL_FAILED
,
sUninstallFailed
,
...
...
@@ -533,9 +532,8 @@ static void UninstallProgram(int id, DWORD button)
MB_ICONQUESTION
)
==
IDYES
)
{
/* delete the application's uninstall entry */
RegOpenKeyExW
(
iter
->
regroot
,
PathUninstallW
,
0
,
KEY_READ
,
&
hkey
);
RegDeleteKeyW
(
hkey
,
iter
->
regkey
);
RegCloseKey
(
hkey
);
RegDeleteKeyW
(
iter
->
regroot
,
iter
->
regkey
);
RegCloseKey
(
iter
->
regroot
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment