Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
48c7a3f4
Commit
48c7a3f4
authored
Sep 07, 2015
by
Hugh McMaster
Committed by
Alexandre Julliard
Sep 07, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
regsvr32: Call InstallDll before UnregisterDll when using /u /i.
parent
91bd7ffa
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
3 deletions
+7
-3
regsvr32.c
programs/regsvr32/regsvr32.c
+7
-3
No files found.
programs/regsvr32/regsvr32.c
View file @
48c7a3f4
...
@@ -289,6 +289,12 @@ int wmain(int argc, WCHAR* argv[])
...
@@ -289,6 +289,12 @@ int wmain(int argc, WCHAR* argv[])
int
res
=
0
;
int
res
=
0
;
DllFound
=
TRUE
;
DllFound
=
TRUE
;
if
(
CallInstall
&&
Unregister
)
res
=
InstallDll
(
!
Unregister
,
DllName
,
wsCommandLine
);
if
(
res
)
return
res
;
if
(
!
CallInstall
||
(
CallInstall
&&
CallRegister
))
if
(
!
CallInstall
||
(
CallInstall
&&
CallRegister
))
{
{
if
(
Unregister
)
if
(
Unregister
)
...
@@ -301,10 +307,8 @@ int wmain(int argc, WCHAR* argv[])
...
@@ -301,10 +307,8 @@ int wmain(int argc, WCHAR* argv[])
return
res
;
return
res
;
/* Confirmed. The Windows version stops on the first error. */
/* Confirmed. The Windows version stops on the first error. */
if
(
CallInstall
)
if
(
CallInstall
&&
!
Unregister
)
{
res
=
InstallDll
(
!
Unregister
,
DllName
,
wsCommandLine
);
res
=
InstallDll
(
!
Unregister
,
DllName
,
wsCommandLine
);
}
if
(
res
)
if
(
res
)
return
res
;
return
res
;
...
...
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