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
b98ef8f0
Commit
b98ef8f0
authored
May 07, 2013
by
Hans Leidekker
Committed by
Alexandre Julliard
May 07, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Treat an empty install location as missing.
parent
6a7bf66b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
action.c
dlls/msi/action.c
+6
-3
No files found.
dlls/msi/action.c
View file @
b98ef8f0
...
@@ -2305,9 +2305,12 @@ static WCHAR *get_install_location( MSIPACKAGE *package )
...
@@ -2305,9 +2305,12 @@ static WCHAR *get_install_location( MSIPACKAGE *package )
WCHAR
*
path
;
WCHAR
*
path
;
if
(
!
package
->
ProductCode
)
return
NULL
;
if
(
!
package
->
ProductCode
)
return
NULL
;
if
(
MSIREG_OpenInstallProps
(
package
->
ProductCode
,
package
->
Context
,
NULL
,
&
hkey
,
FALSE
))
if
(
MSIREG_OpenInstallProps
(
package
->
ProductCode
,
package
->
Context
,
NULL
,
&
hkey
,
FALSE
))
return
NULL
;
return
NULL
;
if
((
path
=
msi_reg_get_val_str
(
hkey
,
szInstallLocation
))
&&
!
path
[
0
])
path
=
msi_reg_get_val_str
(
hkey
,
szInstallLocation
);
{
msi_free
(
path
);
path
=
NULL
;
}
RegCloseKey
(
hkey
);
RegCloseKey
(
hkey
);
return
path
;
return
path
;
}
}
...
...
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