Commit Graph

239 Commits

Author SHA1 Message Date
James Hawkins c48497d0e6 msi: Handle searching for a file with no signature. 2008-10-20 13:10:39 +02:00
James Hawkins 326a1b6c47 msi: Add more tests for the RegLocator part of the AppSearch action. 2008-10-20 13:10:34 +02:00
James Hawkins 859bd01b5e msi: Check the file version when a version is provided in the signature. 2008-10-20 13:10:28 +02:00
James Hawkins fbba2e8b93 msi: Add more tests for the AppSearch action. 2008-10-20 13:10:19 +02:00
James Hawkins 642cddf180 msi: Return the requested ini field. 2008-10-20 13:10:08 +02:00
James Hawkins 7620bb367f msi: Append a backslash to the AppSearch registry path. 2008-10-16 11:22:43 +02:00
James Hawkins 3adf1e4e0e msi: Append a backslash to the AppSearch directory path. 2008-10-16 11:22:40 +02:00
James Hawkins 47ac325f82 msi: Fix the returned format of REG_BINARY data. 2008-10-13 13:04:30 +02:00
James Hawkins 6d02194a46 msi: Expand REG_EXPAND_SZ registry values in the RegLocator table. 2008-10-13 13:00:47 +02:00
James Hawkins 65915af1ae msi: Append the file signature to the component's directory when searching for the component's key path. 2008-10-13 13:00:42 +02:00
James Hawkins 701c2a2728 msi: Add tests for the DrLocator part of the AppSearch action. 2008-10-13 13:00:37 +02:00
James Hawkins 33c9e80be5 msi: Add tests for the RegLocator part of the AppSearch action. 2008-10-13 13:00:32 +02:00
James Hawkins 3e76ade6c8 msi: Add tests for the IniLocator part of the AppSearch action. 2008-10-13 13:00:25 +02:00
James Hawkins 41c8bc8ae6 msi: Add more tests for the CompLocator part of the AppSearch action. 2008-10-13 13:00:06 +02:00
James Hawkins 3713720351 msi: Fix several test failures in win9x. 2008-09-29 17:24:17 -05:00
James Hawkins d11968cade msi: Fix a few file access discrepancies between platforms. 2008-09-09 11:46:17 +02:00
James Hawkins f40890c940 msi: Add tests for opening an empty package. 2008-08-29 13:26:33 +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 7c9873e471 msi: Fix the logic to determine the appropriate action of the component. 2008-08-21 11:44:27 +02:00
James Hawkins 4553d0fd47 msi: Remove an invalid setting of the install state. 2008-08-21 11:44:13 +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 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 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 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
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 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
Austin English 5644f05edf msi: Spelling fixes. 2008-04-08 12:25:13 +02:00
James Hawkins 05af003fc1 msi: Fix a few failing tests on win9x. 2008-03-20 14:27:35 +01:00
James Hawkins 669122fdfe msi: Fix a few test failures on win9x. 2008-03-18 11:15:49 +01:00
James Hawkins 5e2bc5b3fe msi: If a feature's action is INSTALLSTATE_UNKNOWN, MsiEvaluateCondition should return MSICONDITION_FALSE. 2008-02-28 10:59:16 +01:00
Francois Gouget 4a7bedfe75 msi: Use 'HKCU\Software\Microsoft\MS Setup (ACME)' as a source for the default user and company names before falling back to the RegisteredXXX values. Fix the conformance test accordingly. 2008-02-19 13:39:24 +01:00
James Hawkins 8412a1363b msi: Set the UserLanguageID property. 2008-02-18 12:41:37 +01:00
James Hawkins ce6e84c071 msi: Verify that the PID_PAGECOUNT and PID_REVNUMBER summary info properties exist. 2007-12-17 11:35:33 +01:00
James Hawkins 620862e385 msi: If the package doesn't exist, return ERROR_FILE_NOT_FOUND. 2007-12-17 11:35:23 +01:00
James Hawkins f933dd8b4f msi: Validate the parameters of MsiOpenPackage. 2007-12-17 11:35:17 +01:00
James Hawkins 8fab39cc60 msi: Add more tests for MsiOpenPackage. 2007-12-17 11:35:11 +01:00
James Hawkins e6431cd06e msi: Handle the CompLocator table in the AppSearch action. 2007-12-08 19:53:49 +01:00
James Hawkins 383a8a5b92 msi: Reimplement MsiGetComponentPath. 2007-12-05 12:08:04 +01:00
James Hawkins 440af17322 msi: Test the CompLocator subset of the AppSearch action. 2007-12-04 18:17:01 +01:00
James Hawkins 6a30e1b0b4 msi: Test the CCPSearch action. 2007-12-03 14:03:00 +01:00
James Hawkins 25a612b8f3 msi: Test that the install state is dependent on the feature and component registration. 2007-11-06 14:01:21 +01:00
James Hawkins c31fd4371a msi: Process the ADDSOURCE property when setting feature states. 2007-11-06 14:01:17 +01:00
James Hawkins 75b825da17 msi: Test the install states of removed features. 2007-11-06 14:01:12 +01:00
James Hawkins 405d0be4f7 msi: do_query is supposed to fail, so don't release a handle that is never initialized. 2007-11-05 14:46:41 +01:00
James Hawkins 0fd733bf90 msi: Implement adding columns using the ALTER command. 2007-07-23 11:55:11 +02:00
James Hawkins 5a8e0e8c1d msi: Fix current _Property table tests and add more tests. 2007-07-11 12:42:45 +02:00
James Hawkins bafc4dc385 msi: Ignore invalid conditional expressions when checking the launch conditions. 2007-06-29 12:33:19 +02:00
James Hawkins 219857f831 msi: Add tests that show '!=' is not a valid conditional expression operator. 2007-06-29 12:33:09 +02:00
James Hawkins b4bb6e5b5d msi: Add the _Property table back, with tests. 2007-04-23 14:03:51 +02:00
Rob Shearman 77f6bc4f8d msi: Set the PackageCode property based on the "revision number" data in the summary information.
Add a test to show that PackageCode is set by MSI.
2007-03-05 16:43:26 +01:00
Rob Shearman 95f38b75fb msi: Set the Date, Time and VersionDatabase properties.
Add tests for these properties.
Update the todo list of properties to set.
2007-03-05 16:43:26 +01:00
Mike McCormack 824b89987a msi: Add a test showing MsiGetProperty returns correct values. 2007-02-06 13:20:12 +01:00
Alexandre Julliard 598f2be54b msi: Fix the condition test to not assume MsiNetAssemblySupport is empty. 2006-12-14 17:01:35 +01:00
Mike McCormack c8898f6bba msi: Add tests for comparison to empty strings. 2006-12-07 17:54:37 +01:00
Mike McCormack 01cc2c3234 msi: More tests for the SourceDir property. 2006-12-06 11:40:59 +01:00
Mike McCormack 3578bf64d6 msi: Add some tests for the ALTER query. 2006-12-06 11:40:55 +01:00
Mike McCormack bccab7bb9d msi: Add the names of features/components to debugging output. 2006-12-05 11:28:45 +01:00
Mike McCormack 4e25188a2a msi: Treat the SourceDir folder the same as TargetDir. 2006-11-22 11:43:09 +01:00
Mike McCormack 69c6fff384 msi: Add another test for the SourceDir property. 2006-11-20 11:50:15 +01:00
Mike McCormack 4052b8be05 msi: Add a test showing the _Properties table is a bit strange. 2006-11-17 11:14:33 +01:00
Mike McCormack 8858011375 msi: Add the column type INTEGER as an alias for INT. 2006-10-23 12:38:51 +02:00
James Hawkins 929395c0f0 msi: Only initialize a component's state if it is linked with a feature. 2006-10-20 11:41:09 +02:00
James Hawkins 08831b4a1e msi: Set the USERNAME and COMPANYNAME properties when initializing a package. 2006-10-19 13:34:42 +02:00
James Hawkins c507543554 msi: Set the SourceDir and SOURCEDIR properties in the ResolveSource action. 2006-10-11 12:09:54 +02:00
James Hawkins 58870ce841 msi: Clean up after the package tests. 2006-10-11 12:09:43 +02:00
Michael Ploujnikov e86296a47f msi/tests: Win64 printf format warning fixes. 2006-10-10 13:36:49 +02:00
Mike McCormack e9c5e93fda msi: Fix handle leaks in the test cases. 2006-10-10 12:10:18 +02:00
Juan Lang 4b99bf02c0 msi: Implement msidbLocatorTypeFileName in RegLocator searches. 2006-10-03 11:16:16 +02:00
James Hawkins cabc7ee1ae msi: Follow state resolution rules when a feature parent saves a component. 2006-09-28 13:20:31 +02:00
James Hawkins d83aa64c57 msi: A feature state of INSTALLSTATE_ABSENT translates into a component state of INSTALLSTATE_UNKNOWN. 2006-09-28 12:55:45 +02:00
James Hawkins bbd4d1e3ef msi: If the feature linked to a component has a state of INSTALLSTATE_UNKNOWN, the component's state should match. 2006-09-26 21:56:05 +02:00
James Hawkins ad609f1518 msi: Only specifically resolve the TARGETDIR directory once. 2006-09-26 21:55:57 +02:00
James Hawkins 3ee3fc35ef msi: Add tests for setting the target path of TARGETDIR (based on a patch by Andrey Turkin). 2006-09-26 21:54:05 +02:00
James Hawkins da14a4a25e msi: Store the full path to the database file in the MSIDATABASE structure. 2006-09-26 21:50:36 +02:00
James Hawkins 545d0e70cf msi: Disable child features of parent features that are unselected because of the install level. 2006-09-21 13:03:32 +02:00
James Hawkins 32f570222b msi: Don't check a component's install state if a component ID is not provided. 2006-09-21 13:02:00 +02:00
James Hawkins 6ac0f3ed29 msi: Fix the results of a few tests to match Windows. 2006-09-21 13:01:43 +02:00
James Hawkins d893cb7d1e msi: Load the component states in CostFinalize instead of CostInitialize. 2006-09-21 13:01:33 +02:00
James Hawkins ca5c11009d msi: Initialize all features' action states to INSTALLSTATE_UNKNOWN. 2006-09-21 13:01:18 +02:00
James Hawkins 937b9b2bbc msi: Only override a feature whose action state is INSTALLSTATE_SOURCE. 2006-09-21 13:01:10 +02:00
James Hawkins 6518f3d7f2 msi: INSTALLSTATE_SOURCE also overrides a parent feature state change to INSTALLSTATE_ABSENT. 2006-09-20 12:24:45 +02:00
James Hawkins a4c6ca2b65 msi: Add tests for components with multiple parent features. 2006-09-20 12:24:35 +02:00
Alexandre Julliard fc4cd637d9 tests: Moved some compatibility defines to wine/test.h. 2006-09-13 11:01:39 +02:00
James Hawkins ad2ec01739 msi: Add more tests for MsiFormatRecord. 2006-09-07 13:56:33 +02:00
Mike McCormack ada5daa76a msi: Fix test compilation with MSVC6. 2006-08-29 13:48:01 +02:00
Mike McCormack b183956193 msi: Properties are case sensitive. 2006-08-29 13:46:39 +02:00
James Hawkins 80740e72e7 msi: Add tests for the AppSearch action. 2006-08-22 12:53:43 +02:00
James Hawkins 6a520c0b6d msi: Add handling for MsiEvaluateCondition's substring operators. 2006-08-22 12:11:40 +02:00
James Hawkins 762a13eb34 msi: Add tests for MsiEvaluateCondition's substring operators. 2006-08-22 12:11:29 +02:00
James Hawkins 3cb82ab8d2 msi: If a component's state is not local, source, or default, default to the local state. 2006-08-12 11:39:58 +02:00
Andrew Talbot 4aaf1f0b9e msi/tests: Write-strings warnings fix. 2006-08-11 19:26:50 +02:00
James Hawkins 5d37be9e56 msi: Only remove a file if the version to be installed is strictly newer than the old file. 2006-08-11 11:56:27 +02:00
James Hawkins bf4e00fd9b msi: Add tests for the RemoveFiles action. 2006-08-09 11:20:25 +02:00
James Hawkins 4fade6d3a8 msi: Add tests for MsiGetProperty. 2006-08-08 11:14:10 +02:00
Andrew Talbot d58e1dba42 msi: Write-strings warnings fix. 2006-08-05 11:27:04 +02:00
James Hawkins 7edea0cc68 msi: Set the install state to INSTALLSTATE_LOCAL for features with compressed files. 2006-08-02 11:42:20 +02:00
James Hawkins 38f2ba23f1 msi: Fix a couple install state test cases.
- Correctly handle the msidbComponentAttributesOptional component attribute.
- Don't set a component's state to INSTALLSTATE_LOCAL if the
  msidbComponentAttributesSourceOnly attribute is provided.
