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
ccaddb8a
Commit
ccaddb8a
authored
Aug 09, 2007
by
Jason Edmeades
Committed by
Alexandre Julliard
Aug 10, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
advpack: Show fixme when advpack fails to prompt user for directory.
parent
ac6343cd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
2 deletions
+9
-2
advpack.c
dlls/advpack/advpack.c
+9
-2
No files found.
dlls/advpack/advpack.c
View file @
ccaddb8a
...
@@ -116,6 +116,7 @@ void set_ldids(HINF hInf, LPCWSTR pszInstallSection, LPCWSTR pszWorkingDir)
...
@@ -116,6 +116,7 @@ void set_ldids(HINF hInf, LPCWSTR pszInstallSection, LPCWSTR pszWorkingDir)
do
do
{
{
LPWSTR
value
,
ptr
,
key
,
key_copy
=
NULL
;
LPWSTR
value
,
ptr
,
key
,
key_copy
=
NULL
;
DWORD
flags
=
0
;
SetupGetLineTextW
(
&
context
,
NULL
,
NULL
,
NULL
,
SetupGetLineTextW
(
&
context
,
NULL
,
NULL
,
NULL
,
line
,
MAX_FIELD_LENGTH
,
&
size
);
line
,
MAX_FIELD_LENGTH
,
&
size
);
...
@@ -141,10 +142,12 @@ void set_ldids(HINF hInf, LPCWSTR pszInstallSection, LPCWSTR pszWorkingDir)
...
@@ -141,10 +142,12 @@ void set_ldids(HINF hInf, LPCWSTR pszInstallSection, LPCWSTR pszWorkingDir)
while
(
*
value
==
' '
)
while
(
*
value
==
' '
)
value
++
;
value
++
;
/*
FIXME: need to check the query option
*/
/*
Extract the flags
*/
ptr
=
strchrW
(
value
,
','
);
ptr
=
strchrW
(
value
,
','
);
if
(
ptr
)
if
(
ptr
)
{
*
ptr
=
'\0'
;
*
ptr
=
'\0'
;
flags
=
atolW
(
ptr
+
1
);
}
/* set dest to pszWorkingDir if key is SourceDir */
/* set dest to pszWorkingDir if key is SourceDir */
if
(
pszWorkingDir
&&
!
lstrcmpiW
(
value
,
source_dir
))
if
(
pszWorkingDir
&&
!
lstrcmpiW
(
value
,
source_dir
))
...
@@ -152,6 +155,10 @@ void set_ldids(HINF hInf, LPCWSTR pszInstallSection, LPCWSTR pszWorkingDir)
...
@@ -152,6 +155,10 @@ void set_ldids(HINF hInf, LPCWSTR pszInstallSection, LPCWSTR pszWorkingDir)
else
else
get_dest_dir
(
hInf
,
value
,
dest
,
MAX_PATH
);
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 */
/* set all ldids to dest */
while
((
ptr
=
get_parameter
(
&
key
,
','
)))
while
((
ptr
=
get_parameter
(
&
key
,
','
)))
{
{
...
...
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