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
aabb5d04
Commit
aabb5d04
authored
Apr 20, 2006
by
James Hawkins
Committed by
Alexandre Julliard
Apr 20, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
advpack: Set the ldids of the install section in install_init.
parent
704e70ff
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
2 deletions
+4
-2
advpack.c
dlls/advpack/advpack.c
+1
-1
advpack_private.h
dlls/advpack/advpack_private.h
+1
-0
install.c
dlls/advpack/install.c
+2
-1
No files found.
dlls/advpack/advpack.c
View file @
aabb5d04
...
@@ -92,7 +92,7 @@ static void get_dest_dir(HINF hInf, PCWSTR pszSection, PWSTR pszBuffer, DWORD dw
...
@@ -92,7 +92,7 @@ static void get_dest_dir(HINF hInf, PCWSTR pszSection, PWSTR pszBuffer, DWORD dw
}
}
/* loads the LDIDs specified in the install section of an INF */
/* loads the LDIDs specified in the install section of an INF */
static
void
set_ldids
(
HINF
hInf
,
LPCWSTR
pszInstallSection
,
LPCWSTR
pszWorkingDir
)
void
set_ldids
(
HINF
hInf
,
LPCWSTR
pszInstallSection
,
LPCWSTR
pszWorkingDir
)
{
{
WCHAR
field
[
MAX_FIELD_LENGTH
];
WCHAR
field
[
MAX_FIELD_LENGTH
];
WCHAR
line
[
MAX_FIELD_LENGTH
];
WCHAR
line
[
MAX_FIELD_LENGTH
];
...
...
dlls/advpack/advpack_private.h
View file @
aabb5d04
...
@@ -22,6 +22,7 @@
...
@@ -22,6 +22,7 @@
#define __ADVPACK_PRIVATE_H
#define __ADVPACK_PRIVATE_H
LPWSTR
get_parameter
(
LPWSTR
*
params
,
WCHAR
separator
);
LPWSTR
get_parameter
(
LPWSTR
*
params
,
WCHAR
separator
);
void
set_ldids
(
HINF
hInf
,
LPCWSTR
pszInstallSection
,
LPCWSTR
pszWorkingDir
);
HRESULT
launch_exe
(
LPCWSTR
cmd
,
LPCWSTR
dir
,
HANDLE
*
phEXE
);
HRESULT
launch_exe
(
LPCWSTR
cmd
,
LPCWSTR
dir
,
HANDLE
*
phEXE
);
HRESULT
do_ocx_reg
(
HMODULE
hocx
,
BOOL
do_reg
);
HRESULT
do_ocx_reg
(
HMODULE
hocx
,
BOOL
do_reg
);
...
...
dlls/advpack/install.c
View file @
aabb5d04
...
@@ -259,7 +259,8 @@ HRESULT install_init(LPCWSTR inf_filename, LPCWSTR install_sec,
...
@@ -259,7 +259,8 @@ HRESULT install_init(LPCWSTR inf_filename, LPCWSTR install_sec,
if
(
info
->
hinf
==
INVALID_HANDLE_VALUE
)
if
(
info
->
hinf
==
INVALID_HANDLE_VALUE
)
return
ADV_HRESULT
(
GetLastError
());
return
ADV_HRESULT
(
GetLastError
());
/* FIXME: set the ldids of the install section */
set_ldids
(
info
->
hinf
,
info
->
install_sec
,
info
->
working_dir
);
/* FIXME: check that the INF is advanced */
/* FIXME: check that the INF is advanced */
info
->
flags
=
flags
;
info
->
flags
=
flags
;
...
...
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