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
73b7900b
Commit
73b7900b
authored
Jan 03, 2006
by
Marcus Meissner
Committed by
Alexandre Julliard
Jan 03, 2006
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msi: Report the commandline that failed to start in ERR()s.
parent
70342dbc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
8 deletions
+12
-8
custom.c
dlls/msi/custom.c
+12
-8
No files found.
dlls/msi/custom.c
View file @
73b7900b
...
@@ -548,13 +548,14 @@ static UINT HANDLE_CustomType2(MSIPACKAGE *package, LPCWSTR source,
...
@@ -548,13 +548,14 @@ static UINT HANDLE_CustomType2(MSIPACKAGE *package, LPCWSTR source,
rc
=
CreateProcessW
(
NULL
,
cmd
,
NULL
,
NULL
,
FALSE
,
0
,
NULL
,
rc
=
CreateProcessW
(
NULL
,
cmd
,
NULL
,
NULL
,
FALSE
,
0
,
NULL
,
c_collen
,
&
si
,
&
info
);
c_collen
,
&
si
,
&
info
);
msi_free
(
cmd
);
if
(
!
rc
)
if
(
!
rc
)
{
{
ERR
(
"Unable to execute command
\n
"
);
ERR
(
"Unable to execute command %s
\n
"
,
debugstr_w
(
cmd
));
msi_free
(
cmd
);
return
ERROR_SUCCESS
;
return
ERROR_SUCCESS
;
}
}
msi_free
(
cmd
);
prc
=
process_handle
(
package
,
type
,
info
.
hThread
,
info
.
hProcess
,
action
,
prc
=
process_handle
(
package
,
type
,
info
.
hThread
,
info
.
hProcess
,
action
,
&
finished
);
&
finished
);
...
@@ -609,13 +610,14 @@ static UINT HANDLE_CustomType18(MSIPACKAGE *package, LPCWSTR source,
...
@@ -609,13 +610,14 @@ static UINT HANDLE_CustomType18(MSIPACKAGE *package, LPCWSTR source,
rc
=
CreateProcessW
(
NULL
,
cmd
,
NULL
,
NULL
,
FALSE
,
0
,
NULL
,
rc
=
CreateProcessW
(
NULL
,
cmd
,
NULL
,
NULL
,
FALSE
,
0
,
NULL
,
c_collen
,
&
si
,
&
info
);
c_collen
,
&
si
,
&
info
);
msi_free
(
cmd
);
if
(
!
rc
)
if
(
!
rc
)
{
{
ERR
(
"Unable to execute command
\n
"
);
ERR
(
"Unable to execute command %s
\n
"
,
debugstr_w
(
cmd
));
msi_free
(
cmd
);
return
ERROR_SUCCESS
;
return
ERROR_SUCCESS
;
}
}
msi_free
(
cmd
);
prc
=
process_handle
(
package
,
type
,
info
.
hThread
,
info
.
hProcess
,
action
,
prc
=
process_handle
(
package
,
type
,
info
.
hThread
,
info
.
hProcess
,
action
,
NULL
);
NULL
);
...
@@ -694,13 +696,14 @@ static UINT HANDLE_CustomType50(MSIPACKAGE *package, LPCWSTR source,
...
@@ -694,13 +696,14 @@ static UINT HANDLE_CustomType50(MSIPACKAGE *package, LPCWSTR source,
rc
=
CreateProcessW
(
NULL
,
cmd
,
NULL
,
NULL
,
FALSE
,
0
,
NULL
,
rc
=
CreateProcessW
(
NULL
,
cmd
,
NULL
,
NULL
,
FALSE
,
0
,
NULL
,
c_collen
,
&
si
,
&
info
);
c_collen
,
&
si
,
&
info
);
msi_free
(
cmd
);
if
(
!
rc
)
if
(
!
rc
)
{
{
ERR
(
"Unable to execute command
\n
"
);
ERR
(
"Unable to execute command %s
\n
"
,
debugstr_w
(
cmd
));
msi_free
(
cmd
);
return
ERROR_SUCCESS
;
return
ERROR_SUCCESS
;
}
}
msi_free
(
cmd
);
return
process_handle
(
package
,
type
,
info
.
hThread
,
info
.
hProcess
,
action
,
NULL
);
return
process_handle
(
package
,
type
,
info
.
hThread
,
info
.
hProcess
,
action
,
NULL
);
}
}
...
@@ -733,13 +736,14 @@ static UINT HANDLE_CustomType34(MSIPACKAGE *package, LPCWSTR source,
...
@@ -733,13 +736,14 @@ static UINT HANDLE_CustomType34(MSIPACKAGE *package, LPCWSTR source,
rc
=
CreateProcessW
(
NULL
,
deformated
,
NULL
,
NULL
,
FALSE
,
0
,
NULL
,
rc
=
CreateProcessW
(
NULL
,
deformated
,
NULL
,
NULL
,
FALSE
,
0
,
NULL
,
c_collen
,
&
si
,
&
info
);
c_collen
,
&
si
,
&
info
);
msi_free
(
deformated
);
if
(
!
rc
)
if
(
!
rc
)
{
{
ERR
(
"Unable to execute command
\n
"
);
ERR
(
"Unable to execute command %s
\n
"
,
debugstr_w
(
deformated
));
msi_free
(
deformated
);
return
ERROR_SUCCESS
;
return
ERROR_SUCCESS
;
}
}
msi_free
(
deformated
);
prc
=
process_handle
(
package
,
type
,
info
.
hThread
,
info
.
hProcess
,
action
,
prc
=
process_handle
(
package
,
type
,
info
.
hThread
,
info
.
hProcess
,
action
,
NULL
);
NULL
);
...
...
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