Commit Graph

152 Commits

Author SHA1 Message Date
Michael Stefaniuc b716661c4a msi/tests: Use the available ARRAY_SIZE() macro.
Signed-off-by: Michael Stefaniuc <mstefani@winehq.org>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-06-15 20:53:17 +02:00
Hans Leidekker f5b1a6b5c5 msi/tests: Break out of the loop if both components are found in test_MsiEnumComponentsEx.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-16 18:26:20 +02:00
Zebediah Figura bf0b9b97e0 msi/tests: Add the custom action DLL in create_database_wordcount().
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-14 12:11:48 +02:00
Zebediah Figura ab522d694d msi/tests: Add a header for some common functions.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2018-05-14 12:11:48 +02:00
Zebediah Figura 48237e249b msi: Add a basic internal UI implementation.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-06 18:51:18 +02:00
Hans Leidekker f3adb4a17a msi: Properly handle DWORD registry values in MsiGetPatchInfoEx.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-19 20:02:54 +02:00
Huw Davies 582245b5c4 msi/tests: Clean up the registry in the correct order.
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-21 20:52:04 +01:00
Hans Leidekker 64c0625f25 msi: Implement MsiGetComponentPathExA/W.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-03 13:23:24 +01:00
Hans Leidekker dea323dcec msi: Handle descriptors without component in MsiProvideQualifiedComponentEx.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-04 14:09:43 +01:00
Hans Leidekker f6c4f87d32 msi/tests: Fix some test failures on Windows 10.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-04 14:09:38 +01:00
Hans Leidekker 100c043e89 msi/tests: Fix a test failure on Ultimate editions.
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
2015-09-25 21:02:52 +02:00
Hans Leidekker dfae842cca msi/tests: Avoid another test failure on win2k3. 2015-07-15 23:19:32 +09:00
Hans Leidekker a884d98e99 msi: Add a partial implementation of MsiProvideComponent. 2015-01-21 18:08:10 +01:00
Hans Leidekker 5709249986 msi: Return an error from MSI_GetComponentPath if the buffer is too small. 2014-09-01 21:10:12 +02:00
Hans Leidekker 4c8edb1b4c msi/tests: Fix a couple of memory leaks (valgrind). 2014-04-30 15:15:30 +02: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
Frédéric Delanoy 1d36b93f7e msi/tests: Constify some character strings. 2013-12-27 14:31:52 +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
Frédéric Delanoy e21abfe07a msi/tests: Use BOOL type where appropriate. 2013-10-08 09:09:18 +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 9779c4b5ea msi/tests: Move a couple of tests from install.c to msi.c. 2013-02-13 16:13:54 +01:00
Hans Leidekker d4e9b2cd0f msi: Fix the return value of MsiGetFileVersion for some corner cases. 2013-01-31 16:32:47 +01:00
Alexandre Julliard 720a37d778 msi/tests: Skip MsiEnumProductsEx tests if not supported. 2012-05-03 23:31:43 +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 f01cd3a36d msi/tests: Add tests for MsiEnumComponents and MsiEnumComponentsEx. 2012-04-02 12:34:38 +02:00
Hans Leidekker 3f1e3008ea msi: Clear the cert pointer in MsiGetFileSignatureInformation. 2012-03-28 17:37:44 +02:00
Hans Leidekker a4c20dc437 msi: Implement MsiEnumProductsEx. 2012-03-12 16:37:23 +01:00
Hans Leidekker f3f25af900 msi: Implement MsiGetFileSignatureInformationA/W. 2011-03-30 13:28:05 +02:00
Hans Leidekker 419496d0c8 msi/tests: Allocate the user token dynamically and unify implementations. 2011-03-30 13:28:05 +02:00
Hans Leidekker c505c0fe98 msi/tests: Get rid of workarounds for win9x test failures. 2011-03-30 13:28:05 +02:00
Hans Leidekker 01286b97e3 msi/tests: Mark a test result on some old Wow64 platforms as broken. 2011-01-06 18:28:52 +01:00
André Hentschel 6e9b841216 msi: Fix test failure on some 2k3 machines. 2010-12-13 16:24:10 +01:00
Alexandre Julliard 24d2f694cb msi/tests: Fix a test failure on win2k. 2010-12-03 16:15:13 +01:00
Hans Leidekker ad6b7cd46a msi: Clear last error on success in MsiQueryFeatureState and MsiQueryProductState. 2010-12-02 12:47:42 +01:00
Hans Leidekker 3d33fb93cc msi/tests: Determine Wow64 mode just once. 2010-10-11 17:11:26 +02:00
Hans Leidekker 4102156e0f msi/tests: Fix some WoW64 test failures. 2010-08-18 15:30:28 +02:00
Hans Leidekker 9686c95749 msi/tests: Skip a test if the current user has insufficient rights. 2010-07-26 18:38:31 +02:00
Hans Leidekker 10a32a0b7a msi/tests: Skip tests when the current user has insufficient rights. 2010-07-22 16:10:19 +02:00
Hans Leidekker 21d09ffb43 msi/tests: Fix test failures on wow64. 2010-07-22 16:09:43 +02:00
Hans Leidekker 409e2d7105 msi/tests: Double null-terminate a REG_MULTI_SZ string. 2010-07-21 13:24:01 +02:00
Alexandre Julliard bcb869a342 msi/tests: Reset the enumeration index for MsiEnumProducts before testing it. 2010-07-01 13:21:34 +02:00
Hans Leidekker ff0f2b35e1 msi: Add tests for MsiLocateComponent and make them pass. 2010-06-14 14:41:45 +02:00
Hans Leidekker 43f7bc8687 msi/tests: Use a unique product code when testing MsiConfigureFeature parameter validation.
This is to avoid ERROR_INSTALL_ALREADY_RUNNING errors on Windows.
2010-04-28 15:04:39 -05:00