Detlef Riekenberg
03ff6ba641
msi/tests: Fix a copy & paste typo in a test message.
2009-03-30 17:51:03 +02:00
Detlef Riekenberg
36dbb69b66
msi/tests: Verify path names case insensitively.
2009-03-30 15:09:00 +02:00
Hans Leidekker
4365b34838
msi: Allocate token information buffer dynamically.
2009-03-27 15:51:26 +01:00
Hans Leidekker
f0d1d61d3b
msi: Add tests for MsiEnumProducts.
2009-03-27 15:51:26 +01:00
Hans Leidekker
9163b0d0a3
msi: Enumerate products from all contexts.
...
Fix for office 2007 proofing tools installer.
2009-03-27 15:51:26 +01:00
Alexandre Julliard
836d9af1be
msi/tests: Avoid size_t in traces.
2009-03-26 14:01:26 +01:00
Hans Leidekker
c2221f325f
msi: Add some tests for MsiQueryFeatureState.
...
These tests confirm that a feature is reported as advertised if only
one of its components is missing.
2009-03-25 15:02:37 +01:00
James Hawkins
5e62686a0f
msi: Handle a NULL and empty szPackagePath in MsiInstallProduct (Coverity 181).
2009-03-23 15:52:18 +01:00
James Hawkins
fb8db0ac13
msi: Don't try to release a NULL record, with tests (Coverity 536).
2009-03-23 15:52:17 +01:00
James Hawkins
cb958cd773
msi: Test and handle the case where the SourceList key does not exist and the PackageName value does not exist in MsiGetProductInfo.
2009-03-23 15:52:17 +01:00
James Hawkins
dc50773c28
msi: Factor out the MsiEnumPatchesEx tests and test the NULL szUserSid and an szUserSid that is different from the current user.
2009-03-23 15:52:17 +01:00
Aric Stewart
39600d9d2e
msi: Reorder the condition operators so that longer strings are matched first.
...
This allows ~<< to be properly matched.
2009-03-23 15:26:02 +01:00
Paul Vriens
7a8000d4e8
msi/tests: Fix a test for systems with %TEMP% being less than 2 levels deep.
2009-03-12 14:29:56 +01:00
Hans Leidekker
40cfbaf023
msi: Fix handling of REINSTALL overrides.
...
We were forcing features with a REINSTALL override to be reinstalled
locally, which is only correct if the original install state is local.
This causes problems with the office 2007 sp1 installer, which applies
a REINSTALL override to an advertised feature.
2009-03-12 14:29:56 +01:00
Paul Vriens
fca2626768
msi/tests: Fix a test failure on Win95.
2009-03-03 12:36:25 +01:00
James Hawkins
9540d762ad
msi: Handle reading from a NULL stream.
2009-03-02 12:06:37 +01:00
James Hawkins
2f1eacfcad
msi: Don't treat carriage returns as spaces.
2009-03-02 12:06:30 +01:00
James Hawkins
7f3faffc3b
msi: Don't allow nested quotes in SQL queries.
2009-03-02 12:06:24 +01:00
James Hawkins
e821f9d724
msi: Add missing calls to MsiViewClose.
2009-03-02 12:06:18 +01:00
James Hawkins
046bcc918c
msi: The PATH environment variable can be longer than MAX_PATH, so dynamically allocate strings to deal with that.
2009-03-02 12:05:57 +01:00
James Hawkins
37c5e04010
msi: The _Streams and _Storages table are special and always exist.
2009-03-02 12:05:45 +01:00
James Hawkins
c9b3bc1165
msi: Column attributes for temporary string and int columns should be g and j respectively.
2009-03-02 12:05:28 +01:00
James Hawkins
c07b554edc
msi: Order primary keys to be first in the column list when creating a table.
2009-03-02 12:05:09 +01:00
James Hawkins
b3c9875cf7
msi: Correctly order transposed column values in the INSERT query.
2009-03-02 12:04:57 +01:00
Hans Leidekker
148ef5f485
msi: Add reinstall tests.
...
Based on a patch by Aric Stewart.
2009-02-26 15:13:25 +01:00
James Hawkins
b55c031032
msi: Fix a failing test on win9x.
2009-02-26 12:14:19 +01:00
James Hawkins
a7d5adc91f
msi: Trace the username to help debug test failures on certain machines.
2009-02-26 12:14:13 +01:00
James Hawkins
5735e2fafd
msi: Fix a failing test on win9x.
2009-02-26 12:14:08 +01:00
James Hawkins
ea28915133
msi: Don't create a temporary table that is not held.
2009-02-26 12:14:01 +01:00
James Hawkins
241933e13c
msi: A non-temporary table cannot have a temporary primary key.
2009-02-26 12:13:57 +01:00
James Hawkins
74aa053485
msi: The _Tables and _Columns tables have no persistence attribute.
2009-02-26 12:13:52 +01:00
James Hawkins
2f8c2a8d41
msi: Make sure the view being updated is the same view the record was fetched from.
2009-02-26 12:13:49 +01:00
James Hawkins
e872681af7
msi: Set field zero to the name of the table containing the primary keys.
2009-02-26 12:13:44 +01:00
James Hawkins
7d7f14c101
msi: Add tests for field zero of a record.
2009-02-26 12:13:10 +01:00
James Hawkins
60ad75eade
msi: Make sure a constant string's quotes match up.
2009-02-26 12:13:02 +01:00
Alexandre Julliard
b5ac29a73d
msi/tests: Add some tests for MsiEnumPatchesW, fix a few failures on XP.
2009-02-25 16:06:21 +01:00
Alasdair Sinclair
0bd6da81c5
msi/tests: Fix missing void in empty parameter list.
2009-01-29 12:19:44 +01:00
Nikolay Sivov
9598a50916
msi: Fix NULL dereference in MsiQueryComponentStateW (Coverity).
2009-01-26 15:48:57 +01:00
Ge van Geldorp
78457300aa
msi/tests: EstimatedSize is not set consistently between Windows Installer versions.
2009-01-20 14:02:43 +01:00
Ge van Geldorp
3355f3d66f
msi/tests: Double nul-terminate REG_MULTI_SZ values.
2009-01-19 14:18:04 +01:00
Ge van Geldorp
349d8bd1a1
msi/tests: Windows Installer 3.0 often returns ERROR_INVALID_PARAMETER.
2009-01-19 14:17:57 +01:00
Andrew Nguyen
6d75522fb4
msi/tests: Fix a few handle leaks.
...
This was pointed out by Christoph von Wittich.
2009-01-19 13:36:27 +01:00
Michael Stefaniuc
9975dcd19e
msi/tests: Remove superfluous pointer casts.
2009-01-15 12:42:57 +01:00
Michael Stefaniuc
602f42c25f
include: Change to LONG/ULONG in fci.h for Win64 compatibility.
2009-01-14 12:21:13 +01:00
Ge van Geldorp
f9f2e91198
msi/tests: Opening package with relative filename sometimes succeeds on Windows.
2009-01-12 14:34:51 +01:00
Alexandre Julliard
35811a9078
msi/tests: Use CreateFile instead of OpenFile to avoid handle casts.
2009-01-08 13:05:27 +01:00
Paul Vriens
bb7efb1deb
msi/tests: Skip some tests if we don't have enough rights.
2009-01-08 12:40:26 +01:00
Michael Stefaniuc
6bd893a960
msi: Change MSIHANDLE to ULONG for Win64 compatibility.
...
Also fix the compiler warnings produced by this change.
2009-01-05 12:34:12 +01:00
Alexandre Julliard
ddc34141cd
msi/tests: Fix pointer casting warnings on 64-bit.
2009-01-03 20:13:45 +01:00
Alexandre Julliard
3e7ac7ea2e
msi/tests: Add CDECL to the cabinet callback functions.
2009-01-03 20:12:49 +01:00
Alexandre Julliard
2a5cf54f05
msi/tests: Avoid sizeof in traces.
2008-12-20 13:32:59 +01:00
Aric Stewart
17ffb562aa
msi: Fix some NULL checking in MSI_RecordGetStringA.
...
Includes a few record tests with a NULL buffer.
2008-12-18 14:19:40 +01:00
Paul Vriens
017fee4aa0
msi/tests: Run tests again on Win9x and NT4.
2008-12-16 12:51:20 +01:00
James Hawkins
0ccb714470
msi: Add tests for MsiGetPatchInfo.
2008-12-15 12:36:00 +01:00
Francois Gouget
0d7cb11fdf
msi/tests: Make enum_stream_names() and package_RegDeleteTreeW() static.
2008-12-15 12:25:48 +01:00
Paul Vriens
194c053021
msi/tests: Skip tests on win9x due to different registry keys.
2008-12-11 11:50:12 +01:00
Paul Vriens
732c1e8d31
msi/tests: Run tests again on Win9x and NT4.
2008-12-10 10:48:05 +01:00
James Hawkins
dfb8b664d6
msi: Add tests for MsiGetProductProperty.
2008-12-09 11:24:19 +01:00
James Hawkins
61c94d281a
msi: Add tests for MsiEnumPatches.
2008-12-09 11:24:04 +01:00
James Hawkins
947c4c312a
msi: Add tests for MsiEnumPatchesEx.
2008-12-09 10:25:47 +01:00
Paul Vriens
3c533397e9
msi/tests: Skip tests on win9x by checking functionality instead of registry keys.
2008-11-17 13:16:08 +01:00
Paul Vriens
1dba41b104
msi/tests: Skip some tests on Win9x and WinMe.
2008-11-13 15:41:30 +01:00
Paul Vriens
b4874a8921
msi/tests: Fix some test failures on Win9x and WinMe.
2008-11-11 14:06:49 +01:00
James Hawkins
f12b9cea99
msi: Factor out the table insertion code.
2008-11-04 11:23:30 +01:00
James Hawkins
2abb8bba13
msi: Factor out the table insertion code.
2008-11-04 11:23:07 +01:00
James Hawkins
88f39d95f2
msi: Factor out the table insertion code.
2008-11-04 11:22:45 +01:00
Michael Stefaniuc
4f199a10ad
Remove the remaining casts of NULL.
2008-11-03 13:42:09 +01:00
James Hawkins
ca71e5aff0
msi: Allow private properties from the AdminProperties property list.
2008-10-30 11:47:10 +01:00
Nicolas Le Cam
cec5d3f514
msi/tests: Fix a failing test on all platforms up to and including win2k.
2008-10-28 12:13:53 +01:00
James Hawkins
2ffa433f80
msi: Convert command line property names to uppercase.
2008-10-27 12:02:13 +01:00
James Hawkins
7616a750ba
msi: Set the source path tests to "interactive" to avoid timing out on some machines.
2008-10-27 12:01:57 +01:00
James Hawkins
cd4b952863
msi: Fix several test failures.
2008-10-24 14:25:01 +02:00
James Hawkins
acfc915914
msi: Fix a failing test in win9x.
2008-10-24 14:25:01 +02:00
James Hawkins
03282df13d
msi: Use the quoted part of the registry value when searching for a file or directory.
2008-10-20 13:16:24 +02:00
James Hawkins
6df69c6aaa
msi: Fix a copy and paste error.
2008-10-20 13:16:09 +02:00
James Hawkins
7eba78dc7e
msi: Strip the file off the parent path if it's not a directory.
2008-10-20 13:16:04 +02:00
James Hawkins
0ed516908b
msi: Only check the file signature if the candidate file is not a directory.
2008-10-20 13:15:36 +02:00
James Hawkins
1fb22654e4
msi: Append the next directory to search to the current directory when recursing.
2008-10-20 13:11:14 +02:00
James Hawkins
4aca381ff7
msi: Only append a backslash to directories.
2008-10-20 13:10:59 +02:00
James Hawkins
7497f1ab5c
msi: Don't get rid of the file signature when searching the DrLocator table.
2008-10-20 13:10:54 +02:00
James Hawkins
29c0836fcc
msi: Handle searching for directories in the IniLocator part of the AppSearch action.
2008-10-20 13:10:44 +02:00
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
f80b5f6e66
msi: All files are uncompressed in an administrative image.
2008-10-17 11:44:21 +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
Alexandre Julliard
87e21fe585
msi/tests: Clean up the binary.dat file.
2008-10-09 14:27:21 +02:00
James Hawkins
f03889ae82
msi: Add initial implementation of MsiDatabaseMerge, with tests.
2008-10-09 12:58:25 +02:00
James Hawkins
c9ec69db02
msi: Add tests for converting record fields between strings and ints.
2008-10-09 12:58:12 +02:00
James Hawkins
7cd6736886
msi: Add tests for dropping tables with multiple columns.
2008-10-07 12:13:52 +02:00
James Hawkins
d15fddf6f5
msi: Resolve file source paths dynamically, as the source directory can be changed.
2008-10-07 12:13:33 +02:00
James Hawkins
62c544cf4f
msi: Implement the DROP TABLE sql command.
2008-10-06 13:05:52 +02:00
James Hawkins
48e6e584d3
msi: Fix a test that fails in win95.
2008-10-01 11:41:34 -05:00
James Hawkins
3713720351
msi: Fix several test failures in win9x.
2008-09-29 17:24:17 -05:00
Marcus Meissner
dd142bf5a7
msi/tests: Fix explicit C:\\Program Files\\ references.
2008-09-29 17:23:42 -05:00
Marcus Meissner
67b06ecba5
msi/tests: Reduce buffer to size of string written.
2008-09-15 11:43:53 +02:00
Paul Vriens
2dfcb94211
msi/tests: Prevent a crash on NT4.
2008-09-15 11:23:42 +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
d11968cade
msi: Fix a few file access discrepancies between platforms.
2008-09-09 11:46:17 +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
James Hawkins
e5fd83da6d
msi: Fix a failing test in Vista.
2008-09-03 13:14:51 +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
f40890c940
msi: Add tests for opening an empty package.
2008-08-29 13:26:33 +02:00
James Hawkins
d880470dbf
msi: Handle converting a value of REG_DWORD in MsiSourceListEnumMediaDisks.
2008-08-29 13:26:25 +02:00
Paul Vriens
dd0ec9f811
msi/tests: Remove service tests.
2008-08-28 11:03:42 +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
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
39b874706c
msi: Handle components installed as source in MsiQueryComponentState.
2008-08-21 11:44:05 +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
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
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
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
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
68e6be45e1
msi: Add tests for MsiOpenProduct.
2008-07-31 13:04:44 +02:00
James Hawkins
dfec94c157
msi: Add tests for MsiConfigureProductEx.
2008-07-29 12:20:11 +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
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
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