2006-08-01 10:49:20 +02:00
James Hawkins 6330f14da9 msi: Fix the add_feature_entry helper function. 2006-08-01 10:49:07 +02:00
James Hawkins 98d1486410 msi: Set the install state to INSTALLSTATE_LOCAL for components with compressed files. 2006-07-31 21:36:19 +02:00
Michael Stefaniuc b222f1bca4 msi: 0xdeadbeef is too big for a signed int thus producing sign
comparison warnings when compared to an int variable. Use 0xdeadbee
instead.
2006-07-28 12:33:45 +02:00
James Hawkins 59a706bc2b msi: Test the states of a component with a compressed file. 2006-07-27 11:43:28 +02:00
Mike McCormack 1d46cdf11a msi: Always load all the components. 2006-07-26 10:23:34 +02:00
James Hawkins dc0aad523b msi: Add tests for component and feature states. 2006-07-24 12:57:32 +02:00
James Hawkins 094915ae2c msi: Update the files target paths as well, because a parent directory might have been changed. 2006-07-13 13:48:12 +02:00
James Hawkins 15ad5de13c msi: Test how SetTargetPath affects the target paths of install files. 2006-07-11 17:15:16 +02:00
Andrey Turkin 2ad04cae39 msi: Disable some path validity checks in MsiSetTargetPath. 2006-06-26 13:38:02 +02:00
Andrew Talbot 685e7007e1 msi/tests: Write-strings warnings fixes. 2006-06-19 09:21:42 +02:00
Andrey Turkin 07edeb8394 msi: Added tests for MsiSetTargetPath. 2006-06-16 14:42:36 +02:00
Mike McCormack bef879cb24 msi: Add tests for creating packages and formatting records. 2006-06-12 16:04:08 +02:00
Mike McCormack f29ec238e8 msi: Delete any databases we create at the end of each test. 2006-06-12 16:03:57 +02:00
Huw Davies f5c72fd202 msi: Add some integer condition tests. 2006-06-05 21:00:49 +02:00
Jonathan Ernst 360a3f9142 Update the address of the Free Software Foundation. 2006-05-23 14:11:13 +02:00
Mike McCormack 0b9960a1f9 msi: Make sure to run tests for MsiEvaluateCondition. 2006-03-09 12:50:48 +01:00
Mike McCormack deaae4b8d1 Empty strings are not equal to any number, so all comparisons against
them fail except for tests for non-equalness.
2005-11-14 12:29:10 +00:00
Mike McCormack fc0cc66b54 Fix comparison of empty properties to numbers and add test cases. 2005-11-14 11:24:14 +00:00
Francois Gouget f4c0524ec6 Assorted spelling and case fixes. 2005-11-10 11:39:07 +00:00
Mike McCormack da20e4d9ca NULL and empty strings are the same in conditions. 2005-11-02 19:58:01 +00:00
Mike McCormack 76137e55b7 Fix parameter handling in MsiSetTargetPath, and add a test for it. 2005-11-02 11:43:05 +00:00
Mike McCormack 3e6f31bf0b Fix and test MsiGetProperty and MsiSetProperty. 2005-10-31 14:07:37 +00:00
Mike McCormack 9d43994ec2 Add a bunch of tests for MsiEvaluateCondition and make them pass. 2005-10-29 11:08:05 +00:00
Mike McCormack c877a2ef53 Fix handle leaks in the test cases. 2005-09-26 09:55:12 +00:00
Mike McCormack 1cdffb26c9 Fix the handling of MsiGetTargetPath args (with test case). 2005-09-13 11:25:20 +00:00
Mike McCormack e17ef695a2 Fix the handling of MsiDoAction args (with test case). 2005-09-13 10:37:46 +00:00
Mike McCormack 114d399666 - add test for MsiGetSourcePath
- don't specify drive for package path
2005-09-07 09:23:58 +00:00
Alexandre Julliard 14a6d89905 Authors: Mike McCormack <mike@codeweavers.com>, Aric Stewart <aric@codeweavers.com>
Test creating a package.
2005-09-06 11:39:15 +00:00