Commit Graph

54 Commits

Author SHA1 Message Date
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