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
Hans Leidekker
4c9c50d86b
msi: Implement and test MsiGetFeatureInfo.
2011-06-10 10:55:11 +02:00
Hans Leidekker
ab13c00fc9
msi: Add support for returning validation errors.
2011-06-07 14:18:33 +02:00
Hans Leidekker
c7e36d8ba8
msi: Unescape ^Q^Y sequences in text archives.
2011-05-12 18:23:00 +02:00
Hans Leidekker
e2ba5dce06
msi: Handle embedded nulls in text archives.
2011-05-12 18:22:54 +02:00
Hans Leidekker
defcf092a9
msi/tests: Show that MsiSetTargetPath updates folder properties.
2011-05-11 14:56:49 +02:00
Piotr Caban
54833c9b7c
wine.inf: Add quotes to webbrowser command keys.
2011-05-04 20:42:27 +02:00
Hans Leidekker
4668091528
msi: Rewrite the folder resolution code to keep track of the parent-child relationship.
2011-05-02 16:40:06 +02:00
Hans Leidekker
b4a7a30b18
msi: Fix handling of components without a key path in MsiEnumComponentCostsW.
2011-05-02 16:38:51 +02:00
Hans Leidekker
eee070f1e0
msi: Add offsets to disk ids added by patches.
2011-04-14 17:37:23 +02:00
Hans Leidekker
cfddf2796e
msi/tests: Fix some memory leaks (valgrind).
2011-04-14 17:37:22 +02:00
Hans Leidekker
88b4bbfc6a
msi: More Wow64 fixes.
2011-04-06 12:05:08 +02:00
Hans Leidekker
ce0b3a030b
msi: Fix parsing of an empty property followed by a non-empty property.
2011-04-05 14:42:52 +02:00
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
Andrew Nguyen
93f92d51a4
msi/tests: Skip some source tests if a required product key cannot be created.
2010-07-09 11:41:11 +02:00
Andrew Nguyen
9c850c9f8a
msi/tests: Fix a source test comment.
2010-07-09 11:41:00 +02:00
Andrew Nguyen
abe900a23c
msi/tests: Remove a redundant source test.
2010-07-09 11:40:56 +02:00
Andrew Nguyen
ba180b8600
msi/tests: Free the user SID string buffer with the correct deallocator in the source tests.
2010-07-09 11:40:36 +02:00
Andrew Nguyen
3b79a7b4ac
msi/tests: Skip patch tests if product installation failed.
2010-07-09 11:40:28 +02:00
Andrew Nguyen
f01b9aab09
msi/test: Uninstall the test product when skipping patch tests.
...
This seems to be a reasonable cleanup action.
2010-07-09 11:39:14 +02:00
Andrew Nguyen
577554260e
msi/tests: Delete the test patch file for proper patch test cleanup.
2010-07-09 11:39:10 +02:00
Andrew Nguyen
ff188900f3
msi/tests: Run the automation tests in silent mode to avoid a dialog.
2010-07-09 11:39:07 +02:00
Alexandre Julliard
044669e709
msi/tests: Check the x86 program directory first for installed files.
2010-07-02 14:14:44 +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
6b1a1579f6
msi: Update an existing record even if the low bit in the transform mask is set.
2010-06-11 15:54:47 +02:00
Hans Leidekker
73774b3ef8
msi: Disable an optimization in the execution of WHERE clauses.
...
There's no guarantee that the condition strings are in the string table.
2010-06-11 15:54:35 +02:00
Hans Leidekker
dcb501decd
msi: Create directories right before installing files.
2010-06-09 16:12:44 +02:00
Matijn Woudt
1a159dfddc
msi/tests: Testcases for CREATE TABLE.
2010-06-07 15:15:49 +02:00
Andrew Eikum
c99c5a41e9
msi/tests: Fix install tests for Win9x.
2010-06-07 13:44:20 +02:00
Andrew Eikum
beb0b2bc05
msi: Publish icons into the correct directory.
2010-05-31 12:14:27 +02:00
Hans Leidekker
c35856dd09
msi: End the search for a directory signature if the parent cannot be found.
2010-05-25 13:29:56 +02:00
Hans Leidekker
c2ce561469
msi: Add a test for properties updated by a patch.
2010-05-25 13:29:35 +02:00