Commit Graph

407 Commits

Author SHA1 Message Date
Misha Koshelev 74b2c18bae msi/tests: automation: Installer::InstallProduct, remove a registry key set by Wine but not native. 2007-05-21 12:38:55 +02:00
Misha Koshelev 01460f6753 msi: automation: Implement StringList::_NewEnum. 2007-05-18 20:01:55 +02:00
Misha Koshelev 2521111bc7 msi/tests: automation: Add tests for StringList::_NewEnum. 2007-05-18 20:00:30 +02:00
Misha Koshelev 5ee995d90a msi/tests: automation: Fix Installer_ProductInfo ok message to correctly state function. 2007-05-18 20:00:13 +02:00
Misha Koshelev ee33e40542 msi/tests: automation: Change SUCCEEDED(hr) to more specific hr == S_OK. 2007-05-18 14:43:40 +02:00
Misha Koshelev 63ed9117c3 msi/tests: automation: Check for NULL source string before calling lstrcpyW. 2007-05-18 14:43:05 +02:00
Misha Koshelev f1f687e646 msi/tests: automation: Change non-const LPCWSTR parameters to LPWSTR. 2007-05-18 14:42:57 +02:00
Misha Koshelev 8136bd4117 msi: automation: Implement Installer::ProductInfo. 2007-05-17 12:47:39 +02:00
Misha Koshelev d800a082a8 msi: Return appropriate values for empty MsiProductInfo parameters. 2007-05-17 12:47:20 +02:00
Misha Koshelev 68bfb39767 msi/tests: Add test for empty MsiGetProductInfo parameters not referencing default registry values. 2007-05-17 12:45:16 +02:00
Misha Koshelev 2177e492e6 msi/tests: automation: Add tests for Installer::ProductInfo. 2007-05-16 14:58:19 +02:00
Misha Koshelev 0eaf8bc164 msi/tests: automation: Remove unnecessary if (SUCCEEDED(hr)) statements. 2007-05-16 14:58:07 +02:00
Francois Gouget 0acb5810bf Assorted spelling fixes. 2007-05-15 18:09:16 +02:00
Misha Koshelev 536b49905b msi: Make MsiEnumRelatedProducts enumerate registry value names, not subkeys. 2007-05-15 14:11:37 +02:00
Misha Koshelev a6dfcf90f7 msi: automation: Implement Installer::RelatedProducts. 2007-05-15 14:10:58 +02:00
Misha Koshelev 7a9b218235 msi/tests: automation: Add tests for Installer::RelatedProducts. 2007-05-15 14:09:52 +02:00
Misha Koshelev 5b37ba6f04 msi: automation: Implement Installer::InstallProduct. 2007-05-15 14:09:42 +02:00
Misha Koshelev b75b224822 msi/tests: automation: Add test for Installer::InstallProduct. 2007-05-15 14:06:47 +02:00
Misha Koshelev 18cab64b42 msi: automation: Implement Record::IntegerData. 2007-05-15 14:06:27 +02:00
Misha Koshelev 9d234fcb9f msi: automation: Implement View::Modify. 2007-05-14 16:20:01 +02:00
Misha Koshelev 854ca51a5f msi/tests: automation: Add test for View::Modify. 2007-05-14 16:19:24 +02:00
Misha Koshelev 5e16dbb3f3 msi/tests: automation: Add tests for Record::IntegerData. 2007-05-14 16:19:15 +02:00
Misha Koshelev d2ad4e09ce msi/tests: automation: Correct expected Record::StringData PROPERTYPUT return variant type. 2007-05-14 16:19:05 +02:00
Misha Koshelev c0c6fe6341 msi: automation: Implement Record::FieldCount. 2007-05-14 16:17:22 +02:00
Misha Koshelev aa9f4beb65 msi: automation: Return DISP_E_MEMBERNOTFOUND if flags are incorrect. 2007-05-14 16:16:54 +02:00
Misha Koshelev 6bb7c911f5 msi/tests: automation: Test invoking methods as properties & vice versa. 2007-05-14 16:15:51 +02:00
Misha Koshelev 7eb3db632e msi: automation: Implement Installer::CreateRecord. 2007-05-14 16:15:40 +02:00
Misha Koshelev 075e1898bf msi/tests: automation: Test for Installer::CreateRecord error. 2007-05-14 16:15:20 +02:00
Misha Koshelev 2d8c2ce6d6 msi: automation: Implement Session::EvaluateCondition. 2007-05-14 16:14:58 +02:00
Misha Koshelev 75222d7452 msi/tests: automation: Add tests for Session::EvaluateCondition. 2007-05-14 16:13:23 +02:00
Misha Koshelev d74e643f8c msi: automation: Implement Installer::RegistryValue. 2007-05-11 12:59:52 +02:00
Marcus Meissner c904290336 msi/tests: Increase buffer size a bit.
Spotted by Coverity.
2007-05-11 11:45:36 +02:00
Francois Gouget 450ad214ec msi/tests: Add missing '\n' to ok() calls. 2007-05-11 11:20:25 +02:00
Paul Vriens a543e60dc9 msi/tests: Properly cleanup after each test. 2007-05-10 12:14:14 +02:00
Misha Koshelev 2b7d8cb9d5 msi/tests: automation: Add more tests for Installer::RegistryValue.
Add test for a new error condition and tests for returning data from values of different registry value types.
2007-05-10 12:10:28 +02:00
Misha Koshelev ab2669a750 msi/tests: automation: Simplify ok_exception. 2007-05-08 12:34:59 +02:00
Misha Koshelev 87a46493cf msi/tests: automation: Add test for Installer::RegistryValue. 2007-05-08 12:34:54 +02:00
Misha Koshelev 05de3b03de msi: automation: Implement Installer::Products and Installer::ProductState. 2007-05-08 12:30:26 +02:00
Misha Koshelev 4ba4936dee msi/tests: automation: Add tests for Installer::Products and Installer::ProductState. 2007-05-08 12:26:44 +02:00
Misha Koshelev 757e617ec2 msi: automation: Use proper parameter names.
This fixes the parameter names to match native as they are required by
some scripting languages and by the exceptions that are thrown.
2007-05-08 12:23:14 +02:00
Misha Koshelev c7e7f36e77 msi: automation: Implement Session::Installer. 2007-05-07 14:24:16 +02:00
Misha Koshelev 4a5a90b04a msi/tests: automation: Session::Installer conformance test. 2007-05-07 14:23:06 +02:00
Misha Koshelev d49b251db9 msi/tests: automation: Integrate test_createrecord_and_version properly. 2007-05-04 13:40:12 +02:00
Misha Koshelev 357f3db286 msi/tests: automation: Convert method names to Unicode on the fly to simplify adding new tests. 2007-05-04 13:40:02 +02:00
Misha Koshelev 1752f36413 msi/tests: automation: Free memory after string conversion. 2007-05-04 13:39:32 +02:00
Misha Koshelev f217cacbc2 msi: automation: Expose Installer object. 2007-05-01 18:05:26 +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
Misha Koshelev d1c4588625 msi: Merge OLE automation conformance tests. 2007-05-01 11:49:29 +02:00
Misha Koshelev 49bb20cf35 msi: Add OLE automation conformance test. 2007-04-30 13:57:50 +02:00
Francois Gouget 4017334ed4 msi/tests: Add missing '\n' to ok() call. 2007-04-30 12:34:58 +02:00
James Hawkins da55285acb msi: Implement special handling for the _Streams table. 2007-04-25 12:44:37 +02:00
Rob Shearman 697d820eee msi: All columns being temporary means the table is non-persistent.
The HOLD keyword just means that the non-persistent data in the table 
should be kept around, not that the table is temporary.
2007-04-24 12:25:36 +02:00
Rob Shearman 44f7cb8858 msi: Add a persistent flag to tables.
Implement MSI_DatabaseIsTablePersistent.
2007-04-24 12:25:25 +02:00
Rob Shearman a33cc3d859 msi: Don't add info to the _Columns table for non-persistent tables. 2007-04-24 12:24:59 +02:00
James Hawkins b4bb6e5b5d msi: Add the _Property table back, with tests. 2007-04-23 14:03:51 +02:00
James Hawkins d677bd7f3b msi: Return MSICONDITION_NONE in MsiDatabaseIsTablePersistent if the table doesn't exist. 2007-04-23 14:00:24 +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 d9e8a0f63e Remove unneeded checks on the GetModuleHandle() return value for cases where we are linked with the dll. 2007-03-28 12:36:13 +02:00
Francois Gouget 7b0cde8f84 Assorted spelling fixes. 2007-03-06 21:51:35 +01: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
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
James Hawkins a40d687133 msi: Add tests for using markers in SELECT clauses. 2007-02-26 13:56:24 +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
Mike McCormack 3ca5f8bbf9 msi: Add a test for the version method. 2007-02-07 21:40:09 +01:00
Mike McCormack 224ead8253 msi: Test the dispid for CreateRecord. 2007-02-06 13:20:29 +01:00
Mike McCormack 824b89987a msi: Add a test showing MsiGetProperty returns correct values. 2007-02-06 13:20:12 +01:00
James Hawkins 30577c253a msi: Allow uncompressed files before compressed files in the same media. 2007-02-05 12:27:33 +01:00
Mike McCormack 595983f498 msi: Add todos around tests that aren't being run yet, but will fail. 2007-01-26 13:53:52 +01:00
Mike McCormack d316c19741 msi: Add a test for the IMsiServer interface. 2007-01-25 11:59:59 +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
Alexandre Julliard 598f2be54b msi: Fix the condition test to not assume MsiNetAssemblySupport is empty. 2006-12-14 17:01:35 +01:00
Andrew Talbot ebd6f7d1ce msi/tests: Cast-qual warning fix. 2006-12-12 12:11:01 +01:00
Marcus Meissner f0280cbd1e made functions and variables static in some testcases. 2006-12-11 12:18:29 +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 08d1398d97 msi: Double quotes are not valid in queries. 2006-12-04 12:41:08 +01:00
Mike McCormack ef1af6ada7 msi: Add tests for quoting in queries. 2006-12-04 12:40:59 +01:00
Mike McCormack 4e25188a2a msi: Treat the SourceDir folder the same as TargetDir. 2006-11-22 11:43:09 +01:00
Mike McCormack 5b8fdad920 msi: Fix use of integer fields in MsiFormatRecord. 2006-11-21 12:16:05 +01:00
Mike McCormack 8f20756068 msi: Test MsiRecordGetString on an integer record fields with a NULL output buffer. 2006-11-21 12:15:59 +01:00
Mike McCormack 99129d20a6 msi: Add a test for formatting records with strings. 2006-11-21 12:15:55 +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 2f2143b4ec msi: Add a test showing which tables are special. 2006-11-17 11:14:31 +01:00
Mike McCormack 2a46821b82 msi: Fix an uninitialized variable in the test cases. 2006-11-13 13:02:03 +01:00
Eric Pouech 8f2b479461 msi: Don't call PropVariantClear on uninitialized variants. 2006-11-09 12:24:24 +01:00
James Hawkins 84f34ec210 msi: Add more tests for installing from cabinets. 2006-11-08 12:53:29 +01:00
Francois Gouget 30e44c85c8 Assorted spelling fixes. 2006-11-07 15:25:24 +01:00
Mike McCormack 50e5caeb6c msi: Fix WHERE IS (NOT) NULL queries. 2006-11-07 15:06:57 +01:00
Mike McCormack 2b943bfddc msi: Fix regression tests failing on Windows. 2006-11-07 15:06:49 +01:00
Mike McCormack aaa0dc0425 msi: Fix a handle leak in the tests. 2006-11-02 12:25:00 +01:00
Mike McCormack d65e80c85e msi: Add a test showing a join doesn't need a WHERE clause. 2006-10-31 11:57:46 +01:00
Mike McCormack c6124db905 msi: Use a simpler algorithm for joins. 2006-10-31 11:57:40 +01:00
Mike McCormack 8fc5fbe7ab msi: Test the data returned by join queries in one ok(). 2006-10-31 11:57:23 +01:00
Mike McCormack 57443e0112 msi: Fix the ALTER and FREE keywords in the tokenizer. 2006-10-31 11:56:49 +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
Mike McCormack 1582f58036 msi: Fix the join algorithm. 2006-10-26 12:56:10 +02:00
Mike McCormack 6c95dc644c msi: Allow UPDATE queries without a condition. 2006-10-26 12:56:10 +02:00
Mike McCormack 4a32845a56 msi: Fixed the UPDATE query to work with explicit values. 2006-10-26 12:56:09 +02:00
James Hawkins 62aedea856 msi: Add tests for the UPDATE sql command. 2006-10-26 12:56:09 +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
Francois Gouget a990951358 msi/tests: Fix compilation with gcc 2.95. 2006-10-23 15:19:29 +02:00
Mike McCormack f6c7ae6a0c msi: Fix insertion of null integers into a table. 2006-10-23 12:38:56 +02: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 fcd57a3fc4 msi: Add tests for integer column types. 2006-10-20 11:41:09 +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 a66584e1a2 msi: Allow more than one primary key in a table when importing a database. 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
Mike McCormack c2b4629228 msi: Fix an uninitialized variable causing random conformance test failures. 2006-10-20 10:20:37 +02:00
James Hawkins d6632dd0fb msi: Add tests for the InstallServices action. 2006-10-19 14:01:02 +02:00
James Hawkins 08831b4a1e msi: Set the USERNAME and COMPANYNAME properties when initializing a package. 2006-10-19 13:34:42 +02:00
Alexandre Julliard 11894cc77e msi/tests: Make sure to delete the test data file. 2006-10-18 11:51:05 +02:00
Mike McCormack 98a42ad575 msi: Fix tables with binary data where the key is an integer. 2006-10-17 11:17:43 +02:00
Mike McCormack 1f737c035e msi: Stream fields shouldn't be treated as strings. 2006-10-17 11:17:34 +02:00
Mike McCormack fbddd9060f msi: Add a test for modifying a table containing binary data. 2006-10-17 11:16:45 +02:00
Mike McCormack 194722d3a3 msi: Add a test for summary information. 2006-10-17 11:16:24 +02:00
James Hawkins 3797e6cada msi: Also set the SOURCEDIR property in MSI_InstallPackage. 2006-10-14 20:21:17 +02:00
Mike McCormack 9187951ac7 msi: Handle the sign properly when converting integer data. 2006-10-12 14:58:39 +02:00
Mike McCormack 60ea01a4f2 msi: Test transforms removing a row in a table. 2006-10-12 11:32:36 +02:00
Mike McCormack 8f56ae8b3a msi: Tests for transforms modifying rows in a table. 2006-10-12 11:32:27 +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
Mike McCormack ee55546d34 msi: Check that transforms return the correct data. 2006-10-11 12:09:32 +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
Mike McCormack 2e19d49538 msi: Check that transforms preserve tables. 2006-10-05 11:32:27 +02:00
James Hawkins 6be7ba7546 msi: Implement MsiDatabaseImport. 2006-10-03 20:18:38 +02:00
Juan Lang 4b99bf02c0 msi: Implement msidbLocatorTypeFileName in RegLocator searches. 2006-10-03 11:16:16 +02:00
Michael Stefaniuc 85ce5117c5 Add a WINE_NO_LONG_INT define to many makefiles to ease the transition of DWORD/LONG/ULONG from long to int. 2006-09-29 16:08:30 +02:00