Chris Schafer
350cdd2fe5
msi/tests: Remove some barriers to running msi tests in parallel.
2009-12-11 17:47:30 +01:00
Hans Leidekker
394a437723
msi/tests: Free the string returned from ConvertSidToStringSid.
...
Found by valgrind.
2009-10-23 12:04:06 +02:00
Hans Leidekker
483590a3c5
msi/tests: Avoid accessing uninitialized memory.
...
Found by valgrind.
2009-10-23 12:04:00 +02:00
Hans Leidekker
55b89f4a66
msi: Add some tests for MsiGetTargetPathW.
2009-10-15 14:16:57 +02:00
Paul Vriens
c6e7558cda
msi/tests: Fix some test failures on Vista/W2K8.
2009-09-22 16:15:36 +02:00
Ge van Geldorp
167ef04727
msi/tests: Create only a single restore point.
2009-08-28 16:48:27 +02:00
Hans Leidekker
f9e33e9af6
msi/tests: Ignore case when comparing file names.
2009-06-04 12:18:20 +02:00
Hans Leidekker
761736e6aa
msi: Add more tests for MsiGetSourcePath.
2009-06-04 12:18:15 +02:00
Hans Leidekker
d02dbf4492
msi: Initialize some variables.
2009-06-04 12:18:04 +02:00
Paul Vriens
db355b4903
msi/tests: Remove unused variable.
2009-05-28 12:42:17 +02:00
Paul Vriens
45c00da496
msi/tests: Prevent crash when ConvertSidToStringSidA is not available.
2009-05-27 15:40:30 +02:00
Francois Gouget
623dad0963
msi/tests: Tweak the get_user_sid() functions to simplify their use.
...
Now the function deals with all errors and win_skips() itself.
2009-05-26 14:10:27 +02:00
Hans Leidekker
0d8a826ef5
msi: Reject NULL or empty patch package parameter in MsiApplyPatch.
2009-05-06 16:09:55 +02:00
Detlef Riekenberg
a31e9a1bfa
msi/tests: Run tests again with older msi versions (MsiApplyMultiplePatchesA).
2009-05-05 11:33:52 +02:00
Nicolas Le Cam
2f37672225
msi/tests: Fix MsiApplyMultiplePatches tests on Windows.
2009-05-04 12:51:01 +02:00
Hans Leidekker
b4b8bc830f
msi: Implement MsiApplyMultiplePatchesA/W.
2009-05-01 16:19:39 +02:00
Nicolas Le Cam
8b348fca27
msi/tests: Fix package test when run on a different drive than C:\.
2009-04-23 18:14:25 +02:00
Nicolas Le Cam
b91fc465ff
msi: Fix ACTION_AppSearchDr on empty path.
2009-04-23 18:14:25 +02:00
Nicolas Le Cam
34202629c9
msi/tests: Add empty dir test for the DrLocator part of the AppSearch action.
2009-04-23 18:14:25 +02: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
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
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
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
Hans Leidekker
148ef5f485
msi: Add reinstall tests.
...
Based on a patch by Aric Stewart.
2009-02-26 15:13:25 +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
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
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
James Hawkins
dfb8b664d6
msi: Add tests for MsiGetProductProperty.
2008-12-09 11:24:19 +01:00
James Hawkins
88f39d95f2
msi: Factor out the table insertion code.
2008-11-04 11:22:45 +01:00
James Hawkins
cd4b952863
msi: Fix several test failures.
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
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