Commit Graph

1219 Commits

Author SHA1 Message Date
Francois Gouget f6ccfaa6f3 msi/tests: Update is_process_limited() to deal with non-administrator accounts. 2014-03-05 11:50:35 +01:00
Francois Gouget 38aa71b2c6 msi/tests: Skip some package tests if in a non-administrator, non-power user account. 2014-03-05 11:50:30 +01:00
Francois Gouget 601c5a1a68 msi/tests: Avoid msi test failures when running in an account with insufficient privileges. 2014-03-05 11:50:22 +01:00
Francois Gouget 65bacd4b69 msi/tests: Avoid source test failures when running in an account with insufficient privileges. 2014-03-05 11:50:02 +01:00
Francois Gouget badff7c43a msi/tests: Check that we have enough privileges to run the automation tests.
Note that we could have enough privileges to do the InstallProduct
tests, but not enough to clean up the registry after them, thus
causing later runs to fail. In that case we skip the tests.
2014-03-04 19:23:35 +01:00
Hans Leidekker f525038142 msi: Remove the product reference when a shared component is unregistered. 2014-03-03 17:02:51 +01:00
Hans Leidekker a547027b01 msi: Correctly [un]register progids when associated class and extensions change state. 2014-02-27 09:32:21 -06:00
Vincent Povirk b4daf7a7f0 msi/tests: Add tests for [un]registering progids. 2014-02-26 11:12:25 -06:00
Hans Leidekker 1ae3bcc94d msi: Don't install services without an image path.
Spotted by Aric Stewart.
2014-02-22 08:41:22 -06:00
Frédéric Delanoy a06363669f msi/tests: Use BOOL type where appropriate. 2014-01-06 17:15:14 +01:00
Alexandre Julliard 99ef0d6ff0 makefiles: Get rid of the MAKE_TEST_RULES variable. 2014-01-02 12:13:16 +01:00
Frédéric Delanoy 1d36b93f7e msi/tests: Constify some character strings. 2013-12-27 14:31:52 +01:00
Frédéric Delanoy 5ba7f79bad Assorted spelling fixes. 2013-12-03 19:41:53 +01:00
Frédéric Delanoy ec1888b7d3 msi/tests: Use BOOL type where appropriate. 2013-10-29 10:22:01 +01:00
Hans Leidekker 1d124f8869 msi/tests: Compile with -D__WINESRC__. 2013-10-15 14:28:22 +02:00
Hans Leidekker 0354af649a msi/tests: Prepare msi.c for the switch to -D__WINESRC__. 2013-10-15 14:28:22 +02:00
Hans Leidekker 07043df793 msi/tests: Prepare suminfo.c for the switch to -D__WINESRC__. 2013-10-15 14:28:21 +02:00
Hans Leidekker 2a70f1bde3 msi/tests: Prepare source.c for the switch to -D__WINESRC__. 2013-10-15 14:28:21 +02:00
Hans Leidekker c3764ff014 msi/tests: Prepare record.c for the switch to -D__WINESRC__. 2013-10-15 14:28:21 +02:00
Hans Leidekker 8a97d08759 msi/tests: Prepare patch.c for the switch to -D__WINESRC__. 2013-10-15 14:28:21 +02:00
Hans Leidekker 4d236f1942 msi/tests: Prepare package.c for the switch to -D__WINESRC__. 2013-10-15 14:28:21 +02:00
Hans Leidekker e243979c4f msi/tests: Prepare install.c for the switch to -D__WINESRC__. 2013-10-15 14:28:21 +02:00
Hans Leidekker 569d04cd7b msi/tests: Prepare format.c for the switch to -D__WINESRC__. 2013-10-15 14:28:21 +02:00
Hans Leidekker f1498d7736 msi/tests: Prepare db.c for the switch to -D__WINESRC__. 2013-10-15 14:28:21 +02:00
Hans Leidekker ae5c7c2a18 msi/tests: Prepare automation.c for the switch to -D__WINESRC__. 2013-10-15 14:28:21 +02:00
Hans Leidekker 0e8b5ac54a msi/tests: Prepare action.c for the switch to -D__WINESRC__. 2013-10-15 14:28:21 +02:00
Frédéric Delanoy e21abfe07a msi/tests: Use BOOL type where appropriate. 2013-10-08 09:09:18 +02:00
Michael Stefaniuc 0e681027a2 tests: Compile the tests by default with -D__WINESRC__. 2013-10-02 11:04:02 +02:00
Hans Leidekker 407584fd3e msi/tests: Avoid test failures caused by broken MsiGetFileVersionA. 2013-06-18 20:33:42 +02:00
Hans Leidekker edee379d81 msi/tests: Move some more tests and remove a useless test. 2013-06-11 18:07:44 +02:00
Hans Leidekker b82a5ab27a msi/tests: Move some tests around to avoid timeouts on the testbot. 2013-06-10 19:30:54 +02:00
Hans Leidekker 10975967df msi: Set the PrimaryVolumePath and PrimaryVolumeSpaceAvailable properties. 2013-05-09 19:24:16 +02:00
Francois Gouget d5fc4ce772 msi/tests: Add a trailing '\n' to an ok() call and fix a typo. 2013-05-02 18:52:14 +02:00
Christian Costa 7129293b9a msi: Use next cabinet from the media table instead of failing when there is a mismatch with continuous cabinet. 2013-05-01 19:30:28 +02:00
Christian Costa e249b93092 msi: Add tests to show that only msi cab filename is taken in case of mismatch with the one given by previous cab. 2013-05-01 19:30:24 +02:00
Hans Leidekker 9779c4b5ea msi/tests: Move a couple of tests from install.c to msi.c. 2013-02-13 16:13:54 +01:00
Hans Leidekker 07be9f0585 msi: Improve parsing of the supported platforms string. 2013-01-31 16:32:50 +01:00
Hans Leidekker d4e9b2cd0f msi: Fix the return value of MsiGetFileVersion for some corner cases. 2013-01-31 16:32:47 +01:00
Hans Leidekker a248f4f001 msi: Set the OriginalDatabase property after applying transforms, not before. 2013-01-21 16:27:41 +01:00
Hans Leidekker 5891ce25e5 msi: Implement MsiQueryFeatureStateExA/W. 2013-01-09 17:39:33 +01:00
Hans Leidekker 61db36556a msi: Fix a test failure on Windows 8 and conform to the more recent behavior. 2012-12-19 14:38:58 +01:00
Hans Leidekker 7d3f903db1 msi: Fix handling of REG_MULTI_SZ values in the WriteRegistryValues action. 2012-11-05 17:44:18 +01:00
Hans Leidekker af08a2f6ba msi: Pass string length to msi_set_property in ACTION_CustomAction. 2012-10-29 14:41:55 +01:00
Hans Leidekker 652863f4d5 msi: Add more tests for embedded nulls in string property values. 2012-10-29 14:40:31 +01:00
Hans Leidekker a1c4d2c977 msi: Add a test for embedded nulls in string property values. 2012-10-29 14:40:18 +01:00
André Hentschel 1e361aa8cb msi/tests: Make multiline macros blocks (coverity). 2012-10-24 11:33:00 +02:00
Michael Stefaniuc 5974e9d120 msi/tests: Avoid a TRUE:FALSE conditional expression. 2012-08-15 12:12:49 +02:00
Hans Leidekker f180de40dd msi: Implement the RemoveExistingProducts standard action. 2012-07-31 18:01:54 +02:00
Detlef Riekenberg a7e1b7c6ea msi/tests: Use always static binding for GetTokenInformation. 2012-07-27 17:05:20 +02:00
Hans Leidekker cbd83d0307 msi/tests: Mark some test results as broken. 2012-07-16 19:34:40 +02:00
Francois Gouget 7f0cfac5cc msi/tests: Get rid of unneeded function typedefs. 2012-06-15 18:35:37 +02:00
Hans Leidekker f6f1bfd6fb msi/tests: Use only uppercase characters for the PID_REVNUMBER property. 2012-06-12 10:21:55 +02:00
Hans Leidekker 0ed61000d3 msi: Support registry key names that exceed 255 characters. 2012-06-11 21:03:48 +02:00
Hans Leidekker f0ea60049c msi: Add support for 64-bit registry components. 2012-06-11 21:03:47 +02:00
Hans Leidekker e16bcda486 msi: Don't create empty values for special registry entries. 2012-05-31 12:37:22 +02:00
Hans Leidekker c959e38625 msi: Don't terminate the string in msi_id2stringA.
This makes sure that the last string can be fully written when saving the
string table.
2012-05-31 12:37:22 +02:00
Michael Stefaniuc 49add07795 msi/tests: Test the correct return values. 2012-05-17 10:18:11 +02:00
Alexandre Julliard 720a37d778 msi/tests: Skip MsiEnumProductsEx tests if not supported. 2012-05-03 23:31:43 +02:00
Hans Leidekker fde66de6a5 msi: Don't free cached tables in MsiDatabaseCommit. 2012-04-26 19:26:37 +02:00
Hans Leidekker 2b9be70975 msi/tests: Fix some leaks. 2012-04-20 11:59:39 +02:00
Hans Leidekker 2e51464e4d msi/tests: Add a test for MsiEnumProductsEx. 2012-04-20 11:59:35 +02:00
Hans Leidekker fc73c9db0a msi: Fix install state detection for registry components. 2012-04-20 11:59:26 +02:00
Robert van Herk f87c4a36dd msi: Fixed MsiGetFileHashW for empty files. 2012-04-06 20:40:59 +02:00
Hans Leidekker 15ee85dee8 msi: Implement MsiGet/SetMode(MSIRUNMODE_REBOOTNOW). 2012-04-02 13:30:36 +02:00
Hans Leidekker f01cd3a36d msi/tests: Add tests for MsiEnumComponents and MsiEnumComponentsEx. 2012-04-02 12:34:38 +02:00
Hans Leidekker ccad8e9d80 msi/tests: Reduce code duplication in the feature/component state tests. 2012-03-28 19:05:02 +02:00
Hans Leidekker 3f1e3008ea msi: Clear the cert pointer in MsiGetFileSignatureInformation. 2012-03-28 17:37:44 +02:00
Hans Leidekker d351a9999e msi: Also set the Intel property on 64-bit processors. 2012-03-28 17:37:41 +02:00
Andoni Morales Alastruey 342fcb6198 msi: Implement MSIMODIFY_MERGE function in TABLE_modify. 2012-03-28 11:44:52 +02:00
Hans Leidekker 280af52666 msi: Mask off modifiers before setting the UILevel property.
Spotted by Aric Stewart.
2012-03-26 18:15:03 +02:00
Hans Leidekker c98bf1b57b msi: Fix deleting services on installation.
Based on a patch by Berhard Loos.
2012-03-13 13:30:11 +01:00
Hans Leidekker a4c20dc437 msi: Implement MsiEnumProductsEx. 2012-03-12 16:37:23 +01:00
Hans Leidekker 9336c10619 msi: Make sure target paths are normalized.
Fix for the Lotus Notes 6.5.1 installer.
2012-01-18 16:25:21 +01:00
Nikolay Sivov 576aa0e6d0 msi: Use data table for dispid tests. 2012-01-16 13:13:23 +01:00
Hans Leidekker bc801f85be msi: Set the SourceDir and SOURCEDIR properties in MsiGetSourcePath. 2012-01-16 12:45:34 +01:00
Hans Leidekker 4def593456 msi: Accept a missing left backquote in SQL identifiers. 2012-01-03 18:07:08 +01:00
Hans Leidekker ca49aae61e msi: Fix handling of single quoted column names in SELECT queries. 2011-12-23 15:12:18 +01:00
Hans Leidekker 75242afefd msi/tests: Try harder to remove a shortcut file. 2011-12-06 15:51:01 +01:00
Hans Leidekker 5266f34c3c msi: Set the ComputerName property. 2011-11-01 12:13:46 +01:00
Hans Leidekker 392bd2b7a2 msi/tests: Fix a skip message. 2011-10-27 14:21:31 +02:00
Hans Leidekker 841a747409 msi/tests: Fix some test failures on win2k. 2011-10-27 14:21:27 +02:00
Hans Leidekker 5ea1caa69e msi/tests: Properly preserve pending file renames. 2011-09-27 16:24:26 +02:00
Francois Gouget d2084d5a41 msi/tests: Avoid #if 0 to make sure code still compiles. 2011-09-27 10:58:52 +02:00
Hans Leidekker 6ae7061645 msi: Improve parsing of the package platform. 2011-09-15 15:41:42 +02:00
Bernhard Loos dc16dd1351 msi: The underlying tables might have changed, so it's not possible to cache the result of the execute. 2011-09-12 17:45:28 +02:00
Hans Leidekker 79e71d543f msi/tests: Fix some test messages. 2011-09-09 13:37:03 +02:00
Hans Leidekker 9562b61bc4 msi/test: Mark some test results as broken. 2011-09-09 13:36:57 +02:00
Hans Leidekker eaf8848d0d msi/tests: Fix a number of test messages. 2011-09-05 17:17:32 +02:00
Bernhard Loos a52c2bf941 msi: Make WHEREVIEW able to deal directly with multiple tables. 2011-08-26 13:33:44 +02:00
Hans Leidekker d7952d8a24 msi/tests: Skip a test if the process is limited. 2011-08-24 12:14:46 +02:00
Hans Leidekker 0dec906d61 msi/tests: Accept one more estimated size. 2011-08-24 12:14:46 +02:00
Hans Leidekker fabfc5da78 msi/tests: Clean up local packages. 2011-08-23 16:53:56 +02:00
Hans Leidekker eb7ae99ddb msi: Remove icons when the product is uninstalled. 2011-08-23 16:53:56 +02:00
Hans Leidekker 763e2f3edc msi/tests: Use a package code that is different from the product code. 2011-08-23 16:53:56 +02:00
Frédéric Delanoy 760faf01a9 tests: Assorted spelling fixes. 2011-08-04 18:27:37 +02:00
Bernhard Loos 20bdf059ab msi: MsiDatabaseCommit also succeeds for a a readonly database. 2011-07-28 11:31:28 +02:00
Hans Leidekker 12a55d9190 msi/tests: Clean up the local package in test_register_product. 2011-07-01 14:39:36 +02:00
Hans Leidekker 395887b684 msi/tests: Remove a test.
This test shows that native fails to remove an empty directory under
certain conditions. I don't see why we should replicate this behavior.
2011-07-01 14:39:36 +02:00
Hans Leidekker b32c643c18 msi: Handle escaped double quotes in command line parsing. 2011-07-01 14:39:36 +02:00
Hans Leidekker 667ba16dbc msi: Implement and test MsiSetFeatureAttributes. 2011-06-10 10:55:18 +02:00