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
04c67c2a1c
msi: Add support for the MSICODE_PATCH option.
2007-07-03 13:42:42 +02:00
James Hawkins
0cd708e7f5
msi: pcchValue represents the length of szValue in TCHARS, not bytes.
2007-07-03 13:42:22 +02:00
James Hawkins
c26505b701
msi: Return ERROR_SUCCESS if the PackageName property is not present.
2007-07-02 15:28:50 +02:00
James Hawkins
381b915b47
msi: Return ERROR_BAD_CONFIGURATION if the SourceList key does not exist.
2007-07-02 15:28:42 +02:00
James Hawkins
3e56d78f2e
msi: Validate MsiSourceListGetInfo parameters.
2007-07-02 15:28:33 +02:00
James Hawkins
1ff40d1558
msi: Add tests for MsiSourceListGetInfo.
2007-07-02 15:28:14 +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
c18b77557d
msi: Set the WindowsInstaller value of the UserData product key when publishing the product.
2007-06-27 12:32:45 +02:00
James Hawkins
24ede2f9e6
msi: If the UserData product key exists, but the user product key doesn't, the product is absent.
2007-06-27 12:32:44 +02:00
James Hawkins
3bf32f2700
msi: Any value of WindowsInstaller besides 0 means the product is installed.
2007-06-27 12:32:44 +02:00
James Hawkins
7da89f48fd
msi: Use the correct registry key when detecting a published product.
2007-06-27 12:32:44 +02:00
James Hawkins
15823e1acf
msi: If the user product key exists, the product's state is advertised.
2007-06-27 12:32:43 +02:00
James Hawkins
e92f66558a
msi: Validate MsiQueryProductCode parameters.
2007-06-27 12:32:43 +02:00
James Hawkins
db318ec9af
msi: Add tests for MsiQueryProductState.
2007-06-27 12:32:43 +02:00
James Hawkins
90e9722ecb
msi: Add tests for publishing and unpublishing products, features, and components.
2007-06-26 12:11:54 +02:00
James Hawkins
9309f4dfa0
msi: Properly delete rows from the table, instead of zeroing out the row.
2007-06-19 11:31:44 +02:00
Misha Koshelev
b7233ba33f
msi: automation: Implement SummaryInfo::PropertyCount.
2007-06-05 11:00:18 +02:00
Misha Koshelev
61f4fff42b
msi/tests: automation: Add tests for SummaryInfo::PropertyCount.
2007-06-05 10:59:52 +02:00
Misha Koshelev
dcbd8e93d5
msi: automation: Implement SummaryInfo::Property, put.
2007-06-05 10:59:38 +02:00
Misha Koshelev
aaa7fd9e11
msi/tests: automation: Add tests for SummaryInfo::Property, put.
2007-06-05 10:59:00 +02:00
Misha Koshelev
3fd518a505
msi/tests: automation: Add test for Installer::OpenDatabase.
2007-06-05 10:58:41 +02:00
Misha Koshelev
8b2d0d3e34
msi: suminfo: Return ERROR_UNKNOWN_PROPERTY as native.
2007-06-05 10:57:56 +02:00
Misha Koshelev
b9ea25721b
msi/tests: suminfo: Add tests for MsiSummaryInfoGetProperty for unknown property values.
2007-06-05 10:57:50 +02:00
Misha Koshelev
0c503defcf
msi: automation: Fix SummaryInfo::Property get to conform to native.
2007-06-04 13:00:24 +02:00
Misha Koshelev
f2c10a530c
msi/tests: automation: Add tests for SummaryInfo::Property, get.
2007-06-04 12:59:43 +02:00
Francois Gouget
fa48cb042c
Assorted spelling fixes.
2007-05-29 13:47:18 +02:00
Francois Gouget
dbf7b7b398
msi/tests: Fix a signed/unsigned int mismatch.
2007-05-29 12:12:01 +02:00
James Hawkins
ea2c96c5df
msi: Add the ability to deformat the component's source.
2007-05-25 19:30:50 +02:00
Misha Koshelev
74de3e1754
msi: Make MsiEnumProducts enumerate products, not features.
2007-05-21 12:38:55 +02:00
Misha Koshelev
ea899e1d6f
msi/tests: automation: Test Installer::Products before and after InstallProduct, check product is not/is installed.
2007-05-21 12:38:55 +02:00
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
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
Benjamin Arai
4195697cc1
msi: Adds test to check "JOIN" operator with "*" operator for the SELECT clause returns the correct results.
2006-09-21 11:26:13 +02:00
Benjamin Arai
a35ff56580
msi: Adds test to check if basic "JOIN" operator without "WHERE" clause returns the correct results.
2006-09-21 11:26:05 +02:00
Benjamin Arai
f84c1463c1
msi: Adds test to check if "AND" operator returns the correct result for the "WHERE" clause.
2006-09-20 20:04:21 +02:00
Benjamin Arai
32d002c7ed
msi: Adds tests to check if joins return the correct number of rows.
2006-09-20 20:04:01 +02:00
Benjamin Arai
d4c6b06ed7
msi: Updates tests for joins to include row and column ids in message.
2006-09-20 20:03:54 +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
32ab895e46
makefiles: Generate the dependencies line to avoid some code duplication.
2006-09-14 09:38:16 +02:00
Mike McCormack
60d92d42a3
msi: Fix a couple of test cases for MsiDatabaseIsTablePersistent.
2006-09-13 12:19:54 +02:00
Mike McCormack
61c1dd2b32
msi: Add a test for ALTER TABLE.
2006-09-13 11:44:06 +02:00
Mike McCormack
b4005c15f0
msi: Fix database creation.
2006-09-13 11:43:11 +02:00
James Hawkins
bfc1b5c15f
msi: Add more join tests.
2006-09-13 11:36:54 +02:00
Alexandre Julliard
fc4cd637d9
tests: Moved some compatibility defines to wine/test.h.
2006-09-13 11:01:39 +02:00
Mike McCormack
74a6a1e71b
msi: Delete databases we create but never commit.
2006-09-13 10:58:42 +02:00
Mike McCormack
e1757fcad2
msi: Add some more tests for MsiOpenDatabase.
2006-09-12 11:01:25 +02:00
Mike McCormack
0fc2bd760c
msi: Add more tests for temporary columns.
2006-09-08 12:46:42 +02:00
Mike McCormack
77d3c59843
msi: Fix the TEMPORARY keyword for columns.
2006-09-08 12:46:32 +02:00
Mike McCormack
14ab62306c
msi: Add a test for MsiDatabaseIsTablePersistent.
2006-09-08 12:46:25 +02:00
James Hawkins
a302f03c65
msi: Allow non-key columns to be used with the join query.
2006-09-08 12:43:55 +02:00
James Hawkins
d8c13370b3
msi: Add tests for MSI SQL join queries.
2006-09-08 12:43:39 +02:00
James Hawkins
7e86590518
msi: Add more tests for the _Streams table.
2006-09-07 15:12:06 +02:00
James Hawkins
f6463dfacd
msi: Add many more MsiFormatRecord tests.
2006-09-07 13:58:22 +02:00
James Hawkins
16769b26b2
msi: Fix two MsiFormatRecord tests.
2006-09-07 13:58:07 +02:00
James Hawkins
ff6fe41df7
msi: Use the TargetPath of a file if the file doesn't exist in MsiFormatRecord.
2006-09-07 13:57:35 +02:00
James Hawkins
a248cc8f62
msi: Fix creation of the default format in MsiFormatRecord.
2006-09-07 13:57:24 +02:00
James Hawkins
ad2ec01739
msi: Add more tests for MsiFormatRecord.
2006-09-07 13:56:33 +02:00
Mike McCormack
d998543edb
msi: Add a short test for transforms.
2006-09-07 12:00:22 +02:00
Mike McCormack
12baa13ba5
msi: Make opening and closing 4000 handle into two tests, not 20000.
2006-09-07 12:00:00 +02:00
Mike McCormack
6991563d81
msi: Implement MsiDatabaseExport.
2006-09-07 11:01:07 +02:00
Mike McCormack
5699936cf1
msi: Make sure there's a value for each column when inserting data.
2006-09-07 11:00:40 +02:00
Mike McCormack
533833b4e1
msi: Validate database fields before inserting them.
2006-09-07 11:00:32 +02:00
Mike McCormack
6b4ada6f43
msi: Add a few more tests for MSI_NULL_INTEGER.
2006-09-07 11:00:16 +02:00
Mike McCormack
2924501a68
msi: Check that column names are unique when creating a table.
2006-09-07 10:57:45 +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
Dan Kegel
29f0803c02
msi: Remove limit on number of handles.
2006-08-28 17:49:31 +02:00
Dan Kegel
98ec9399c4
msi/tests: Add test to verify we can create 4000 msi handles.
2006-08-28 17:49:08 +02:00
Mike McCormack
5f832b2731
msi: Fix writing of long strings to the database.
2006-08-28 11:49:21 +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
Mike McCormack
b42f9df913
msi: Fix a couple of memory leaks in the test code.
2006-08-16 12:53:57 +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
Andrew Talbot
72ac6f5d4e
msi/tests: Write-strings warnings fix.
2006-08-02 22:04:00 +02:00
James Hawkins
91ec65d7f1
msi: Add tests for SQL query markers.
2006-08-02 11:45:26 +02:00
James Hawkins
f10365bb5d
msi: Don't crash if an empty record is given to MsiProcessMessage.
2006-08-02 11:44:55 +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
Andrew Talbot
81592e497b
msi/tests: Write-strings warnings fix.
2006-07-29 11:51:02 +02:00
James Hawkins
05bd17b8b7
msi: Add tests for MsiDatabaseImport.
2006-07-28 12:35:37 +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
Andrew Talbot
ccf7f0777a
msi/tests: Write-strings warning fix.
2006-07-28 12:33:01 +02:00
Mike McCormack
65d12c342d
msi: Fix the value of LONG integers in records (suggested by James Hawkins).
2006-07-27 11:57:12 +02:00
Mike McCormack
e12f2b36a3
msi: Remember to free a handle.
2006-07-27 11:57:00 +02:00
James Hawkins
75c866ed58
msi: Test the column types of MSI packages.
2006-07-27 11:43:33 +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
aff9f4c1ed
msi: Fix an off by one error in MsiRecordGetString.
2006-07-26 15:17:42 +02:00
Andrew Talbot
320da90632
msi/tests: Write-strings warnings fix.
2006-07-26 10:25:21 +02:00
Mike McCormack
1d46cdf11a
msi: Always load all the components.
2006-07-26 10:23:34 +02:00
Mike McCormack
4ab109e507
msi: Fix where queries on 32bit integer columns.
2006-07-25 11:22:43 +02:00
James Hawkins
8144e17169
msi: Add tests for the WHERE SQL clause.
2006-07-25 11:22:19 +02:00
Mike McCormack
bc673bff01
msi: Make MsiConfigureFeature a bit more robust.
2006-07-24 19:55:50 +02:00
Mike McCormack
a652e28517
msi: Add a test case for MsiGetFileHash.
2006-07-24 13:46:37 +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
Alexandre Julliard
0fa8baafcb
make_dlls: Recursively ignore .ok files in all tests directories.
2006-07-10 21:26:50 +02:00
Alexandre Julliard
edd100b899
make_dlls: Recursively ignore testlist.c in all tests directories.
2006-07-10 21:19:42 +02:00
Alexandre Julliard
cc2b3b48e6
Take advantage of the recursive nature of .gitignore for Makefile entries.
...
Prefix other entries with '/' to make them non-recursive.
2006-07-10 20:47:54 +02:00
Mike McCormack
ee3e058655
msi: Add a test for MsiGetComponentPath and make it pass.
2006-07-06 15:40:12 +02:00
Andrey Turkin
2ad04cae39
msi: Disable some path validity checks in MsiSetTargetPath.
2006-06-26 13:38:02 +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
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
James Hawkins
36bf71c174
msi: Add tests for MsiInstallProduct.
2006-06-15 18:05:53 +02:00
Mike McCormack
94dc36e5a6
msi: Add test for _Streams table (based on patch by Andrey Turkin).
2006-06-15 12:24:16 +02:00
Mike McCormack
863bc989b9
msi: Add a test for reading long strings.
2006-06-14 12:47:06 +02:00
Mike McCormack
2d323b3df8
msi: Add a test for creating a record with a long string.
2006-06-14 12:47:05 +02:00
Mike McCormack
d2dca89c52
msi: Add a test for MsiDatabaseExport.
2006-06-14 12:47:05 +02:00
Mike McCormack
a28ebdf7d4
msi: Add some more test cases for INSERT.
2006-06-12 16:04:31 +02:00
Mike McCormack
7f64332d11
msi: Add some more MsiFormatRecord tests.
2006-06-12 16:04:19 +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
Mike McCormack
53041d8f73
msi: Fix compilation on msvc6.
2006-06-12 16:03:05 +02:00
Mike McCormack
3c81969a55
msi: Remove an inconsistent test.
2006-06-12 16:02:53 +02:00
Mike McCormack
a302ec19bd
msi: Fix some test cases to pass against win2k.
2006-06-12 15:56:54 +02:00
Mike McCormack
bbbcc2a1be
msi: Add some test cases for "SELECT ... WHERE condition".
2006-06-12 13:21:47 +02:00
EA Durbin
4e66d4791c
msi/tests: Fixed a typo.
2006-06-07 14:19:52 +02:00
Huw Davies
f5c72fd202
msi: Add some integer condition tests.
2006-06-05 21:00:49 +02:00
Andrew Ziem
f1b449942f
msi: Increase verbosity in some failing tests.
2006-05-30 19:30:30 +02:00
Jonathan Ernst
360a3f9142
Update the address of the Free Software Foundation.
2006-05-23 14:11:13 +02:00
Francois Gouget
f7c24f37ad
Various trace fixes.
...
Add trailing '\n's to trace calls.
Remove spaces before '\n'.
2006-05-15 15:05:09 +02:00
Mike McCormack
a92fe55cce
msi: Fix some possible NULL pointer dereferences (Coverity).
2006-04-17 12:38:36 +02:00
Mike McCormack
8232e69492
msi: Add some more MsiFormatRecord tests.
2006-04-11 11:25:32 +02:00
Robert Shearman
d62aa01ec0
msi: Add a test for MsiFormatRecord with integer fields.
2006-03-20 12:01:43 +01:00
Mike McCormack
0b9960a1f9
msi: Make sure to run tests for MsiEvaluateCondition.
2006-03-09 12:50:48 +01:00
Bill Medland
b56ed22277
msi: Prevent array underflow in MsiFormat when measuring with zero-length buffer.
2005-12-21 21:19:47 +01:00
Alexandre Julliard
0ec7e1a591
Renamed all .cvsignore files to .gitignore.
2005-11-26 13:10:33 +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
5c63332b4f
Fix passing of NULL pointers to MsiDecomposeDescriptor and add a
...
test.
2005-11-09 10:59:20 +00:00
Saulius Krasuckas
056d96939b
Win9x returns MSIDBERROR_NOERROR.
2005-11-05 10:42:57 +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
94caa05d07
Improve MsiUseFeatureEx and MsiGetFeatureState a little, add some
...
simple test cases.
2005-10-31 14:07:20 +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
8e74308a10
Fix and test MsiViewGetColumnInfo and binary fields.
2005-09-28 11:59:40 +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
Mike McCormack
0867e48d5f
- fix MsiSummaryInfoGetProperty to return ERROR_MORE_DATA if the
...
buffer is too small (based on a patch by Aric Stewart)
- add a test case to show correct behaviour
2005-09-06 10:23:12 +00:00
Saulius Krasuckas
a9476d4edf
Older platforms choke on a NULL as the third parameter to
...
MsiViewGetError.
2005-09-06 09:21:08 +00:00
Mike McCormack
34247aff40
Test case for MsiModifyView and MsiViewGetError.
2005-08-24 11:10:39 +00:00
Stefan Huehner
ac6f562b52
Fix more -Wstrict-prototypes warnings.
2005-06-20 14:18:03 +00:00
Mike McCormack
b58a098a11
-Wmissing-declarations and -Wwrite-strings warning fixes.
2005-05-29 20:08:12 +00:00
Alexandre Julliard
f271224f44
Authors: Mike McCormack <mike@codeweavers.com>, Aric Stewart <aric@codeweavers.com>
...
Add format record tests.
2005-05-27 19:25:42 +00:00
Mike McCormack
018bc9a0cd
Test and fix the size of stream fields in a record.
2005-05-27 09:26:13 +00:00
Mike McCormack
d31f12964b
Only tables can be backquoted, strings must be single quoted.
2005-05-19 11:15:37 +00:00
Aric Stewart
41fbee0e83
Correct a missing MsiCloseHandle().
2005-05-07 12:12:56 +00:00
Mike McCormack
ae8c0ab55b
Test MsiSummaryInfoGetProperty reading an empty property.
2005-04-20 14:24:30 +00:00
Francois Gouget
3b36eee083
Add trailing '\n's to ok() calls.
2005-04-19 09:48:44 +00:00
Jakob Eriksson
4364d06821
Windows 98 doesn't like it when we delete the tempfile.
2005-03-22 18:16:53 +00:00
Aric Stewart
8760ed97f2
Test package creation.
2005-03-22 16:45:55 +00:00
Mike McCormack
4c20cc6f0f
- test cases for summary information
...
- fix memory leaks
2005-03-19 17:08:34 +00:00
Dmitry Timoshkov
dd1ba8a7d8
Remove a temporary msi database file.
2005-02-26 17:41:36 +00:00
Aric Stewart
e495e7e34c
Setting a record to an empty string is the same as making it null.
2005-01-31 11:30:59 +00:00
Mike McCormack
c04ce10bdd
Test different types of dodgy queries.
2005-01-27 10:43:27 +00:00
Mike McCormack
e5f2ed4c66
Fix MsiRecordSetString for NULL strings and update test case.
2005-01-26 20:39:54 +00:00
Mike McCormack
5af66fef43
Implement, test and document MsiDecomposeDescriptor.
2005-01-25 16:41:33 +00:00
Mike McCormack
5007de8b05
Fix and test inserting records.
2005-01-20 20:39:15 +00:00
Francois Gouget
87b0906789
Assorted spelling fixes.
2005-01-10 13:29:24 +00:00
Mike McCormack
921be0a87c
Implement MsiRecordSetStreamA/W and add tests for records containing
...
streams.
2005-01-09 18:24:15 +00:00
Mike McCormack
25c453aaf4
Add test for records.
2005-01-06 20:42:48 +00:00
Mike McCormack
23b291a642
Add a simple test case for MSI databases.
2005-01-05 13:26:34 +00:00