Commit Graph

1810 Commits

Author SHA1 Message Date
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
James Hawkins d51ed8bd93 msi: Free the cabinet string on error. 2007-12-12 13:48:50 +01:00
James Hawkins 80894d1c52 msi: Properly release the record. 2007-12-12 13:48:46 +01:00
James Hawkins e62b8c9b99 msi: Free the user sid string. 2007-12-12 13:48:42 +01:00
James Hawkins f919a24eb2 msi: Free the deformatted string. 2007-12-12 13:48:38 +01:00
James Hawkins e6431cd06e msi: Handle the CompLocator table in the AppSearch action. 2007-12-08 19:53:49 +01:00
James Hawkins 44349af11a msi: Reimplement MsiGetProductCode. 2007-12-08 19:53:43 +01:00
James Hawkins 2634d86a08 msi: Remove two tests that depend on the sort order of RegEnumValue. 2007-12-08 19:53:39 +01:00
James Hawkins 8090dbad93 msi: Add tests for MsiGetProductCode. 2007-12-07 17:07:16 +01:00
James Hawkins 383a8a5b92 msi: Reimplement MsiGetComponentPath. 2007-12-05 12:08:04 +01:00
James Hawkins ced84f5b53 msi: Add tests for MsiGetComponentPath. 2007-12-05 12:07:35 +01:00
James Hawkins 440af17322 msi: Test the CompLocator subset of the AppSearch action. 2007-12-04 18:17:01 +01:00
James Hawkins c77d200f27 msi: Add a stub implementation of MsiEnumComponentCostsW. 2007-12-03 14:03:11 +01:00
James Hawkins b57a2f93a9 msi: Implement the Version property of the Installer object. 2007-12-03 14:03:06 +01:00
James Hawkins 6a30e1b0b4 msi: Test the CCPSearch action. 2007-12-03 14:03:00 +01:00
James Hawkins 80bbf58378 msi: Use a hash table for reordering rows in a WHERE query to conserve space. 2007-12-03 13:44:46 +01:00
James Hawkins 33a4fe19de msi: Don't check for the media or cabinet if the cabinet is internal. 2007-11-29 13:37:13 +01:00
James Hawkins 32d3ffc5c5 msi: Make sure attr is valid before checking for the directory bit. 2007-11-29 13:37:07 +01:00
Anatoly Lyutin 704c399237 msi: Fix invalid SQL query. 2007-11-28 11:14:42 +01:00
James Hawkins 63fe32a8bb msi: Downgrade an ERR to a WARN. 2007-11-26 12:28:49 +01:00
James Hawkins 6dd927a265 msi: Fix the condition of a FIXME. 2007-11-26 12:28:44 +01:00
James Hawkins 0a05a87436 msi: Downgrade an ERR to a WARN. 2007-11-26 12:28:37 +01:00
James Hawkins 8912798fb5 msi: Downgrade a FIXME to a WARN. 2007-11-26 12:28:31 +01:00
James Hawkins ca9a4dc0d9 msi: Only check the volume label if it's different than the first media's volume label. 2007-11-26 12:28:24 +01:00
James Hawkins 4160722b07 msi: Check the destination file's hash and skip that file if the hash matches. 2007-11-26 12:28:15 +01:00
James Hawkins 6a6a218548 msi: Set the file contents of the file hash test file explicitly. 2007-11-26 12:28:03 +01:00
James Hawkins e100288934 msi: Verify the szFilePath parameter of MsiGetFileHash. 2007-11-26 12:27:53 +01:00
James Hawkins ef7d16c816 msi: Add tests for MsiGetFileHash and clean up the existing tests. 2007-11-26 12:27:45 +01:00
Misha Koshelev ac2c1b8070 msi: automation: Fix ITypeInfo leak. 2007-11-20 16:39:19 +01:00
Misha Koshelev c30d03f8cc msi/tests: automation: Add missing VariantClear. 2007-11-20 16:39:14 +01:00
Misha Koshelev 74a2ce4d99 msi/tests: Close opened service handles. 2007-11-20 16:38:56 +01:00
Misha Koshelev fce6f56f93 msi: automation: Fix automation object reference counts when objects are created. 2007-11-20 16:38:42 +01:00
James Hawkins 075e84bd90 msi: Check the cabinet's full path for existence, not just the cabinet name. 2007-11-20 12:29:00 +01:00
James Hawkins 78eead93fd msi: Don't check for a cabinet's existence if it's embedded in the package. 2007-11-19 12:55:36 +01:00
James Hawkins 4e9940990b msi: Don't ignore the error returned by ready_media. 2007-11-15 12:48:29 +01:00
James Hawkins b1507aee98 msi: Only check the presence of the cabinet if the file is compressed. 2007-11-15 12:48:18 +01:00
James Hawkins 0023759a4b msi: Add tests for situations involving missing cabinets. 2007-11-15 12:48:08 +01:00
James Hawkins bb747e4fbe msi: Simplify ready_media. 2007-11-15 12:47:59 +01:00