Commit Graph

366 Commits

Author SHA1 Message Date
Marcus Meissner 67b06ecba5 msi/tests: Reduce buffer to size of string written. 2008-09-15 11:43:53 +02:00
Paul Vriens 58ddb6f564 msi/tests: Create only one log file and delete it afterwards. 2008-09-11 11:43:09 +02:00
Rob Shearman ef1b0cacfa msi: Reduce destination file name used in the MoveFiles action to the long file name.
Add a test for this behaviour.
2008-09-10 12:08:52 +02:00
James Hawkins 8a9ba8f73f msi: Actions should be run even if the installed state is the same as the requested state. 2008-09-08 12:47:22 +02:00
Paul Vriens c559895ce9 msi/tests: Create a system restore point when needed. 2008-09-02 13:28:23 +02:00
Paul Vriens 4bc832c29a msi/tests: Add a missing CoUninitialize. 2008-09-02 13:27:46 +02:00
James Hawkins 472b991958 msi: Don't remove a misc file if the action is unknown. 2008-08-21 11:44:39 +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 f909e1c06e msi: Don't remove a file that is installed as source. 2008-08-21 11:44:19 +02:00
James Hawkins 4553d0fd47 msi: Remove an invalid setting of the install state. 2008-08-21 11:44:13 +02:00
James Hawkins 7b858882ac msi: If the filename is empty or NULL, remove the directory. 2008-08-21 11:43:51 +02:00
James Hawkins 96dd6ce167 msi: Handle processing a component that is installed to source. 2008-08-21 11:43:44 +02:00
James Hawkins 10a2a5effe msi: Base removal of a file on the component's action, not the file's state. 2008-08-19 13:56:01 +02:00
James Hawkins e64a699b07 msi: Remove misc files from the RemoveFile table. 2008-08-19 13:39:40 +02:00
James Hawkins a00bdc1178 msi: A file's component's state does not determine file removal. 2008-08-19 13:39:30 +02:00
James Hawkins 9a8d2f3f5c msi: Ignore a file that has a missing component. 2008-08-19 13:39:02 +02:00
James Hawkins 6e63953b4c msi: Also check the LocalPackage install property when searching for the product package. 2008-08-18 17:15:46 +02:00
James Hawkins d500dc4f31 msi: Test how MsiConfigureProductEx locates the source package. 2008-08-18 17:04:53 +02:00
James Hawkins dfec94c157 msi: Add tests for MsiConfigureProductEx. 2008-07-29 12:20:11 +02:00
James Hawkins 36f282b0b1 msi: Test mixing short and long source paths when installing a file. 2008-07-22 13:10:31 +02:00
James Hawkins 64a9e0f750 msi: msidbFileAttributesVital has no effect on the installation of files. 2008-07-22 13:10:21 +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 58e1543960 msi: Fix the published location of the upgrade code for the machine context. 2008-06-24 12:15:10 +02:00
James Hawkins 301f2a5eae msi: Open the local user data product key for the machine context. 2008-06-24 12:15:03 +02:00
James Hawkins e6d126cd49 msi: Test the PublishProduct action with the machine context. 2008-06-24 12:14:56 +02:00
James Hawkins cdb33f8a39 msi: Publish the UpgradeCode in PublishProduct. 2008-06-24 12:14:49 +02:00
James Hawkins 5538fa0290 msi: Publish media disks whether the drive type is removable or not. 2008-06-24 12:14:42 +02:00
James Hawkins ef640a6cd5 msi: Publish a few more product properties. 2008-06-24 12:14:36 +02:00
James Hawkins c7ab4fad08 msi: Allow checking a REG_MULTI_SZ string. 2008-06-24 12:14:30 +02:00
James Hawkins db2e8d2fdf msi: Squash the package code property. 2008-06-24 12:14:23 +02:00
James Hawkins d809b4e2d9 msi: Don't publish the product to an invalid location. 2008-06-24 12:14:07 +02:00
James Hawkins ee8b4a0132 msi: Don't set an invalid install property in PublishProduct. 2008-06-24 12:14:00 +02:00
James Hawkins bb8d253ecc msi: Rewrite the PublishProduct test to only check the registry changes. 2008-06-19 12:34:36 +02:00
James Hawkins c0f8bfd2dd msi: Test the RegisterProduct action with the machine context. 2008-06-19 12:34:29 +02:00
James Hawkins 45de896a3d msi: Factor out the publishing of installation properties. 2008-06-19 12:34:23 +02:00
James Hawkins b635e3170f msi: Don't publish the upgrade key to an invalid location. 2008-06-19 12:34:15 +02:00
James Hawkins 2194889d5d msi: Rewrite the RegisterProduct test to only check the registry changes. 2008-06-19 12:34:04 +02:00
James Hawkins 2a180e060a msi: Fix the PublishFeatures action to handle the package context. 2008-06-19 12:33:55 +02:00
James Hawkins af56e28f7e msi: Don't publish features to an invalid location. 2008-06-18 16:24:09 +02:00
James Hawkins d8e4258d08 msi: Rewrite the PublishFeatures test to only check the registry changes. 2008-06-18 16:24:05 +02:00
James Hawkins 5f46dfd698 msi: Fix the RegisterUser action to handle the package context. 2008-06-18 16:24:01 +02:00
James Hawkins 79d0c3719f msi: Rewrite the RegisterUser test to only check the registry changes. 2008-06-18 16:23:57 +02:00
James Hawkins 288af81a7c msi: Fix the ProcessComponents action to handle the package context. 2008-06-18 16:23:27 +02:00
James Hawkins 4aa3a997f8 msi: Don't publish components to the Installer key. 2008-06-18 16:23:18 +02:00
James Hawkins 073d55e73b msi: Rewrite the ProcessComponents test to only check the registry changes. 2008-06-18 16:17:56 +02:00
Paul Vriens ad2c9211bc msi/tests: Cleanup registry after test. 2008-06-11 11:26:22 +02:00
James Hawkins 6221975407 msi: Don't enable a feature's components if that feature is disabled. 2008-05-19 13:36:37 +02:00
James Hawkins f2189d17b0 msi: Remove a debugging call. 2008-04-28 12:27:09 +02:00
James Hawkins a5d15b3b60 msi: Fix a few tests that fail in win9x. 2008-04-21 13:20:12 +02:00
Austin English 5644f05edf msi: Spelling fixes. 2008-04-08 12:25:13 +02:00
James Hawkins e21a26e47b msi: Test and reimplement MsiQueryProductState. 2008-04-07 11:27:24 +02:00
James Hawkins 01316db0ce msi: Remove the dependence on compressed cabinets in the install tests. 2008-03-21 11:24:11 +01:00
James Hawkins afb575d599 msi: Fix a few test failures on win9x. 2008-03-18 11:15:53 +01:00
James Hawkins 5e5c4a9809 msi: Don't publish the product for the custom action test. 2008-03-15 11:02:50 +01:00
James Hawkins de4cab20a8 msi: Deformat the service name and display name when installing the service. 2008-03-12 12:00:23 +01:00
James Hawkins 2d0ff97406 msi: Ignore the custom action type 51 if the source field is empty. 2008-03-11 12:12:24 +01:00
James Hawkins d52f48fed4 msi: Fix handling of published installer properties. 2008-03-07 10:52:46 +01:00
Ove Kaaven be874f1a26 msi: Fix bug in handling of multivolume CAB files. 2008-03-07 10:52:11 +01:00
James Hawkins c8acf21e0c msi: Break out the publishing tests into their respective actions. 2008-03-06 16:24:39 +01:00
Paul Vriens 1bbac341df msi/tests: Fix test that depends on the order of the files in a directory. 2008-02-27 14:52:25 +01:00
Paul Vriens 6b37543adc msi/tests: Skip tests that contain functions that are not available. 2008-02-27 14:52:24 +01:00
Paul Vriens 89c8e795d8 msi/tests: Make tests run on win9x/NT4 again. 2008-02-25 19:49:54 +01:00
James Hawkins 8b540d2670 msi: Fix the INSTALLPROPERTY_LASTUSEDTYPE case. 2008-02-25 12:21:19 +01:00
James Hawkins 737dedfcbb msi: Fix the INSTALLPROPERTY_LASTUSEDSOURCE case. 2008-02-25 12:20:56 +01:00
James Hawkins d41cae07d5 msi: Factorize and fix the INSTALLPROPERTY_MEDIAPACKAGEPATH case. 2008-02-25 12:20:48 +01:00
James Hawkins 3de0014750 msi: Publish a few SourceList properties. 2008-02-21 12:53:00 +01:00
James Hawkins 2d5ba8d20d msi: Implement MsiSourceListEnumSources. 2008-02-21 12:53:00 +01:00
James Hawkins f177dc9f90 msi: Add tests for enumerating the source list after publishing. 2008-02-18 12:41:37 +01:00
Paul Vriens 4c105b2f5c msi/tests: Services are not available on win9x. 2008-02-15 11:07:19 +01:00
James Hawkins 050fa6a40c msi: Add tests for source folder resolution. 2008-02-13 16:41:14 +01:00
James Hawkins 2750ed167f msi: Don't check for the existence of the msi package when running a concurrent install. 2008-02-11 20:45:17 +01:00
Alexandre Julliard 2e6ec39565 msi/tests: Fix test that depends on the order of the files in a directory. 2008-02-11 20:41:40 +01:00
James Hawkins 2f658cb337 msi: Fix handling of the NULL separator when writing registry values. 2008-02-05 12:21:23 +01:00
Francois Gouget 62c59deaa1 msi/tests: Tweaked so it does not look like things are misspelled. 2008-01-11 12:25:44 +01:00
James Hawkins 5352d099b4 msi: Create parent directories when duplicating files if they don't exist, with tests. 2008-01-07 12:16:56 +01:00
James Hawkins 837588c6a3 msi: Pad the month and day to two digits. 2008-01-07 12:16:45 +01:00
James Hawkins d316a94ecb msi: Remove an erroneous table. 2008-01-07 12:16:30 +01:00
Michael Stefaniuc 1f26b146d1 janitorial: Remove superfluous backslashes at end of lines. 2007-12-31 19:23:45 +01:00
James Hawkins 4160722b07 msi: Check the destination file's hash and skip that file if the hash matches. 2007-11-26 12:28:15 +01:00
James Hawkins 6a6a218548 msi: Set the file contents of the file hash test file explicitly. 2007-11-26 12:28:03 +01:00
Misha Koshelev 74a2ce4d99 msi/tests: Close opened service handles. 2007-11-20 16:38:56 +01:00
James Hawkins 4e9940990b msi: Don't ignore the error returned by ready_media. 2007-11-15 12:48:29 +01:00
James Hawkins b1507aee98 msi: Only check the presence of the cabinet if the file is compressed. 2007-11-15 12:48:18 +01:00
James Hawkins 0023759a4b msi: Add tests for situations involving missing cabinets. 2007-11-15 12:48:08 +01:00
James Hawkins c68825569d msi: Test the Uninstall registry entries. 2007-11-13 13:35:21 +01:00
James Hawkins 341d1fa7b5 msi: Initialize a handle in case MsiGetSummaryInformation fails. 2007-11-05 14:52:38 +01:00
James Hawkins 14d439c863 msi: Handle the MSIINSTALLCONTEXT_USERMANAGED context. 2007-11-05 14:52:19 +01:00
James Hawkins 07c3f4411e msi: A feature's requested action does not depend on its installed state. 2007-11-01 12:43:24 +01:00
James Hawkins ccdf578ba2 msi: Only unpublish the features if the entire product is being uninstalled. 2007-11-01 12:43:18 +01:00
James Hawkins 9f11a5a878 msi: Properly register features. 2007-11-01 12:43:12 +01:00
James Hawkins fc6b9dd4e4 msi: Properly register and unregister components. 2007-11-01 12:43:06 +01:00
James Hawkins c3df74e24f msi: Implement the MoveFiles standard action. 2007-11-01 12:42:50 +01:00
James Hawkins b9a29e221f msi: Test the MoveFiles standard action. 2007-11-01 12:41:54 +01:00
James Hawkins d258484b0b msi: Set the ROOTDRIVE property so the admin sequence won't choose its own. 2007-10-26 14:03:46 +02:00
James Hawkins 5169d04ec2 msi: Add missing newline to the adm_custom_action table. 2007-10-26 14:03:46 +02:00
James Hawkins 85bd53a675 msi: Include the null terminator when writing data to the stream. 2007-10-23 18:05:25 +02:00
Detlef Riekenberg c54219fb40 msi/tests: Do not leak a HKEY when RegQueryValueEx failed. 2007-10-19 12:26:17 +02:00
Marcus Meissner 6f865b9497 msi: Common Files is translated to current language. 2007-10-17 13:41:45 +02:00
Marcus Meissner 9684c9fee6 msi: Marked two variables static. 2007-10-17 13:40:59 +02:00
Paul Vriens f581a1cbef msi/tests: Be verbose when GetProcAddress fails. 2007-08-21 21:38:31 +02:00
Marcus Meissner fb4901759b msi: Allocate 1 byte more buffer. 2007-08-13 12:25:32 +02:00
James Hawkins b353a09569 msi: Add tests for the RemoveFiles standard action. 2007-08-13 11:35:42 +02:00
Paul Vriens 5f16125246 msi/tests: Run tests again on win98 and NT4. 2007-08-10 16:19:03 +02:00
James Hawkins 6ac0816109 msi: Implement the UnpublishFeatures standard action. 2007-08-10 12:58:17 +02:00
James Hawkins 511bdd9de8 msi: Simplify MsiQueryComponentState, with more tests. 2007-08-09 13:53:36 +02:00
James Hawkins 0713c32869 msi: Implement the remaining contexts for MsiQueryComponentState. 2007-08-08 15:32:00 +02:00
James Hawkins dc3060c542 msi: Load the AdminProperties stream if the package is an Admin package. 2007-07-17 12:54:53 +02:00
Paul Vriens 02d14c85e7 msi/tests: Don't create a directory that's not needed. 2007-07-16 13:36:49 +02:00
James Hawkins 6805bf8ace msi: Add a test for running an ADMIN install. 2007-07-13 14:41:34 +02:00
James Hawkins ba257f0cea msi: Add a test for installing from different current working directories. 2007-07-13 14:41:14 +02:00
James Hawkins ed281b725a msi: Fix three tests that were failing in Windows. 2007-07-13 14:40:59 +02:00
James Hawkins 30fc5602de msi: Reload properties as they may have been changed by a transform. 2007-07-13 12:27:33 +02:00
Alexandre Julliard 3f9632ca53 msi/tests: Comment out call to function that is still a stub in Wine. 2007-07-12 13:00:47 +02:00
James Hawkins 0f6aaf86bd msi: Add tests for adding properties with a transform during an install. 2007-07-11 12:42:59 +02:00
James Hawkins 1130d5909b msi: Open the correct key and return INSTALLSTATE_ADVERTISED if it's missing. 2007-07-03 14:05:21 +02:00
James Hawkins 0e44e090c5 msi: Set the WindowsInstaller value in RegisterProduct instead of PublishProduct. 2007-07-03 13:49:44 +02:00
James Hawkins a2df31aea1 msi: Only publish the product if at least one feature is to be installed. 2007-07-03 13:49:35 +02:00
James Hawkins 624bbbe78a msi: Unpublish the product when it is entirely removed. 2007-07-03 13:49:18 +02:00
James Hawkins 5e46fc9019 msi: Delay publishing of the SourceList until the PublishProduct action. 2007-07-03 13:43:20 +02:00
James Hawkins 08443b3bf7 msi: PackagePath must also include the package name. 2007-07-03 13:43:00 +02:00
James Hawkins 56129f252c msi: Add tests to show when the SourceList is published to the registry. 2007-07-03 13:42:52 +02:00
James Hawkins 90e9722ecb msi: Add tests for publishing and unpublishing products, features, and components. 2007-06-26 12:11:54 +02:00
Marcus Meissner c904290336 msi/tests: Increase buffer size a bit.
Spotted by Coverity.
2007-05-11 11:45:36 +02:00
Paul Vriens a543e60dc9 msi/tests: Properly cleanup after each test. 2007-05-10 12:14:14 +02:00
James Hawkins 1104dc088d msi: Run the costing actions for both the UI and execute sequences. 2007-05-01 13:54:10 +02:00
James Hawkins d8586e164f msi: Add tests that show that costing is run in both the UI and Execute sequences. 2007-05-01 13:53:13 +02:00
James Hawkins 98eafa870c msi: Add handling for the concurrent install custom action. 2007-04-16 12:11:08 +02:00
James Hawkins 4cc48b7710 msi: Add tests for the concurrent installation custom action. 2007-04-16 12:08:52 +02:00
James Hawkins 7ef8428b5e msi: Reset the is_extracted flag when every cabinet is loaded. 2007-04-12 16:18:08 +02:00
James Hawkins 8cedb218c3 msi: Load the folder property if available and requested. 2007-03-29 21:01:42 +02:00
Francois Gouget 7b0cde8f84 Assorted spelling fixes. 2007-03-06 21:51:35 +01:00
Paul Vriens 6efffc3829 msi/tests: Properly cleanup after each test. 2007-03-05 12:05:59 +01:00
James Hawkins ba40c463d7 msi: Overwrite an existing read-only file when copying the install file. 2007-02-26 13:57:43 +01:00
Alexandre Julliard a71a22c579 cabinet: Fixed fd leak in case of error. 2007-02-14 13:12:32 +01:00
Misha Koshelev 8aa5c99379 msi: Conformance test, check that INSTALLUILEVEL flags don't trigger UI install. 2007-02-13 17:45:20 +01:00
James Hawkins 5b8282120a msi: Don't skip files continued from a previous cabinet. 2007-02-08 13:01:40 +01:00
James Hawkins 30577c253a msi: Allow uncompressed files before compressed files in the same media. 2007-02-05 12:27:33 +01:00
Paul Vriens 4d0232e504 msi/tests: Remove test directory after the files have been deleted. 2007-01-01 17:04:32 +01:00
James Hawkins be59fb4e6d msi: Enable cab compression and delete any resulting cabs using SHFileOperation. 2006-12-19 12:38:48 +01:00
James Hawkins e1f76deedc msi: Run the install tests from a temporary directory. 2006-12-19 12:09:07 +01:00
Andrew Talbot ebd6f7d1ce msi/tests: Cast-qual warning fix. 2006-12-12 12:11:01 +01:00
James Hawkins 84f34ec210 msi: Add more tests for installing from cabinets. 2006-11-08 12:53:29 +01:00
James Hawkins 62dc9ca691 msi: Extract cabinets based on DiskId, not LastSequence. 2006-10-27 12:09:28 +02:00
James Hawkins 005c0a792e msi: Test the order in which cab files are handled in the Media table. 2006-10-27 12:09:09 +02:00
James Hawkins c6bfbde849 msi: Implement handling for the ErrorDialog and use it to change media. 2006-10-27 12:08:46 +02:00
James Hawkins 1f3f88bf67 msi: Add tests for installing from continuous cabinets. 2006-10-24 11:44:13 +02:00
James Hawkins 3fc13d4b05 msi: Allow more customization of install test files. 2006-10-24 11:44:03 +02:00
James Hawkins a3a3d6c254 msi: Remove unused function pointer and definitions. 2006-10-24 11:43:56 +02:00
James Hawkins a93763ae21 msi: Remove two unnecessary install tables. 2006-10-24 11:43:42 +02:00
James Hawkins 5b19cc79bd msi: Add support for localizable strings in MsiDatabaseImport. 2006-10-24 11:43:33 +02:00
James Hawkins 279f8158f8 msi: Integer columns can have the 'NOT NULL' modifier too. 2006-10-20 11:41:09 +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 7330a03200 msi: Use the ProgramFileDir reg value instead of ProgramFilesPath. 2006-10-20 11:41:09 +02:00
James Hawkins 9bc12ade13 msi: Implement the InstallServices action. 2006-10-20 11:41:09 +02:00
James Hawkins d6632dd0fb msi: Add tests for the InstallServices action. 2006-10-19 14:01:02 +02:00
James Hawkins 3797e6cada msi: Also set the SOURCEDIR property in MSI_InstallPackage. 2006-10-14 20:21:17 +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
Paul Vriens feb7990b49 msi: Make tests run on Win98 again. 2006-10-09 12:53:59 +02:00
James Hawkins 6be7ba7546 msi: Implement MsiDatabaseImport. 2006-10-03 20:18:38 +02:00
Andrew Talbot 4aaf1f0b9e msi/tests: Write-strings warnings fix. 2006-08-11 19:26:50 +02:00
Andrew Talbot ccf7f0777a msi/tests: Write-strings warning fix. 2006-07-28 12:33:01 +02:00
James Hawkins 75c866ed58 msi: Test the column types of MSI packages. 2006-07-27 11:43:33 +02:00
Mike McCormack 1d46cdf11a msi: Always load all the components. 2006-07-26 10:23:34 +02:00
James Hawkins 566beb788b msi: Add tests for components that aren't associated with a feature. 2006-06-23 11:22:49 +02:00
James Hawkins 36bf71c174 msi: Add tests for MsiInstallProduct. 2006-06-15 18:05:53 +02:00