Commit Graph

1762 Commits

Author SHA1 Message Date
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
James Hawkins 474fca1eec msi: Fix the condition for checking a drive. 2007-11-13 13:35:50 +01:00
James Hawkins bee95916f7 msi: Set the file to NULL when running the directory search. 2007-11-13 13:35:41 +01:00
James Hawkins 9459ef5ab1 msi: Implement the VolumeSelectCombo control. 2007-11-13 13:35:27 +01:00
James Hawkins c68825569d msi: Test the Uninstall registry entries. 2007-11-13 13:35:21 +01:00
James Hawkins f6b27673b0 msi: Delete the uninstall key when the product is removed. 2007-11-13 13:35:01 +01:00
James Hawkins 0e29f314f5 msi: Return a remote interface to the database in a custom action. 2007-11-12 12:06:40 +01:00
James Hawkins 7dffb518c0 msi: Create the _Tables table when creating a database. 2007-11-12 12:06:29 +01:00
James Hawkins ef1277d462 msi: Test the default tables added by MsiOpenDatabase. 2007-11-12 12:06:22 +01:00
Alexandre Julliard 0590fe2ecf Make some variables static. 2007-11-06 14:38:54 +01:00
James Hawkins 25a612b8f3 msi: Test that the install state is dependent on the feature and component registration. 2007-11-06 14:01:21 +01:00
James Hawkins c31fd4371a msi: Process the ADDSOURCE property when setting feature states. 2007-11-06 14:01:17 +01:00
James Hawkins 75b825da17 msi: Test the install states of removed features. 2007-11-06 14:01:12 +01:00
James Hawkins fcc490d047 msi: Add a missing struct initialization. 2007-11-06 14:01:03 +01:00
James Hawkins 1a0b23cd7d msi: Implement the CCPSearch standard action. 2007-11-05 14:55:24 +01:00
James Hawkins 1c1cf26997 msi: Explicitly check the returned value against -1 as the variable is unsigned. 2007-11-05 14:55:14 +01:00
James Hawkins 3a5178e900 msi: Don't update a table entry when applying a transform if the string value is the same. 2007-11-05 14:54:11 +01:00
James Hawkins 9d71238a16 msi: Fix the location used to write the user's environment variables. 2007-11-05 14:54:05 +01:00
James Hawkins 2df062182a msi: Remove an unused parameter. 2007-11-05 14:53:58 +01:00
James Hawkins 556a01d7c5 msi: Use a magic constant to silence signedness comparison warnings. 2007-11-05 14:53:34 +01:00
James Hawkins 546bcef0bb msi: MsiQueryProductState returns INSTALLSTATE, not UINT. 2007-11-05 14:53:27 +01:00
James Hawkins b03082c397 msi: MsiQueryFeatureState and MsiUseFeatureEx return INSTALLSTATE, not UINT. 2007-11-05 14:53:21 +01:00
James Hawkins 37895faaa8 msi: MsiViewGetError returns MSIDBERROR, not UINT. 2007-11-05 14:53:16 +01:00
James Hawkins 76275bea09 msi: Remove an unused parameter. 2007-11-05 14:53:10 +01:00
James Hawkins cf8e9e3311 msi: Remove an unused parameter. 2007-11-05 14:53:04 +01:00
James Hawkins bb54ed1335 msi: Fix the sign of an index variable. 2007-11-05 14:52:56 +01:00
James Hawkins 1a896348d5 msi: Remove a legacy error check. 2007-11-05 14:52:51 +01:00
James Hawkins 35a6782d7b msi: Test and implement the MSIMODIFY_DELETE command. 2007-11-05 14:52:46 +01:00
James Hawkins 341d1fa7b5 msi: Initialize a handle in case MsiGetSummaryInformation fails. 2007-11-05 14:52:38 +01:00
James Hawkins 21bde9d974 msi: Fix the location used to read machine context source list info. 2007-11-05 14:52:31 +01:00
James Hawkins 21619964da msi: szUserSid must be NULL if context is MSIINSTALLCONTEXT_MACHINE. 2007-11-05 14:52:25 +01:00
James Hawkins 14d439c863 msi: Handle the MSIINSTALLCONTEXT_USERMANAGED context. 2007-11-05 14:52:19 +01:00
James Hawkins 3d5b3ef903 msi: Reimplement MsiSourceListAddSourceEx to handle reordering the source list. 2007-11-05 14:52:09 +01:00
James Hawkins d9a8f0b5fe msi: The options must include a source type. 2007-11-05 14:48:31 +01:00
James Hawkins 7fe6aad7fa msi: An empty source is an invalid parameter. 2007-11-05 14:48:25 +01:00
James Hawkins dde89244e5 msi: Append a slash to network and url sources. 2007-11-05 14:48:16 +01:00
James Hawkins 798429f9ca msi: Validate the product code. 2007-11-05 14:47:33 +01:00
James Hawkins 861ae27a4f msi: Return the error from OpenSourceKey. 2007-11-05 14:47:26 +01:00
James Hawkins 266ee0f571 msi: Add tests for MsiSourceListAddSourceEx. 2007-11-05 14:47:11 +01:00
James Hawkins 22c10da044 msi: Don't create the product source key when adding a source. 2007-11-05 14:46:59 +01:00
James Hawkins 44e1c7d79b msi: Implement MsiSourceListAddSourceExA. 2007-11-05 14:46:52 +01:00
James Hawkins 405d0be4f7 msi: do_query is supposed to fail, so don't release a handle that is never initialized. 2007-11-05 14:46:41 +01:00
James Hawkins 07c3f4411e msi: A feature's requested action does not depend on its installed state. 2007-11-01 12:43:24 +01:00
James Hawkins ccdf578ba2 msi: Only unpublish the features if the entire product is being uninstalled. 2007-11-01 12:43:18 +01:00
James Hawkins 9f11a5a878 msi: Properly register features. 2007-11-01 12:43:12 +01:00
James Hawkins fc6b9dd4e4 msi: Properly register and unregister components. 2007-11-01 12:43:06 +01:00
James Hawkins eec9bbb12d msi: Remove a duplicated function. 2007-11-01 12:42:57 +01:00
James Hawkins c3df74e24f msi: Implement the MoveFiles standard action. 2007-11-01 12:42:50 +01:00
James Hawkins b9a29e221f msi: Test the MoveFiles standard action. 2007-11-01 12:41:54 +01:00