Commit Graph

1847 Commits

Author SHA1 Message Date
James Hawkins 30e5321867 msi: Add tests for the MSIMODIFY_REFRESH command. 2008-02-18 12:41:37 +01:00
James Hawkins bbdf79bc8c msi: Convert REG_DWORD properties to strings in MsiGetProductInfo. 2008-02-18 12:41:37 +01:00
James Hawkins 8412a1363b msi: Set the UserLanguageID property. 2008-02-18 12:41:37 +01:00
Rob Shearman 85fbdfcc9e msi: Fix the character count passed into RegSetValueExA in test_MsiQueryFeatureState. 2008-02-18 12:41:36 +01:00
Marcus Meissner 11b25a65ac msi: Fixed error reporting of add_streams_to_table. 2008-02-16 15:15:26 +01:00
Paul Vriens 4c105b2f5c msi/tests: Services are not available on win9x. 2008-02-15 11:07:19 +01:00
Rob Shearman e35bd05082 msi: Add stub implementation of MsiIsProductElevatedA/W. 2008-02-15 09:59:59 +01:00
James Hawkins 050fa6a40c msi: Add tests for source folder resolution. 2008-02-13 16:41:14 +01:00
James Hawkins ec086f77e3 msi: Handle carriage returns in MsiDatabaseImport. 2008-02-12 22:59:53 +01:00
James Hawkins 00cfd2899b msi: Use MsiViewModify instead of building a SQL query when adding rows to the table. 2008-02-12 22:59:46 +01:00
James Hawkins 4cc569cce6 msi: Read the language info from the file. 2008-02-12 22:59:37 +01:00
James Hawkins 1f3d6a9744 msi: Reimplement MsiGetProductInfo. 2008-02-12 22:59:29 +01:00
James Hawkins f461a8d4c1 msi: Test the remaining installer properties returned by MsiGetProductInfo. 2008-02-11 20:55:03 +01:00
James Hawkins ff0dc44f2d msi: Return ERROR_INVALID_PARAMETER if szProduct is invalid. 2008-02-11 20:53:13 +01:00
James Hawkins 33c1e6ef56 msi: Add tests for MsiGetProductInfo. 2008-02-11 20:47:52 +01:00
James Hawkins 0d56df214b msi: Successfully return an empty string when requesting a record index beyond the record's size. 2008-02-11 20:45:24 +01:00
James Hawkins 2750ed167f msi: Don't check for the existence of the msi package when running a concurrent install. 2008-02-11 20:45:17 +01:00
James Hawkins a8d87a86cc msi: Handle the special table _ForceCodepage in MsiDatabaseExport. 2008-02-11 20:42:29 +01:00
James Hawkins 7d529228d3 msi: Add tests for not using quotes in SQL queries. 2008-02-11 20:42:19 +01:00
Alexandre Julliard 2e6ec39565 msi/tests: Fix test that depends on the order of the files in a directory. 2008-02-11 20:41:40 +01:00
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
Rob Shearman 5b072fbbec msi: Fix several memory leaks after using IEnumSTATSTG_Next.
The pwcsName field of STATSTG must be freed, otherwise the memory will 
be leaked.
2007-12-26 14:02:01 +01:00
Andrew Talbot 15d6436295 msi: Remove unneeded cast. 2007-12-24 13:30:24 +01:00
James Hawkins f0d369ba44 msi: Allow whitespace after the property name when setting a property in the dialog. 2007-12-23 14:17:11 +01:00
James Hawkins 58c7fe1095 msi: Allow the not-equal operator in WHERE query string comparisons. 2007-12-23 14:17:11 +01:00
James Hawkins 3c0f7ca4e6 msi: Fix deleting temporary rows, with tests. 2007-12-23 14:17:11 +01:00
James Hawkins f4eea10bed msi: The BS_GROUPBOX style should only be used if the HasBorder attribute is set. 2007-12-20 12:17:21 +01:00
James Hawkins 18407eafdc msi: Initialize a default COM apartment for custom actions. 2007-12-20 10:47:35 +01:00
James Hawkins 1d42de71ea msi: Allow NULL parameters to be passed to the local MsiSetProperty. 2007-12-20 10:47:32 +01:00
James Hawkins b774ffe1d2 msi: Free the ordering information. 2007-12-19 12:18:54 +01:00
Francois Gouget a39ea2e8ba msi: Add a trailing '\n' to Wine traces. 2007-12-18 12:32:55 +01:00
James Hawkins 91c205e8c0 msi: Sort each table of the join separately. 2007-12-18 12:32:55 +01:00
James Hawkins f93ee6f420 msi: Test sorting a table using a column that is not selected. 2007-12-18 12:32:55 +01:00
James Hawkins b1ce93f944 msi: Set the text color after calling the window proc. 2007-12-17 11:48:39 +01:00
James Hawkins b1cc87cb65 msi: The line control has a height of exactly 2 device units. 2007-12-17 11:48:35 +01:00
James Hawkins 4295ce4fb6 msi: Return ERROR_INVALID_PARAMETER if the product list is empty and index is not zero. 2007-12-17 11:48:30 +01:00
James Hawkins 88d51ad122 msi: Return ERROR_UNKNOWN_COMPONENT if no products exist. 2007-12-17 11:48:26 +01:00
James Hawkins 3edd258fcd msi: Also check the local system component key for the clients. 2007-12-17 11:48:21 +01:00
James Hawkins fced2fee2f msi: Check the user component key for the clients. 2007-12-17 11:48:13 +01:00
James Hawkins 5f7b95dadd msi: Validate the parameters of MsiEnumClients. 2007-12-17 11:48:03 +01:00
James Hawkins 64c75d1e02 msi: Add tests for MsiEnumClients. 2007-12-17 11:47:58 +01:00
James Hawkins 4777a3a33b msi: Simplify ExpandAnyPath. 2007-12-17 11:47:49 +01:00
James Hawkins ce6e84c071 msi: Verify that the PID_PAGECOUNT and PID_REVNUMBER summary info properties exist. 2007-12-17 11:35:33 +01:00
James Hawkins 620862e385 msi: If the package doesn't exist, return ERROR_FILE_NOT_FOUND. 2007-12-17 11:35:23 +01:00
James Hawkins f933dd8b4f msi: Validate the parameters of MsiOpenPackage. 2007-12-17 11:35:17 +01:00
James Hawkins 8fab39cc60 msi: Add more tests for MsiOpenPackage. 2007-12-17 11:35:11 +01:00
James Hawkins 1277e1b55a msi: Release the record when loading the hash data. 2007-12-17 11:35:05 +01:00
Marcus Meissner 964a0303c1 msi: Fixed buffer overflow in number parsing. 2007-12-17 11:33:33 +01:00
James Hawkins fa8476e7f6 msi: Close the file handle returned by FindFirstFile. 2007-12-14 12:26:21 +01:00
Lionel Debroux fe444f0217 msi: Fix memory leaks (found by Smatch). 2007-12-13 14:30:40 +01:00
Lionel Debroux 1bed47a3b3 msi: Fix missing alloc check. 2007-12-13 14:30:40 +01:00