Commit Graph

1107 Commits

Author SHA1 Message Date
Hans Leidekker 68d6158875 msi: Implement and test MsiEnumComponentCostsA/W. 2011-04-01 16:16:04 +02:00
Hans Leidekker a0a7a7fc3d msi/tests: Remove unneeded Wow64 checks. 2011-03-30 13:28:05 +02:00
Hans Leidekker f3f25af900 msi: Implement MsiGetFileSignatureInformationA/W. 2011-03-30 13:28:05 +02:00
Hans Leidekker 8d58ddfe12 msi: Accept whitespace-only property values on the command line. 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 e82a4896f3 msi: Ignore invalid upgrade codes in the PublishProduct action. 2011-03-30 13:28:05 +02:00
David Hedberg fed6e5211c msi: Add an offset to sequence numbers belonging to files added by a patch. 2011-03-29 12:21:49 +02:00
David Hedberg 599b30833a msi: Use ordering information to update the correct row. 2011-03-10 15:18:00 +01:00
Hans Leidekker 429407cfb6 msi: Assume a file is present if the target exists with the same size and there's no file version or hash to verify. 2011-03-08 12:31:04 +01:00
Hans Leidekker be790cb0ad msi: Load media info even if there's no file to install. 2011-03-08 12:30:55 +01:00
Hans Leidekker 8e5230740a msi/tests: Check the result of get_system_dirs and get_user_dirs. 2011-03-07 13:17:18 +01:00
Austin English 0a284208bd msi/tests: Remove win9x hacks. 2011-02-28 13:12:50 +01:00
Austin English 05126ec247 msi/tests: Remove win9x hacks. 2011-02-25 11:08:22 +01:00
Austin English 7de70a4804 msi/tests: Make sure to use return values (LLVM/Clang). 2011-02-17 17:29:54 +01:00
Austin English b6bea541db msi/tests: Remove dead assignments. 2011-02-17 17:29:46 +01:00
Detlef Riekenberg 1c2183a85a msi/tests: Fix a typo. 2011-02-14 12:28:17 +01:00
Austin English 27dd864f63 msi/tests: Make sure to use a return value (LLVM/Clang). 2011-02-11 14:48:19 +01:00
Austin English 5e92277f97 msi/tests: Don't check return values inside of if(0) (LLVM/Clang). 2011-02-11 14:48:11 +01:00
Hans Leidekker ba9f1f770a msi: Get rid of msi_component_set_state and msi_feature_set_state. 2011-02-10 10:28:01 -06:00
Austin English a85adf3152 msi/tests: Make sure to use return values (LLVM/Clang). 2011-02-10 09:56:49 -06:00
Austin English 6816aa295e msi/tests: Make sure to use return values (LLVM/Clang). 2011-02-08 14:46:59 -06:00
Hans Leidekker b2b4005fe4 msi/tests: Show that a failing call to MsiGetSourcePath(SOURCEDIR) sets the SOURCEDIR property. 2011-02-07 10:17:20 -06:00
Hans Leidekker 4a7371e32d msi/tests: Test a return value (clang). 2011-01-27 16:31:19 +01:00
Hans Leidekker a84af95d3e msi/tests: Consistently test return values (clang). 2011-01-27 16:30:53 +01:00
Greg Geldorp 0abf2da022 msi/tests: Check 64-bit reg view if key not present in 32-bit view. 2011-01-27 14:20:35 +01:00
Hans Leidekker 92203f1053 msi: Implement the MsiPublishAssemblies and MsiUnpublishAssemblies standard actions. 2011-01-24 16:04:28 +01:00
Hans Leidekker 167e4eff6d msi/tests: More tests for publishing and unpublishing assemblies. 2011-01-20 12:23:17 +01:00
Hans Leidekker e6e454ab16 msi/tests: Accept one more estimated size. 2011-01-13 17:33:10 +01:00
Hans Leidekker f133222d5e msi/tests: Add a test for MsiGetComponentState. 2011-01-10 10:42:43 +01:00
Hans Leidekker 35bdf01881 msi/tests: Add tests for publishing and unpublishing assemblies. 2011-01-10 10:42:39 +01: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
Greg Geldorp faf19ec966 msi/tests: Fix remaining Wow64 failures for action test set. 2011-01-04 16:03:02 +01:00
Greg Geldorp 536876afc3 msi/tests: Fix some failures on Wow64. 2011-01-03 14:57:29 +01:00
André Hentschel 648025881f msi/tests: Don't test function directly when reporting GetLastError(). 2010-12-30 15:01:11 +01:00
Hans Leidekker 489f82e9b4 msi: Rewrite command line parsing to handle quoted values correctly. 2010-12-23 17:44:47 +01:00
André Hentschel 0e5c2f346d msi/tests: Remove superfluous check. 2010-12-20 12:47:41 +01:00
André Hentschel 6e9b841216 msi: Fix test failure on some 2k3 machines. 2010-12-13 16:24:10 +01:00
Hans Leidekker 1214dca412 msi/tests: Fix some test failures on Wow64. 2010-12-10 17:09:37 +01:00
Hans Leidekker 973821c775 msi/tests: Avoid a test failure on 64-bit. 2010-12-09 12:17:22 +01:00
Hans Leidekker 23169289e6 msi: Map neutral parts of package language ids to the system default language id. 2010-12-06 19:05:53 +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 c47ecd1ccc msi: Always ignore disabled components. 2010-11-30 16:21:01 +01:00
Hans Leidekker e609bb0453 msi/tests: Fix the scope of todo_wine in the tests for MsiApplyMultiplePatches.
These tests succeed on Wine if you run them from a volume for which GetDriveType
returns something other than DRIVE_FIXED, e.g. a ramdisk.
2010-11-26 14:59:35 +01:00
Hans Leidekker 1f96b882e9 msi: Fix the Create/RemoveFolders actions to actually create and remove empty folders. 2010-11-26 14:59:02 +01:00
Hans Leidekker c3adb72820 msi: Add support for importing and exporting the special _ForceCodepage table. 2010-11-17 14:01:13 +01:00
Paul Vriens e21115187e msi/tests: Cleanup properly on Win9x. 2010-11-15 13:20:06 +01:00
Hans Leidekker 5871ad6d00 msi: Revert 3cd55cc916.
It breaks the Office 2003 installer.
2010-11-03 16:06:43 +01:00
Hans Leidekker 031c70c965 msi: Register service arguments in the InstallServices action. 2010-10-22 12:07:00 +02:00
Hans Leidekker 5a0a53820a msi/tests: Add tests for msidbFeatureAttributesUIDisallowAbsent. 2010-10-22 12:06:39 +02:00
Hans Leidekker eaa57c5b7b msi: Compare strings without depending on thread locale. 2010-10-19 13:49:54 +02:00
Hans Leidekker 8db3c0e358 msi/tests: Move test coverage for standard actions to a separate module. 2010-10-14 17:54:52 +02:00
Hans Leidekker 9cc4b0caae msi/tests: Don't create a nested restore point on recent versions of MSI.
We now set the MSIFASTINSTALL property which disables restore points.
2010-10-13 15:52:58 +02:00
Hans Leidekker 0df4712658 msi/tests: Reduce the UI level for a couple of tests.
This makes the tests run faster because native only creates restore points
for installers with a basic UI level and higher.
2010-10-11 17:11:27 +02:00
Hans Leidekker eafebe0f7d msi/tests: Set the MSIFASTINSTALL property.
On recent versions of msi this prevents the creation of a system restore
point, which can take a very long time.
2010-10-11 17:11:27 +02:00
Hans Leidekker 5709fab04c msi/tests: Fix some test failures on 64-bit. 2010-10-11 17:11:26 +02:00
Hans Leidekker cf6e820106 msi: Allocate 3 bytes instead of 2 for in-memory string references.
Fixes an installer that stores string references as 2 byte integers and
grows the number of strings beyond the limit of 64k during installation.
2010-10-11 17:11:26 +02:00
Hans Leidekker b719338433 msi/tests: Use a different product code in the automation tests. 2010-10-11 17:11:26 +02:00
Hans Leidekker 3d33fb93cc msi/tests: Determine Wow64 mode just once. 2010-10-11 17:11:26 +02:00
Hans Leidekker 9e166a9690 msi/tests: Fix some test failures on 64-bit. 2010-10-06 20:46:37 +02:00
Hans Leidekker 3cd55cc916 msi Set the feature action to INSTALLSTATE_UNKNOWN if msidbFeatureAttributesUIDisallowAbsent is set. 2010-10-06 20:46:34 +02:00
Hans Leidekker a9c3195eb8 msi: Add package validation tests. 2010-10-06 20:46:30 +02:00
Hans Leidekker 52aab76eb2 msi: Put the uninstall key for 32-bit packages under Wow6432Node on 64-bit. 2010-10-05 17:50:16 +02:00
Andrew Eikum f62439c0d4 msi/tests: Fix copy-paste errors in tests. 2010-10-01 17:48:11 +02:00
Hans Leidekker dfc9351ba4 msi: Set more 64-bit properties. 2010-10-01 17:48:10 +02:00
Alexandre Julliard d1d1d0205d msi/tests: Make some variables static. 2010-10-01 13:36:43 +02:00
Alexandre Julliard b4109a079f msi/tests: Fix a test failure on 64-bit. 2010-09-30 17:51:17 +02:00
Alexandre Julliard 9fe16f8ae9 msi/tests: Avoid corrupting the pending file renames key on failure. 2010-09-30 17:51:17 +02:00
Hans Leidekker 259b5fdfa6 msi: Treat empty string as NULL in MsiGetSummaryInformationW. 2010-09-29 10:09:31 +02:00
Hans Leidekker d59c99067a msi/test: Add tests for MsiGetFeatureState. 2010-09-24 18:20:36 +02:00
Paul Vriens 3d6a57a494 msi/tests: Prevent a popup on Windows NT. 2010-09-20 13:57:45 +02:00
Alexandre Julliard 81b8ee863e makefiles: Add a standard header for all makefiles to replace the common variable initializations. 2010-09-19 12:36:48 +02:00
Hans Leidekker a0ebe951b6 msi: Read supported platform and language ids from the summary information stream. 2010-09-18 13:06:28 +02:00
Hans Leidekker 4a5b2abcf4 msi/tests: Fix some test failures on 64-bit. 2010-09-08 19:51:00 +02:00
Francois Gouget b66eb177af msi/tests: Fix compilation on systems that don't support nameless unions or structs. 2010-09-07 16:01:39 +02:00
Hans Leidekker 2fb648c04f msi/tests: Add tests for 64-bit properties. 2010-09-02 18:05:22 +02:00
Hans Leidekker 18ebf2c576 msi: Return an error from MsiDatabaseGetPrimaryKeys if the table does not exist. 2010-09-02 18:05:22 +02:00
Hans Leidekker d411c49dd1 msi/tests: Fix a WoW64 test failure. 2010-08-27 12:08:22 +02:00
Hans Leidekker 137dfbe80a msi/tests: Use a different product code in the package tests to avoid cascading test failures. 2010-08-27 12:08:08 +02:00
Hans Leidekker 5d85497a15 msi: Handle signature filenames in short|long notation. 2010-08-18 15:31:18 +02:00
Hans Leidekker 0c044c10d0 msi/tests: Skip SourceDir tests on win9x. 2010-08-18 15:30:49 +02:00
Hans Leidekker 7c89d4f28f msi/tests: Use HKEY_CURRENT_USER instead of HKEY_LOCAL_MACHINE for registry tests.
Works around test failures on 64-bit Windows where MsiInstallProduct
returns success even though the registry keys specified in the
Registry table are not created.
2010-08-18 15:30:43 +02:00
Hans Leidekker 4102156e0f msi/tests: Fix some WoW64 test failures. 2010-08-18 15:30:28 +02:00
Hans Leidekker 33b6ad7f73 msi/tests: Skip tests if UAC is enabled and the process is not running elevated. 2010-07-26 18:38:31 +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 2b0c45674f msi: Add some tests for MsiGetSourcePath. 2010-07-23 11:46:06 +02:00
Hans Leidekker bd634c0491 msi: Set/unset the SourceDir property at the right stage in the execution sequence. 2010-07-23 11:46:01 +02:00
Hans Leidekker ac924566fb msi/tests: Properly contruct the icon path for win9x. 2010-07-23 11:45:44 +02:00
Hans Leidekker 148887082c msi/tests: Initialize a string buffer and fix some leaks. 2010-07-23 11:45:39 +02:00
Hans Leidekker c4bf9fb710 msi/tests: Fix some more wow64 test failures. 2010-07-22 16:10:42 +02:00
Hans Leidekker c4511481db msi/tests: Avoid a long timeout in the test for DeleteServices. 2010-07-22 16:10:29 +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 dad50e3aa0 msi/tests: Return an error code from helper_createpackage and package_from_db. 2010-07-22 16:09:56 +02:00
Hans Leidekker 21d09ffb43 msi/tests: Fix test failures on wow64. 2010-07-22 16:09:43 +02:00
Hans Leidekker 06afeec2a5 msi: Make sure properties are updated after applying a patch. 2010-07-22 16:09:09 +02:00
Alexandre Julliard b86d515ed6 dlls: Remove explicit imports of kernel32 and ntdll. 2010-07-21 17:38:36 +02:00
Hans Leidekker 409e2d7105 msi/tests: Double null-terminate a REG_MULTI_SZ string. 2010-07-21 13:24:01 +02:00
Hans Leidekker 424e3a9fb8 msi: Move the component enabled check into the standard actions. 2010-07-21 13:24:00 +02:00
Hans Leidekker 03cddf9d05 msi: Add a test for MsiSetFeatureState. 2010-07-20 16:29:45 +02:00