Commit Graph

44 Commits

Author SHA1 Message Date
Aric Stewart 54c7b7e81b Revert 7c35db07c35db0... msiexec: Use CommandLineToArgvW instead of process_args to reduce code duplication.
The previous command line processing is not identical to
CommandLineToArgvW and CommandLineToArgvW breaks msi command line
processing for things such as Excel Viewer 2003.

Specifically the command line created by the Excel Viewer 2003 and
passed to msiexec.exe is "c:\windows\system32\msiexec.exe" /I
C:\windows\temp\IXP000.TMP\XLVIEW.MSI CDCACHE="2"
LAUNCHEDFROMSETUP="1" SETUPEXEPATH="C:\windows\temp\IXP000.TMP\"
SETUPEXENAME="SETUP.EXE" /lpiwaeo "C:\windows\temp\Microsoft Office
Excel Viewer 2003 Setup(0001)_Task(0001).txt" CDCACH"...
2007-03-22 15:54:14 +01:00
Mike McCormack ecefcccabf msiexec: Catch the -Embedding flag and print out a message. 2007-02-08 11:56:25 +01:00
Michael Stefaniuc 41dd56cb7f "One liners" printf format warning fixes for the migration of DWORD/LONG/ULONG from long to int. 2006-09-29 16:09:24 +02:00
Andrey Turkin d456e9f49f msiexec: Should recognize /xpackage syntax. 2006-09-25 18:13:32 +02:00
Alexandre Julliard 8580984346 msiexec: Ignore failure to create the service if it already exists. 2006-09-13 12:56:37 +02:00
James Hawkins a6b8ff9ddb msiexec: Add handling for msiexec's regserver option. 2006-08-23 12:01:15 +02:00
Mike McCormack 2b8abca493 msiexec: Don't crash if there's no args. 2006-07-28 12:32:20 +02:00
Alexandre Julliard 4cf14960ba msiexec: Invert the return values of the boolean functions so that
their names make more sense.
2006-07-14 12:38:20 +02:00
James Hawkins 8c3fc3a889 msiexec: Also support options using a hyphen. 2006-07-14 12:29:36 +02:00
James Hawkins 7c35db000b msiexec: Use CommandLineToArgvW instead of process_args to reduce code duplication. 2006-06-27 21:14:01 +02:00
Mike McCormack e550eab7e5 msiexec: Improve 64bit compatibility. 2006-05-30 12:23:43 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Mike McCormack 16ee9aba88 msiexec: Force using /i file.msi, some programs pass properties without an =. 2006-05-05 16:33:18 +02:00
Mike McCormack 7d66567253 programs: Use WIN32_LEAN_AND_MEAN in some more places. 2006-01-16 20:41:34 +01:00
Mike McCormack 3d2de3d562 msiexec: Ignore the TRANSFORMS variable.
Ignore the TRANSFORMS variable when building a list of transforms for
advertising.  The variable is used to apply transforms when installing.
2006-01-04 14:51:42 +01:00
Alexandre Julliard 777cd4f7df Removed a useless header file. 2005-08-11 10:59:51 +00:00
Mike McCormack 65ad7da1f7 Fix some declaration and write string warnings. 2005-06-16 10:45:25 +00:00
Robert Shearman 733a033303 Rename DllRegisterServer and DllUnregisterServer to avoid confusion
with the COM functions of different signatures.
2005-05-17 14:33:36 +00:00
Peter Berg Larsen e732fc023d Janitorial: Get rid of strncpy/strncpyW. 2005-03-28 14:17:51 +00:00
Aric Stewart 8f19b1f94a The values are quoted and spaces added, so having spaces in the
properties results in spaces in the values which is incorrect.
2005-02-21 18:29:21 +00:00
Mike McCormack 47f8c9a50b Set full UI mode by default. 2005-02-10 20:26:30 +00:00
Mike McCormack c083f0e9a6 Read args from the registry when passed the /@ flag. 2005-02-10 18:57:56 +00:00
Mike McCormack 1510cce8fa Convert to Unicode. 2005-02-10 17:12:59 +00:00
Mike McCormack 4310728563 - Quote the parameter strings passed to MsiInstallProduct.
- Return the error code that the Msi* function returned when we quit.
2005-02-09 14:05:40 +00:00
Mike McCormack 6c50289ab3 - Fix msiexec's command line parsing.
- Don't allocate memory for fixed size structure.
- Remove a few non-tab indents, since the rest of the file uses tabbed
  indent.
2005-02-09 13:58:31 +00:00
Hans Leidekker 4af7bc87ec Use string functions that are Windows locale aware. 2004-11-23 12:12:31 +00:00
Hans Leidekker 625583efee Handle unknown parameters more gracefully. 2004-11-22 18:27:39 +00:00
Kevin Koltzau 0d2cb29952 Correct problem with /i argument handling. 2004-10-04 19:30:18 +00:00
Alexandre Julliard 58722d6f9e Added /regserver and /unregserver options. 2004-09-20 21:49:42 +00:00
Kevin Koltzau d660a6340f Correct parsing of /i argument. 2004-08-30 18:39:44 +00:00
Vincent Béron b0da80eda1 Refactor some other code in msiexec. 2004-07-30 04:23:37 +00:00
Vincent Béron e3c1c249a8 Refactor some of the string processing in msiexec. 2004-07-30 04:21:27 +00:00
Vincent Béron 9cb68a7626 Implement proper properties handling on the commandline in msiexec. 2004-07-30 01:34:58 +00:00
Vincent Béron fdda7e7d6c In the absence of any other option to msiexec, treat the commandline
as a package name to install.
2004-07-29 23:56:19 +00:00
Vincent Béron bbc3974aa5 Implement patching in msiexec. 2004-07-29 02:39:20 +00:00
Vincent Béron 42f1c4818c Improve msiexec usage prompt. 2004-07-24 02:27:26 +00:00
Vincent Béron d2df24b90f Implement logging in msiexec.
Correct MsiEnableLog{A,W} prototype.
2004-07-23 23:28:45 +00:00
Vincent Béron 72984f105d Implement the UI level change part of msiexec. 2004-07-23 23:24:29 +00:00
Vincent Béron d0820fd60c Add the correct default mode to the repair option. 2004-07-23 23:19:17 +00:00
Vincent Béron 07888bca3d Dump (via TRACEs) all the arguments of msiexec. 2004-07-23 23:17:31 +00:00
Vincent Béron 1dc308ec59 Implement the advertise part of msiexec. 2004-07-23 23:00:30 +00:00
Vincent Béron 5c60510bc0 Implement the repair mechanism in msiexec, and stub it out in
msi.dll.
2004-07-19 21:19:45 +00:00
Vincent Béron aaafbc7959 Cleanup of the properties last space removal, since it can be used not
only with Install.
2004-07-19 20:05:54 +00:00
Vincent Béron 3496689a89 First draft for a msiexec.exe replacement. 2004-07-19 19:44:07 +00:00