Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
wine
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Louis Lenders
wine
Commits
ccaddb8a
Commit
ccaddb8a
authored
17 years ago
by
Jason Edmeades
Committed by
Alexandre Julliard
17 years ago
Browse files
Options
Downloads
Patches
Plain Diff
advpack: Show fixme when advpack fails to prompt user for directory.
parent
ac6343cd
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
dlls/advpack/advpack.c
+9
-2
9 additions, 2 deletions
dlls/advpack/advpack.c
with
9 additions
and
2 deletions
dlls/advpack/advpack.c
+
9
−
2
View file @
ccaddb8a
...
...
@@ -116,6 +116,7 @@ void set_ldids(HINF hInf, LPCWSTR pszInstallSection, LPCWSTR pszWorkingDir)
do
{
LPWSTR
value
,
ptr
,
key
,
key_copy
=
NULL
;
DWORD
flags
=
0
;
SetupGetLineTextW
(
&
context
,
NULL
,
NULL
,
NULL
,
line
,
MAX_FIELD_LENGTH
,
&
size
);
...
...
@@ -141,10 +142,12 @@ void set_ldids(HINF hInf, LPCWSTR pszInstallSection, LPCWSTR pszWorkingDir)
while
(
*
value
==
' '
)
value
++
;
/*
FIXME: need to check the query option
*/
/*
Extract the flags
*/
ptr
=
strchrW
(
value
,
','
);
if
(
ptr
)
if
(
ptr
)
{
*
ptr
=
'\0'
;
flags
=
atolW
(
ptr
+
1
);
}
/* set dest to pszWorkingDir if key is SourceDir */
if
(
pszWorkingDir
&&
!
lstrcmpiW
(
value
,
source_dir
))
...
...
@@ -152,6 +155,10 @@ void set_ldids(HINF hInf, LPCWSTR pszInstallSection, LPCWSTR pszWorkingDir)
else
get_dest_dir
(
hInf
,
value
,
dest
,
MAX_PATH
);
/* If prompting required, provide dialog to request path */
if
(
flags
&
0x04
)
FIXME
(
"Need to support changing paths - default will be used
\n
"
);
/* set all ldids to dest */
while
((
ptr
=
get_parameter
(
&
key
,
','
)))
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment