Commit Graph

1777 Commits

Author SHA1 Message Date
James Hawkins d89ee5fdd6 msi: Test using carriage returns in SQL queries and imported tables. 2008-02-07 12:09:10 +01:00
Michael Stefaniuc 41848c828b msi: Fix "type of 'x' defaults to 'int'" warnings. 2008-02-06 11:36:04 +01:00
James Hawkins 2f658cb337 msi: Fix handling of the NULL separator when writing registry values. 2008-02-05 12:21:23 +01:00
James Hawkins 5a0d459cc4 msi: Reimplement MsiFormatRecord. 2008-02-05 12:19:37 +01:00
James Hawkins e618c6d115 msi: Add more tests for MsiFormatRecord. 2008-02-05 12:19:37 +01:00
James Hawkins ffc251f5dd msi: Return ERROR_MORE_DATA if the size is too small. 2008-02-05 12:19:37 +01:00
James Hawkins dc8f714ade msi: Return the string length even if the string is NULL. 2008-02-05 12:19:37 +01:00
James Hawkins 40841946f5 msi: Leave room for the NULL terminator. 2008-02-05 12:19:37 +01:00
James Hawkins d165435048 msi: Return ERROR_FILE_INVALID if the file has no version information. 2008-02-05 12:19:37 +01:00
James Hawkins 03335de8d0 msi: Return ERROR_INVALID_PARAMETER if a string pointer is non-NULL and the size pointer is NULL. 2008-02-05 12:19:37 +01:00
James Hawkins 856800c84b msi: Translate ERROR_BAD_PATHNAME into ERROR_FILE_NOT_FOUND. 2008-02-05 12:19:37 +01:00
James Hawkins 5d46eeac75 msi: Only convert output strings if the call succeeded. 2008-02-05 12:19:36 +01:00
James Hawkins 8079d9f2ab msi: Add tests for MsiGetFileVersion. 2008-02-05 12:19:36 +01:00
James Hawkins 146e34e662 msi: Implement the MSIMODIFY_ASSIGN action of MsiViewModify for the streams table. 2008-02-05 12:19:36 +01:00
James Hawkins 56574c7c6e msi: Add tests for using single quotes in an INSERT query. 2008-02-05 12:19:36 +01:00
Paul Vriens 46f1330e02 msi/tests: Only use functions if they are implemented. 2008-01-24 12:08:44 +01:00
Paul Vriens 3272fef91a msi/tests: Only use functions if they are implemented. 2008-01-24 12:08:39 +01:00
James Hawkins 1868abda89 msi: Add more MsiFormatRecord tests. 2008-01-21 11:51:20 +01:00
Marcus Meissner 943ac9795b msi: Replaced msi_free() by LocalAlloc() since ConvertSidToStringSidW uses LocalAlloc().
Spotted by Christoph von Wittich <Christoph@ApiViewer.de>.
2008-01-21 11:51:08 +01:00
Christoph von Wittich 007833f130 msi: Fix process token leak. 2008-01-21 11:39:37 +01:00
Francois Gouget 44b52b128c Assorted spelling fixes. 2008-01-16 12:48:29 +01:00
James Hawkins ced64861f5 msi: dest_path refers to the directory prefix, not the entire file path. 2008-01-16 12:16:43 +01:00
Francois Gouget 62c59deaa1 msi/tests: Tweaked so it does not look like things are misspelled. 2008-01-11 12:25:44 +01:00
Gerald Pfeifer 388edd1086 msi: Complete initializers. 2008-01-10 13:20:15 +01:00
James Hawkins 4b75f33012 msi: Actually delete the row data instead of blanking it out. 2008-01-09 13:38:02 +01:00
James Hawkins 419a8a2426 msi: Test committing a table with a removed row. 2008-01-09 13:38:02 +01:00
James Hawkins ce8199a46e msi: Handle markers in the WHERE section of an UPDATE query, with tests. 2008-01-09 13:38:02 +01:00
Rico Schüller 63c5e152a1 msi: Fix memory leaks (found by Smatch). 2008-01-07 13:46:06 +01:00
James Hawkins 5352d099b4 msi: Create parent directories when duplicating files if they don't exist, with tests. 2008-01-07 12:16:56 +01:00
James Hawkins 837588c6a3 msi: Pad the month and day to two digits. 2008-01-07 12:16:45 +01:00
James Hawkins d316a94ecb msi: Remove an erroneous table. 2008-01-07 12:16:30 +01:00
James Hawkins c37849ad82 msi: Copy the temporary package when storing the installer. 2008-01-07 12:16:15 +01:00
James Hawkins e28cedf698 msi: Check the local package for existence when resolving the package source. 2008-01-07 12:16:04 +01:00
James Hawkins b012c3366c msi: Directly download mi->source now that SourceDir points to the URL. 2008-01-07 12:15:56 +01:00
James Hawkins 186487663a msi: OriginalDatabase can be a URL so check for a forward slash too. 2008-01-07 12:15:48 +01:00
James Hawkins 062070bfbe msi: SourceDir is formed from the path of OriginalDatabase. 2008-01-07 12:15:27 +01:00
James Hawkins 781e19aa4c msi: OriginalDatabase is the fully-expanded path to the original package if the package is local and installed from the command line. 2008-01-07 12:15:16 +01:00
James Hawkins c777d3095a msi: Factor out msi_set_sourcedir_props. 2008-01-07 12:15:10 +01:00
James Hawkins 4121c9bbc6 msi: If the package is a URL, the OriginalDatabase property should be the URL and the DATABASE property should be the path to the local temporary package. 2008-01-07 12:15:01 +01:00
James Hawkins 31c461ea5b msi: WriteEnvironmentStrings should also write to REG_EXPAND_SZ strings. 2008-01-07 12:14:52 +01:00
James Hawkins 4b4f737bfc msi: Only read an internal package if the file to install is compressed. 2008-01-07 12:14:43 +01:00
Gerald Pfeifer 2b1e487d36 msi: Adjust the types of loop variables. 2008-01-04 12:12:43 +01:00
Gerald Pfeifer bb8471beac msi: Remove an extraneous safety check and simplify generate_error_string(). 2008-01-03 11:53:45 +01:00
Gerald Pfeifer 739152ce3e msi: Remove an extraneous safety check and simplify deformat_string(). 2008-01-02 13:29:41 +01:00
Austin English 92e7fed80c msi: Fix several typos. 2008-01-02 13:20:06 +01:00
Lionel Debroux 99ad76c3c1 msi: Correctly handle return value of msi_realloc. 2008-01-02 13:17:52 +01:00
Gerald Pfeifer f7fea9e9f0 msi: Simplify condition in TABLE_fetch_stream(). 2008-01-02 12:38:42 +01:00
Michael Stefaniuc 1f26b146d1 janitorial: Remove superfluous backslashes at end of lines. 2007-12-31 19:23:45 +01:00
Gerald Pfeifer 63655bc1a1 msi: Add missing initializer for delete_ops. 2007-12-31 17:29:24 +01:00
Gerald Pfeifer 05cf0bdf81 msi: Fix error handling in encode_streamname(). 2007-12-27 13:43:56 +01:00