Commit Graph

719 Commits

Author SHA1 Message Date
James Hawkins f03889ae82 msi: Add initial implementation of MsiDatabaseMerge, with tests. 2008-10-09 12:58:25 +02:00
James Hawkins c9ec69db02 msi: Add tests for converting record fields between strings and ints. 2008-10-09 12:58:12 +02:00
James Hawkins 7cd6736886 msi: Add tests for dropping tables with multiple columns. 2008-10-07 12:13:52 +02:00
James Hawkins d15fddf6f5 msi: Resolve file source paths dynamically, as the source directory can be changed. 2008-10-07 12:13:33 +02:00
James Hawkins 62c544cf4f msi: Implement the DROP TABLE sql command. 2008-10-06 13:05:52 +02:00
James Hawkins 48e6e584d3 msi: Fix a test that fails in win95. 2008-10-01 11:41:34 -05:00
James Hawkins 3713720351 msi: Fix several test failures in win9x. 2008-09-29 17:24:17 -05:00
Marcus Meissner dd142bf5a7 msi/tests: Fix explicit C:\\Program Files\\ references. 2008-09-29 17:23:42 -05:00
Marcus Meissner 67b06ecba5 msi/tests: Reduce buffer to size of string written. 2008-09-15 11:43:53 +02:00
Paul Vriens 2dfcb94211 msi/tests: Prevent a crash on NT4. 2008-09-15 11:23:42 +02:00
Paul Vriens 58ddb6f564 msi/tests: Create only one log file and delete it afterwards. 2008-09-11 11:43:09 +02:00
Rob Shearman ef1b0cacfa msi: Reduce destination file name used in the MoveFiles action to the long file name.
Add a test for this behaviour.
2008-09-10 12:08:52 +02:00
James Hawkins d11968cade msi: Fix a few file access discrepancies between platforms. 2008-09-09 11:46:17 +02:00
James Hawkins 8a9ba8f73f msi: Actions should be run even if the installed state is the same as the requested state. 2008-09-08 12:47:22 +02:00
James Hawkins e5fd83da6d msi: Fix a failing test in Vista. 2008-09-03 13:14:51 +02:00
Paul Vriens c559895ce9 msi/tests: Create a system restore point when needed. 2008-09-02 13:28:23 +02:00
Paul Vriens 4bc832c29a msi/tests: Add a missing CoUninitialize. 2008-09-02 13:27:46 +02:00
James Hawkins f40890c940 msi: Add tests for opening an empty package. 2008-08-29 13:26:33 +02:00
James Hawkins d880470dbf msi: Handle converting a value of REG_DWORD in MsiSourceListEnumMediaDisks. 2008-08-29 13:26:25 +02:00
Paul Vriens dd0ec9f811 msi/tests: Remove service tests. 2008-08-28 11:03:42 +02:00
James Hawkins 3bec162d51 msi: Skip the component action detection logic if there is no product code. 2008-08-25 11:40:38 +02:00
James Hawkins d596ae29d8 msi: Skip the feature action detection logic if there is no product code. 2008-08-25 11:40:30 +02:00
James Hawkins c855fbfcd8 msi: Don't install a feature that is disabled. 2008-08-25 11:40:22 +02:00
James Hawkins 9288055beb msi: Only set the action to source if the component has a local feature. 2008-08-25 11:40:15 +02:00
James Hawkins 3807a91739 msi: Fix the logic to determine the appropriate action of the feature. 2008-08-25 11:40:09 +02:00
James Hawkins 63064f7a45 msi: Handle features installed as source in MsiQueryFeatureState. 2008-08-25 11:40:02 +02:00
James Hawkins 472b991958 msi: Don't remove a misc file if the action is unknown. 2008-08-21 11:44:39 +02:00
James Hawkins 7c9873e471 msi: Fix the logic to determine the appropriate action of the component. 2008-08-21 11:44:27 +02:00
James Hawkins f909e1c06e msi: Don't remove a file that is installed as source. 2008-08-21 11:44:19 +02:00
James Hawkins 4553d0fd47 msi: Remove an invalid setting of the install state. 2008-08-21 11:44:13 +02:00
James Hawkins 39b874706c msi: Handle components installed as source in MsiQueryComponentState. 2008-08-21 11:44:05 +02:00
James Hawkins 7b858882ac msi: If the filename is empty or NULL, remove the directory. 2008-08-21 11:43:51 +02:00
James Hawkins 96dd6ce167 msi: Handle processing a component that is installed to source. 2008-08-21 11:43:44 +02:00
James Hawkins 5a3c3b6a12 msi: Use MsiQueryFeatureState to determine the feature's state. 2008-08-19 13:56:08 +02:00
James Hawkins 42115638c8 msi: Use MsiQueryComponent state to determine the component's state. 2008-08-19 13:56:04 +02:00
James Hawkins 10a2a5effe msi: Base removal of a file on the component's action, not the file's state. 2008-08-19 13:56:01 +02:00
James Hawkins 7fbce31ef7 msi: Add more tests for feature and component states. 2008-08-19 13:55:58 +02:00
James Hawkins 5ea0d9d807 ole32: Storage sharing should be implemented in ole32, not the lower-level file API. 2008-08-19 13:55:53 +02:00
James Hawkins 0e6bfb3b43 msi: Test the file access and share modes of MsiOpenDatabase. 2008-08-19 13:39:51 +02:00
James Hawkins e64a699b07 msi: Remove misc files from the RemoveFile table. 2008-08-19 13:39:40 +02:00
James Hawkins a00bdc1178 msi: A file's component's state does not determine file removal. 2008-08-19 13:39:30 +02:00
James Hawkins 9a8d2f3f5c msi: Ignore a file that has a missing component. 2008-08-19 13:39:02 +02:00
James Hawkins 6e63953b4c msi: Also check the LocalPackage install property when searching for the product package. 2008-08-18 17:15:46 +02:00
James Hawkins d500dc4f31 msi: Test how MsiConfigureProductEx locates the source package. 2008-08-18 17:04:53 +02:00
James Hawkins 68e6be45e1 msi: Add tests for MsiOpenProduct. 2008-07-31 13:04:44 +02:00
James Hawkins dfec94c157 msi: Add tests for MsiConfigureProductEx. 2008-07-29 12:20:11 +02:00
James Hawkins 396eea6006 msi: Determine the source path based on the short/long file names bit of the Word Count summary property. 2008-07-22 13:10:56 +02:00
James Hawkins ede4a3b598 msi: Set all folders' source paths to the root directory if the source type is compressed. 2008-07-22 13:10:45 +02:00
James Hawkins 36f282b0b1 msi: Test mixing short and long source paths when installing a file. 2008-07-22 13:10:31 +02:00
James Hawkins 64a9e0f750 msi: msidbFileAttributesVital has no effect on the installation of files. 2008-07-22 13:10:21 +02:00
James Hawkins 27ce47a263 msi: Test getting the source path from a package with short file names. 2008-07-22 13:10:00 +02:00
James Hawkins e806a285ef msi: Test getting the source path from a package with compressed files. 2008-07-22 13:09:51 +02:00
James Hawkins 45f9cb4d62 msi: Add more tests for MsiGetSourcePath. 2008-07-22 13:09:44 +02:00
Jacek Caban 014b96ef15 msi: Added Session::Message implementation. 2008-07-17 11:36:22 +02:00
James Hawkins 1fed032a43 msi: Only copy the resulting string if the RegistryValue call succeeded. 2008-07-09 10:44:59 +02:00
James Hawkins 1ed12b76e1 msi: Add tests for opening a package from a database. 2008-07-09 10:44:54 +02:00
Alexandre Julliard 79c64acc7b tests: Don't depend on the static uuid libraries in the tests.
This avoids trouble with the broken MingW libraries when
cross-compiling the tests.
2008-07-08 17:51:45 +02:00
James Hawkins e59b3fa864 msi: Consolidate and add more SourceDir tests. 2008-07-08 10:55:05 +02:00
James Hawkins 26ae658986 msi: Only use the long filename when resolving the source path. 2008-07-08 10:55:01 +02:00
James Hawkins 44bfb9911b msi: Consolidate the MsiGetSourcePath tests and add more tests. 2008-07-08 10:54:58 +02:00
James Hawkins ccd030c7d3 msi: Add handling for the special _Storages table. 2008-07-08 10:50:04 +02:00
James Hawkins ae9b579135 msi: Properly add a storage to the database and verify its contents. 2008-07-08 10:48:33 +02:00
James Hawkins d9ac95be5b msi: Test the special _Storages table. 2008-07-02 12:04:08 +02:00
James Hawkins 6056fd1b05 msi: Add another MsiGetFileVersionTest. 2008-06-25 10:43:02 +02:00
James Hawkins 0097275f3f msi: Add tests for MsiGetUserInfo. 2008-06-24 12:16:01 +02:00
James Hawkins 72fedf7d88 msi: Handle the machine context in MsiQueryFeatureState. 2008-06-24 12:15:38 +02:00
James Hawkins 200eba3b94 msi: Handle the user managed context in MsiQueryFeatureState. 2008-06-24 12:15:31 +02:00
James Hawkins aefd63dc4e msi: Add more tests for MsiQueryFeatureState. 2008-06-24 12:15:23 +02:00
James Hawkins 58e1543960 msi: Fix the published location of the upgrade code for the machine context. 2008-06-24 12:15:10 +02:00
James Hawkins 301f2a5eae msi: Open the local user data product key for the machine context. 2008-06-24 12:15:03 +02:00
James Hawkins e6d126cd49 msi: Test the PublishProduct action with the machine context. 2008-06-24 12:14:56 +02:00
James Hawkins cdb33f8a39 msi: Publish the UpgradeCode in PublishProduct. 2008-06-24 12:14:49 +02:00
James Hawkins 5538fa0290 msi: Publish media disks whether the drive type is removable or not. 2008-06-24 12:14:42 +02:00
James Hawkins ef640a6cd5 msi: Publish a few more product properties. 2008-06-24 12:14:36 +02:00
James Hawkins c7ab4fad08 msi: Allow checking a REG_MULTI_SZ string. 2008-06-24 12:14:30 +02:00
James Hawkins db2e8d2fdf msi: Squash the package code property. 2008-06-24 12:14:23 +02:00
James Hawkins d809b4e2d9 msi: Don't publish the product to an invalid location. 2008-06-24 12:14:07 +02:00
James Hawkins ee8b4a0132 msi: Don't set an invalid install property in PublishProduct. 2008-06-24 12:14:00 +02:00
James Hawkins bb8d253ecc msi: Rewrite the PublishProduct test to only check the registry changes. 2008-06-19 12:34:36 +02:00
James Hawkins c0f8bfd2dd msi: Test the RegisterProduct action with the machine context. 2008-06-19 12:34:29 +02:00
James Hawkins 45de896a3d msi: Factor out the publishing of installation properties. 2008-06-19 12:34:23 +02:00
James Hawkins b635e3170f msi: Don't publish the upgrade key to an invalid location. 2008-06-19 12:34:15 +02:00
James Hawkins 2194889d5d msi: Rewrite the RegisterProduct test to only check the registry changes. 2008-06-19 12:34:04 +02:00
James Hawkins 2a180e060a msi: Fix the PublishFeatures action to handle the package context. 2008-06-19 12:33:55 +02:00
Paul Vriens 61daa613dd msi/tests: Fix some test failures.
Results on test.winehq.org show failures for at least Vista as new
DISPID's are known there.
2008-06-19 11:55:05 +02:00
James Hawkins af56e28f7e msi: Don't publish features to an invalid location. 2008-06-18 16:24:09 +02:00
James Hawkins d8e4258d08 msi: Rewrite the PublishFeatures test to only check the registry changes. 2008-06-18 16:24:05 +02:00
James Hawkins 5f46dfd698 msi: Fix the RegisterUser action to handle the package context. 2008-06-18 16:24:01 +02:00
James Hawkins 79d0c3719f msi: Rewrite the RegisterUser test to only check the registry changes. 2008-06-18 16:23:57 +02:00
James Hawkins 288af81a7c msi: Fix the ProcessComponents action to handle the package context. 2008-06-18 16:23:27 +02:00
James Hawkins 4aa3a997f8 msi: Don't publish components to the Installer key. 2008-06-18 16:23:18 +02:00
James Hawkins 073d55e73b msi: Rewrite the ProcessComponents test to only check the registry changes. 2008-06-18 16:17:56 +02:00
Paul Vriens ad2c9211bc msi/tests: Cleanup registry after test. 2008-06-11 11:26:22 +02:00
Dan Kegel a302ec645c msi/tests: Initialize buffer lengths before calling MsiSourceListEnumMediaDisks. 2008-06-06 10:28:35 +02:00
James Hawkins 6221975407 msi: Don't enable a feature's components if that feature is disabled. 2008-05-19 13:36:37 +02:00
James Hawkins 7ae4f695bc msi: Convert string variables to ints when appropriate. 2008-05-13 10:44:22 +02:00
James Hawkins ca8e867da7 msi: Test the ScreenX/Y properties. 2008-05-13 10:43:55 +02:00
Alexandre Julliard dad21bbcbf makefiles: List the static libraries as normal imports instead of extra libs. 2008-04-30 14:23:55 +02:00
James Hawkins f2189d17b0 msi: Remove a debugging call. 2008-04-28 12:27:09 +02:00
James Hawkins a5d15b3b60 msi: Fix a few tests that fail in win9x. 2008-04-21 13:20:12 +02:00