[Bug 9628] msiexec command line parsing incorrect

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Mar 26 20:10:22 CDT 2008


http://bugs.winehq.org/show_bug.cgi?id=9628





--- Comment #7 from Darragh Bailey <felix at compsoc.nuigalway.ie>  2008-03-26 20:10:21 ---
I think I've worked out what's going wrong.

Basically the way RPG Maker XP is calling CreateProcess is by passing in the
msiexec executable as the appname and cmdline as " /i .....". This is slightly
different from most other cases where an application is started by passing the
entire commandline to CreateProcess, or in certain cases duplicating the
exename in the cmdline string.

I've eliminated the problem in build_argv that I previously though was present.

Using the function CommandLineToArgvW instead of process_args results in the
appname being added to the commandline and therefore becomes argv[0], however
it doesn't guarantee that remaining args are reconstructed as required.

So either changes need to be made to CommandLineToArgvW to change what it
returns so that its suitable for msiexec, or modify process_args to also
include the appname.


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list