Commit Graph

523 Commits

Author SHA1 Message Date
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 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 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 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
James Hawkins 4d2e148fb0 msi: Use package_from_db instead of opening the package with MsiOpenPackage. 2007-10-26 14:03:47 +02:00
James Hawkins 1d9c680eed msi: Output expected values on failing tests. 2007-10-26 14:03:47 +02:00
James Hawkins a992991262 msi: Define _WIN32_MSI to pull in new definitions. 2007-10-26 14:03:47 +02:00
James Hawkins d258484b0b msi: Set the ROOTDRIVE property so the admin sequence won't choose its own. 2007-10-26 14:03:46 +02:00
James Hawkins 5169d04ec2 msi: Add missing newline to the adm_custom_action table. 2007-10-26 14:03:46 +02:00
James Hawkins 85bd53a675 msi: Include the null terminator when writing data to the stream. 2007-10-23 18:05:25 +02:00
Detlef Riekenberg c54219fb40 msi/tests: Do not leak a HKEY when RegQueryValueEx failed. 2007-10-19 12:26:17 +02:00
James Hawkins 2274388323 msi: Save nonpersistent strings as holes in the string pool. 2007-10-18 12:10:05 +02:00
James Hawkins 36df6a0655 msi: Test adding nonpersistent strings to the string table. 2007-10-18 12:09:52 +02:00
James Hawkins 26f86c55c9 msi: Return ERROR_FUNCTION_FAILED if a matching row is not found. 2007-10-18 12:09:39 +02:00
James Hawkins 46ec7ee183 msi: Return ERROR_FUNCTION_FAILED when inserting duplicate keys. 2007-10-18 12:09:33 +02:00
Marcus Meissner 6f865b9497 msi: Common Files is translated to current language. 2007-10-17 13:41:45 +02:00
Marcus Meissner 9684c9fee6 msi: Marked two variables static. 2007-10-17 13:40:59 +02:00
Juan Lang c2d66da665 msi: Don't crash if record has no fields. 2007-09-18 10:41:58 +02:00
Paul Vriens f581a1cbef msi/tests: Be verbose when GetProcAddress fails. 2007-08-21 21:38:31 +02:00
Marcus Meissner fb4901759b msi: Allocate 1 byte more buffer. 2007-08-13 12:25:32 +02:00
James Hawkins b353a09569 msi: Add tests for the RemoveFiles standard action. 2007-08-13 11:35:42 +02:00
Paul Vriens 5f16125246 msi/tests: Run tests again on win98 and NT4. 2007-08-10 16:19:03 +02:00
James Hawkins 6ac0816109 msi: Implement the UnpublishFeatures standard action. 2007-08-10 12:58:17 +02:00
James Hawkins 511bdd9de8 msi: Simplify MsiQueryComponentState, with more tests. 2007-08-09 13:53:36 +02:00
James Hawkins 0713c32869 msi: Implement the remaining contexts for MsiQueryComponentState. 2007-08-08 15:32:00 +02:00
James Hawkins ca55c7a330 msi: Implement the MSIINSTALLCONTEXT_MACHINE context for MsiQueryComponentState. 2007-08-07 12:39:48 +02:00
James Hawkins 072adfa99a msi: Add tests for MsiQueryComponentState. 2007-08-07 12:39:27 +02:00
James Hawkins 2e6ed06fdc msi: Reimplement joins to allow joining any number of tables, each of arbitrary size. 2007-08-02 12:18:42 +02:00
James Hawkins 4f6a93b9c8 msi: Add tests for joining three tables. 2007-08-02 12:18:42 +02:00
James Hawkins 5e81dbebb0 msi: Treat an empty string and a NULL string as the same value. 2007-07-30 15:26:51 +02:00
Misha Koshelev 03d19b5782 msi: Use SysAllocString/SysFreeString for BSTR members of EXCEPINFO structure. 2007-07-30 13:38:11 +02:00
James Hawkins ac1f717ab8 msi: Keep track of the wildcard record index. 2007-07-30 12:51:47 +02:00
James Hawkins b830fb0a34 msi: Implement the MSIMODIFY_UPDATE command in the SELECT view. 2007-07-27 12:24:39 +02:00
James Hawkins b0ac20e951 msi: Add more tests for MSIMODIFY_UPDATE. 2007-07-27 12:24:02 +02:00
James Hawkins f4147ca004 msi: Add handling for the MSIMODIFY_UPDATE command. 2007-07-24 11:49:59 +02:00
James Hawkins 479aca4731 msi: Add tests for the MSIMODIFY_UPDATE command. 2007-07-24 11:49:50 +02:00
James Hawkins ccef56f2cc msi: Ref count temporary columns and release them when necessary. 2007-07-23 11:55:34 +02:00
James Hawkins 0fd733bf90 msi: Implement adding columns using the ALTER command. 2007-07-23 11:55:11 +02:00
James Hawkins 3b1ab76986 msi: Implement reference counting for tables, manipulated with the HOLD and FREE sql commands. 2007-07-19 12:00:43 +02:00
James Hawkins 0169533be8 msi: Add more tests for the ALTER command. 2007-07-19 11:59:59 +02:00
James Hawkins dc3060c542 msi: Load the AdminProperties stream if the package is an Admin package. 2007-07-17 12:54:53 +02:00
Paul Vriens 02d14c85e7 msi/tests: Don't create a directory that's not needed. 2007-07-16 13:36:49 +02:00
James Hawkins 6805bf8ace msi: Add a test for running an ADMIN install. 2007-07-13 14:41:34 +02:00
James Hawkins ba257f0cea msi: Add a test for installing from different current working directories. 2007-07-13 14:41:14 +02:00
James Hawkins 6c940b9b49 msi: Fix compilation in MSVC. 2007-07-13 14:41:04 +02:00
James Hawkins ed281b725a msi: Fix three tests that were failing in Windows. 2007-07-13 14:40:59 +02:00
James Hawkins c7b53d37e1 msi: Fix automation.c compile for MSVC. 2007-07-13 14:40:55 +02:00
James Hawkins 30fc5602de msi: Reload properties as they may have been changed by a transform. 2007-07-13 12:27:33 +02:00
Alexandre Julliard 3f9632ca53 msi/tests: Comment out call to function that is still a stub in Wine. 2007-07-12 13:00:47 +02:00
James Hawkins 0f6aaf86bd msi: Add tests for adding properties with a transform during an install. 2007-07-11 12:42:59 +02:00
James Hawkins 1093eb83cd msi: Add tests for adding properties in a transform. 2007-07-11 12:42:55 +02:00
James Hawkins 5a8e0e8c1d msi: Fix current _Property table tests and add more tests. 2007-07-11 12:42:45 +02:00
James Hawkins 17ba74195b msi: Handle adding columns in transforms. 2007-07-10 13:35:50 +02:00
James Hawkins 9285351ad3 msi: Test adding columns with data in a transform. 2007-07-10 13:35:39 +02:00
James Hawkins 5af06dec83 msi: Delete msifile after the tests. 2007-07-10 13:35:31 +02:00
James Hawkins dfa1b1299c msi: Match the changes made by the hand-generated and API-generated transforms. 2007-07-10 13:35:11 +02:00
James Hawkins 39a5638268 msi: Read the components state directly from the registry. 2007-07-03 14:05:41 +02:00
James Hawkins 34f6af95b4 msi: Return INSTALLSTATE_BADCONFIG if we can't decode the first component. 2007-07-03 14:05:36 +02:00
James Hawkins 73e0a87477 msi: Return INSTALLSTATE_ADVERTISED if the component list is empty. 2007-07-03 14:05:29 +02:00
James Hawkins 1130d5909b msi: Open the correct key and return INSTALLSTATE_ADVERTISED if it's missing. 2007-07-03 14:05:21 +02:00
James Hawkins ceb4e6d4ef msi: Add tests for MsiQueryFeatureState. 2007-07-03 13:50:08 +02:00
James Hawkins 0e44e090c5 msi: Set the WindowsInstaller value in RegisterProduct instead of PublishProduct. 2007-07-03 13:49:44 +02:00
James Hawkins a2df31aea1 msi: Only publish the product if at least one feature is to be installed. 2007-07-03 13:49:35 +02:00
James Hawkins 624bbbe78a msi: Unpublish the product when it is entirely removed. 2007-07-03 13:49:18 +02:00
James Hawkins 5e46fc9019 msi: Delay publishing of the SourceList until the PublishProduct action. 2007-07-03 13:43:20 +02:00
James Hawkins 08443b3bf7 msi: PackagePath must also include the package name. 2007-07-03 13:43:00 +02:00
James Hawkins 56129f252c msi: Add tests to show when the SourceList is published to the registry. 2007-07-03 13:42:52 +02:00
James Hawkins 04c67c2a1c msi: Add support for the MSICODE_PATCH option. 2007-07-03 13:42:42 +02:00
James Hawkins 0cd708e7f5 msi: pcchValue represents the length of szValue in TCHARS, not bytes. 2007-07-03 13:42:22 +02:00
James Hawkins c26505b701 msi: Return ERROR_SUCCESS if the PackageName property is not present. 2007-07-02 15:28:50 +02:00
James Hawkins 381b915b47 msi: Return ERROR_BAD_CONFIGURATION if the SourceList key does not exist. 2007-07-02 15:28:42 +02:00
James Hawkins 3e56d78f2e msi: Validate MsiSourceListGetInfo parameters. 2007-07-02 15:28:33 +02:00
James Hawkins 1ff40d1558 msi: Add tests for MsiSourceListGetInfo. 2007-07-02 15:28:14 +02:00
James Hawkins bafc4dc385 msi: Ignore invalid conditional expressions when checking the launch conditions. 2007-06-29 12:33:19 +02:00
James Hawkins 219857f831 msi: Add tests that show '!=' is not a valid conditional expression operator. 2007-06-29 12:33:09 +02:00
James Hawkins c18b77557d msi: Set the WindowsInstaller value of the UserData product key when publishing the product. 2007-06-27 12:32:45 +02:00
James Hawkins 24ede2f9e6 msi: If the UserData product key exists, but the user product key doesn't, the product is absent. 2007-06-27 12:32:44 +02:00
James Hawkins 3bf32f2700 msi: Any value of WindowsInstaller besides 0 means the product is installed. 2007-06-27 12:32:44 +02:00
James Hawkins 7da89f48fd msi: Use the correct registry key when detecting a published product. 2007-06-27 12:32:44 +02:00
James Hawkins 15823e1acf msi: If the user product key exists, the product's state is advertised. 2007-06-27 12:32:43 +02:00
James Hawkins e92f66558a msi: Validate MsiQueryProductCode parameters. 2007-06-27 12:32:43 +02:00
James Hawkins db318ec9af msi: Add tests for MsiQueryProductState. 2007-06-27 12:32:43 +02:00
James Hawkins 90e9722ecb msi: Add tests for publishing and unpublishing products, features, and components. 2007-06-26 12:11:54 +02:00
James Hawkins 9309f4dfa0 msi: Properly delete rows from the table, instead of zeroing out the row. 2007-06-19 11:31:44 +02:00
Misha Koshelev b7233ba33f msi: automation: Implement SummaryInfo::PropertyCount. 2007-06-05 11:00:18 +02:00
Misha Koshelev 61f4fff42b msi/tests: automation: Add tests for SummaryInfo::PropertyCount. 2007-06-05 10:59:52 +02:00
Misha Koshelev dcbd8e93d5 msi: automation: Implement SummaryInfo::Property, put. 2007-06-05 10:59:38 +02:00
Misha Koshelev aaa7fd9e11 msi/tests: automation: Add tests for SummaryInfo::Property, put. 2007-06-05 10:59:00 +02:00
Misha Koshelev 3fd518a505 msi/tests: automation: Add test for Installer::OpenDatabase. 2007-06-05 10:58:41 +02:00
Misha Koshelev 8b2d0d3e34 msi: suminfo: Return ERROR_UNKNOWN_PROPERTY as native. 2007-06-05 10:57:56 +02:00
Misha Koshelev b9ea25721b msi/tests: suminfo: Add tests for MsiSummaryInfoGetProperty for unknown property values. 2007-06-05 10:57:50 +02:00
Misha Koshelev 0c503defcf msi: automation: Fix SummaryInfo::Property get to conform to native. 2007-06-04 13:00:24 +02:00
Misha Koshelev f2c10a530c msi/tests: automation: Add tests for SummaryInfo::Property, get. 2007-06-04 12:59:43 +02:00
Francois Gouget fa48cb042c Assorted spelling fixes. 2007-05-29 13:47:18 +02:00
Francois Gouget dbf7b7b398 msi/tests: Fix a signed/unsigned int mismatch. 2007-05-29 12:12:01 +02:00
James Hawkins ea2c96c5df msi: Add the ability to deformat the component's source. 2007-05-25 19:30:50 +02:00
Misha Koshelev 74de3e1754 msi: Make MsiEnumProducts enumerate products, not features. 2007-05-21 12:38:55 +02:00
Misha Koshelev ea899e1d6f msi/tests: automation: Test Installer::Products before and after InstallProduct, check product is not/is installed. 2007-05-21 12:38:55 +02:00
Misha Koshelev 74b2c18bae msi/tests: automation: Installer::InstallProduct, remove a registry key set by Wine but not native. 2007-05-21 12:38:55 +02:00
Misha Koshelev 01460f6753 msi: automation: Implement StringList::_NewEnum. 2007-05-18 20:01:55 +02:00
Misha Koshelev 2521111bc7 msi/tests: automation: Add tests for StringList::_NewEnum. 2007-05-18 20:00:30 +02:00
Misha Koshelev 5ee995d90a msi/tests: automation: Fix Installer_ProductInfo ok message to correctly state function. 2007-05-18 20:00:13 +02:00
Misha Koshelev ee33e40542 msi/tests: automation: Change SUCCEEDED(hr) to more specific hr == S_OK. 2007-05-18 14:43:40 +02:00
Misha Koshelev 63ed9117c3 msi/tests: automation: Check for NULL source string before calling lstrcpyW. 2007-05-18 14:43:05 +02:00
Misha Koshelev f1f687e646 msi/tests: automation: Change non-const LPCWSTR parameters to LPWSTR. 2007-05-18 14:42:57 +02:00
Misha Koshelev 8136bd4117 msi: automation: Implement Installer::ProductInfo. 2007-05-17 12:47:39 +02:00
Misha Koshelev d800a082a8 msi: Return appropriate values for empty MsiProductInfo parameters. 2007-05-17 12:47:20 +02:00
Misha Koshelev 68bfb39767 msi/tests: Add test for empty MsiGetProductInfo parameters not referencing default registry values. 2007-05-17 12:45:16 +02:00
Misha Koshelev 2177e492e6 msi/tests: automation: Add tests for Installer::ProductInfo. 2007-05-16 14:58:19 +02:00
Misha Koshelev 0eaf8bc164 msi/tests: automation: Remove unnecessary if (SUCCEEDED(hr)) statements. 2007-05-16 14:58:07 +02:00
Francois Gouget 0acb5810bf Assorted spelling fixes. 2007-05-15 18:09:16 +02:00
Misha Koshelev 536b49905b msi: Make MsiEnumRelatedProducts enumerate registry value names, not subkeys. 2007-05-15 14:11:37 +02:00
Misha Koshelev a6dfcf90f7 msi: automation: Implement Installer::RelatedProducts. 2007-05-15 14:10:58 +02:00
Misha Koshelev 7a9b218235 msi/tests: automation: Add tests for Installer::RelatedProducts. 2007-05-15 14:09:52 +02:00
Misha Koshelev 5b37ba6f04 msi: automation: Implement Installer::InstallProduct. 2007-05-15 14:09:42 +02:00
Misha Koshelev b75b224822 msi/tests: automation: Add test for Installer::InstallProduct. 2007-05-15 14:06:47 +02:00
Misha Koshelev 18cab64b42 msi: automation: Implement Record::IntegerData. 2007-05-15 14:06:27 +02:00
Misha Koshelev 9d234fcb9f msi: automation: Implement View::Modify. 2007-05-14 16:20:01 +02:00
Misha Koshelev 854ca51a5f msi/tests: automation: Add test for View::Modify. 2007-05-14 16:19:24 +02:00
Misha Koshelev 5e16dbb3f3 msi/tests: automation: Add tests for Record::IntegerData. 2007-05-14 16:19:15 +02:00
Misha Koshelev d2ad4e09ce msi/tests: automation: Correct expected Record::StringData PROPERTYPUT return variant type. 2007-05-14 16:19:05 +02:00
Misha Koshelev c0c6fe6341 msi: automation: Implement Record::FieldCount. 2007-05-14 16:17:22 +02:00
Misha Koshelev aa9f4beb65 msi: automation: Return DISP_E_MEMBERNOTFOUND if flags are incorrect. 2007-05-14 16:16:54 +02:00
Misha Koshelev 6bb7c911f5 msi/tests: automation: Test invoking methods as properties & vice versa. 2007-05-14 16:15:51 +02:00
Misha Koshelev 7eb3db632e msi: automation: Implement Installer::CreateRecord. 2007-05-14 16:15:40 +02:00
Misha Koshelev 075e1898bf msi/tests: automation: Test for Installer::CreateRecord error. 2007-05-14 16:15:20 +02:00
Misha Koshelev 2d8c2ce6d6 msi: automation: Implement Session::EvaluateCondition. 2007-05-14 16:14:58 +02:00
Misha Koshelev 75222d7452 msi/tests: automation: Add tests for Session::EvaluateCondition. 2007-05-14 16:13:23 +02:00
Misha Koshelev d74e643f8c msi: automation: Implement Installer::RegistryValue. 2007-05-11 12:59:52 +02:00
Marcus Meissner c904290336 msi/tests: Increase buffer size a bit.
Spotted by Coverity.
2007-05-11 11:45:36 +02:00
Francois Gouget 450ad214ec msi/tests: Add missing '\n' to ok() calls. 2007-05-11 11:20:25 +02:00
Paul Vriens a543e60dc9 msi/tests: Properly cleanup after each test. 2007-05-10 12:14:14 +02:00