Hans Leidekker
f6c4f87d32
msi/tests: Fix some test failures on Windows 10.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-04 14:09:38 +01:00
Hans Leidekker
cfb10615e1
msi: Accept descriptors without component.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-10-25 11:54:08 +02:00
Piotr Caban
92defc736e
msi: Don't validate platform while checking if transform is applicable.
...
.Net2.0SP2 64-bit installer uses patches with INTEL platform in x64
package to update 32-bit parts of .Net. Native applies patch even if
platform is unknown.
Signed-off-by: Piotr Caban <piotr@codeweavers.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-07-14 22:10:31 +09:00
Andreas Maier
b947ff3b0f
msi/tests: Test for error control flag handling.
...
Signed-off-by: Andreas Maier <andy1.m@gmx.de>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-07 16:46:46 +09:00
Andreas Maier
62eb31d852
msi/tests: Delete TestService after testing.
...
Signed-off-by: Andreas Maier <andy1.m@gmx.de>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-06-07 16:46:25 +09:00
Andrey Gusev
8260eabb86
msi/tests: Fix a typo in comment.
...
Signed-off-by: Andrey Gusev <andrey.goosev@gmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-05-27 00:14:56 +09:00
Francois Gouget
50ab36ac97
msi/tests: Spelling fixes for some action and package ok() messages.
...
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-04-21 16:25:49 +09:00
Frédéric Delanoy
7ab2139191
msi/tests: Use todo_wine_if() in tests.
...
Signed-off-by: Frédéric Delanoy <frederic.delanoy@gmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-20 12:07:11 +09:00
Hans Leidekker
7b21373bf1
msi: Fix the CHAR column type.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-02-15 21:30:04 +09:00
Sergey Isakov
88a96478c3
msi/tests: Simplify the logic in an if condition.
...
Signed-off-by: Sergey Isakov <isakov-sl@bk.ru>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-27 20:53:22 +09:00
Hugh McMaster
11669fa5e2
Assorted spelling and grammar fixes.
...
Signed-off-by: Hugh McMaster <hugh.mcmaster@outlook.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-17 22:56:40 +09:00
Dmitry Timoshkov
2ee784e624
msi: Make sure to reset the 'in_quotes' state in all cases.
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-03 21:11:05 +09:00
Dmitry Timoshkov
2d7f00c8d3
Revert "msi: Correctly parse double quotes in the token value.".
...
This reverts commit 42caac841e
.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-11-03 21:10:59 +09:00
Nikolay Sivov
fe8ecc23aa
msi/tests: Add missing return value test (PVS-Studio).
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-28 12:45:04 +09:00
Nikolay Sivov
2257928a7a
msi: Use VARIANT_BOOL values consistently for VT_BOOL type (PVS-Studio).
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2015-10-21 21:19:51 +09:00
Dmitry Timoshkov
42caac841e
msi: Correctly parse double quotes in the token value.
...
This fixes an installer that passes to InstallProduct a command line like
PROPERTY1="Installing ""Product name"" version 8.0" PROPERTY2=1 PROPERTY3=1
In this case properties PROPERTY2 and PROPERTY3 were not recognized and that
led to an installation failure when a custom action didn't see them as set.
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
2015-10-06 22:59:38 +09:00
Dmitry Timoshkov
1b3087e79f
msi/tests: Add a test for MsiInstallProduct with command line containing double quotes inside of the property.
...
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
2015-10-06 22:59:32 +09:00
Hans Leidekker
9a5788afc1
msi: Set the PrimaryVolumeSpaceRequired and PrimaryVolumeSpaceRemaining properties.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
2015-10-01 16:23:15 +09:00
Hans Leidekker
100c043e89
msi/tests: Fix a test failure on Ultimate editions.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
2015-09-25 21:02:52 +02:00
Piotr Caban
f326e372d1
msi/tests: Fix MsiProvideQualifiedComponent test failure.
2015-09-14 16:19:27 +09:00
Piotr Caban
e8f4fea5a0
msi: Check HKLM/Software/Classes/Installer/Components path while looking for components.
2015-09-09 18:26:32 +09:00
Hans Leidekker
fca92ae67c
msi/tests: Avoid test failures when running as an unprivileged user.
2015-09-07 18:52:14 +09:00
Hans Leidekker
d3ce29449b
msi: Implement Installer::SummaryInformation.
2015-08-26 23:15:26 +09:00
Hans Leidekker
ddaba7a369
msi: Don't add the same environment string more than once.
2015-08-26 23:15:26 +09:00
Hans Leidekker
99dfc15e72
msi: Only remove environment strings that were added on install.
2015-08-18 17:30:17 +09:00
Hans Leidekker
7834983541
msi/tests: Mark a test result on win2k3 as broken.
2015-07-17 20:19:41 +09:00
Hans Leidekker
dfae842cca
msi/tests: Avoid another test failure on win2k3.
2015-07-15 23:19:32 +09:00
Hans Leidekker
b71075ad9b
msi/tests: Avoid test failures on win2k3.
2015-07-10 21:44:49 +09:00
Bernhard Übelacker
a1dbf4d78b
msi: Remove shortcut which calls RegEnumValueW with value and val_count as NULL.
2015-07-01 15:19:13 +09:00
Bernhard Übelacker
db5f235a8b
msi/tests: Test MsiSourceListEnumMediaDisks with volumeLabel and diskPrompt as NULL.
2015-07-01 15:19:09 +09:00
Hans Leidekker
597c5f9c4b
msi: Open database cabinet streams through the streams implementation.
2015-06-22 19:18:48 +09:00
Hans Leidekker
806ff30f92
msi/tests: Fix test failures on win2k3.
2015-06-22 19:17:50 +09:00
Frédéric Delanoy
f6a341c747
Assorted spelling/grammar fixes.
2015-03-27 22:29:48 +09:00
Hans Leidekker
fa23c7fcb3
msi: Handle errors from IStorage_CreateStream instead of trying to open the stream first in msi_commit_streams.
2015-03-17 00:19:51 +09:00
Hans Leidekker
0dba391d67
msi: Don't write streams to storage until the database is committed.
...
Native allows streams to be created with names that exceed the maximum
length allowed by OLE storages. These streams can be used normally, it's
just not possible to commit such a database.
2015-02-13 21:48:21 +09:00
Hans Leidekker
a884d98e99
msi: Add a partial implementation of MsiProvideComponent.
2015-01-21 18:08:10 +01:00
Akihiro Sagawa
cdf3c23645
msi: Open 32-bit component registry keys with KEY_WOW64_32KEY flag.
2015-01-19 14:20:10 +01:00
Hans Leidekker
2a8043aa6b
msi: Properly handle service control events in Start/StopService.
2014-12-02 13:07:16 +01:00
André Hentschel
1c3179b21b
msi/tests: Remove unused variables (Clang).
2014-12-02 10:31:14 +01:00
Michael Stefaniuc
f52983807e
msi/tests: Remove redundant if check (PVS-Studio).
2014-11-26 17:26:34 +01:00
Michael Stefaniuc
481ff775ca
msi: Simplify check for an empty string (PVS-Studio).
2014-11-05 19:37:10 +09:00
Hans Leidekker
7f57d8f19a
msi: Format registry values before interpreting value type.
2014-10-31 10:49:19 +09:00
Hans Leidekker
5709249986
msi: Return an error from MSI_GetComponentPath if the buffer is too small.
2014-09-01 21:10:12 +02:00
Hans Leidekker
04f9058a28
msi: Set the OutOfNoRbDiskSpace property.
2014-09-01 21:10:12 +02:00
Hans Leidekker
90f023a635
msi/tests: Make tests pass when running from the root directory.
2014-09-01 21:10:11 +02:00
Piotr Caban
de9f19df32
msi: Add more feature state tests.
2014-07-24 13:02:47 +02:00
Piotr Caban
331c86f124
msi: Don't publish features with non positive install level.
2014-07-24 13:02:42 +02:00
Akihiro Sagawa
0eed829f7f
msi/tests: Add CLSID registry tests for mixed package.
2014-07-21 18:42:45 +02:00
Akihiro Sagawa
5b76cd199a
msi/tests: Add non-existence value tests for mixed package.
2014-07-21 15:57:23 +02:00
Jérôme Gardou
70225a4de3
msi: Expand REG_EXPAND_SZ keys when resolving AppSearch entries.
2014-05-01 10:50:39 +02:00
Hans Leidekker
4c8edb1b4c
msi/tests: Fix a couple of memory leaks (valgrind).
2014-04-30 15:15:30 +02:00
Francois Gouget
f6ccfaa6f3
msi/tests: Update is_process_limited() to deal with non-administrator accounts.
2014-03-05 11:50:35 +01:00
Francois Gouget
38aa71b2c6
msi/tests: Skip some package tests if in a non-administrator, non-power user account.
2014-03-05 11:50:30 +01:00
Francois Gouget
601c5a1a68
msi/tests: Avoid msi test failures when running in an account with insufficient privileges.
2014-03-05 11:50:22 +01:00
Francois Gouget
65bacd4b69
msi/tests: Avoid source test failures when running in an account with insufficient privileges.
2014-03-05 11:50:02 +01:00
Francois Gouget
badff7c43a
msi/tests: Check that we have enough privileges to run the automation tests.
...
Note that we could have enough privileges to do the InstallProduct
tests, but not enough to clean up the registry after them, thus
causing later runs to fail. In that case we skip the tests.
2014-03-04 19:23:35 +01:00
Hans Leidekker
f525038142
msi: Remove the product reference when a shared component is unregistered.
2014-03-03 17:02:51 +01:00
Hans Leidekker
a547027b01
msi: Correctly [un]register progids when associated class and extensions change state.
2014-02-27 09:32:21 -06:00
Vincent Povirk
b4daf7a7f0
msi/tests: Add tests for [un]registering progids.
2014-02-26 11:12:25 -06:00
Hans Leidekker
1ae3bcc94d
msi: Don't install services without an image path.
...
Spotted by Aric Stewart.
2014-02-22 08:41:22 -06:00
Frédéric Delanoy
a06363669f
msi/tests: Use BOOL type where appropriate.
2014-01-06 17:15:14 +01:00
Alexandre Julliard
99ef0d6ff0
makefiles: Get rid of the MAKE_TEST_RULES variable.
2014-01-02 12:13:16 +01:00
Frédéric Delanoy
1d36b93f7e
msi/tests: Constify some character strings.
2013-12-27 14:31:52 +01:00
Frédéric Delanoy
5ba7f79bad
Assorted spelling fixes.
2013-12-03 19:41:53 +01:00
Frédéric Delanoy
ec1888b7d3
msi/tests: Use BOOL type where appropriate.
2013-10-29 10:22:01 +01:00
Hans Leidekker
1d124f8869
msi/tests: Compile with -D__WINESRC__.
2013-10-15 14:28:22 +02:00
Hans Leidekker
0354af649a
msi/tests: Prepare msi.c for the switch to -D__WINESRC__.
2013-10-15 14:28:22 +02:00
Hans Leidekker
07043df793
msi/tests: Prepare suminfo.c for the switch to -D__WINESRC__.
2013-10-15 14:28:21 +02:00
Hans Leidekker
2a70f1bde3
msi/tests: Prepare source.c for the switch to -D__WINESRC__.
2013-10-15 14:28:21 +02:00
Hans Leidekker
c3764ff014
msi/tests: Prepare record.c for the switch to -D__WINESRC__.
2013-10-15 14:28:21 +02:00
Hans Leidekker
8a97d08759
msi/tests: Prepare patch.c for the switch to -D__WINESRC__.
2013-10-15 14:28:21 +02:00
Hans Leidekker
4d236f1942
msi/tests: Prepare package.c for the switch to -D__WINESRC__.
2013-10-15 14:28:21 +02:00
Hans Leidekker
e243979c4f
msi/tests: Prepare install.c for the switch to -D__WINESRC__.
2013-10-15 14:28:21 +02:00
Hans Leidekker
569d04cd7b
msi/tests: Prepare format.c for the switch to -D__WINESRC__.
2013-10-15 14:28:21 +02:00
Hans Leidekker
f1498d7736
msi/tests: Prepare db.c for the switch to -D__WINESRC__.
2013-10-15 14:28:21 +02:00
Hans Leidekker
ae5c7c2a18
msi/tests: Prepare automation.c for the switch to -D__WINESRC__.
2013-10-15 14:28:21 +02:00
Hans Leidekker
0e8b5ac54a
msi/tests: Prepare action.c for the switch to -D__WINESRC__.
2013-10-15 14:28:21 +02:00
Frédéric Delanoy
e21abfe07a
msi/tests: Use BOOL type where appropriate.
2013-10-08 09:09:18 +02:00
Michael Stefaniuc
0e681027a2
tests: Compile the tests by default with -D__WINESRC__.
2013-10-02 11:04:02 +02:00
Hans Leidekker
407584fd3e
msi/tests: Avoid test failures caused by broken MsiGetFileVersionA.
2013-06-18 20:33:42 +02:00
Hans Leidekker
edee379d81
msi/tests: Move some more tests and remove a useless test.
2013-06-11 18:07:44 +02:00
Hans Leidekker
b82a5ab27a
msi/tests: Move some tests around to avoid timeouts on the testbot.
2013-06-10 19:30:54 +02:00
Hans Leidekker
10975967df
msi: Set the PrimaryVolumePath and PrimaryVolumeSpaceAvailable properties.
2013-05-09 19:24:16 +02:00
Francois Gouget
d5fc4ce772
msi/tests: Add a trailing '\n' to an ok() call and fix a typo.
2013-05-02 18:52:14 +02:00
Christian Costa
7129293b9a
msi: Use next cabinet from the media table instead of failing when there is a mismatch with continuous cabinet.
2013-05-01 19:30:28 +02:00
Christian Costa
e249b93092
msi: Add tests to show that only msi cab filename is taken in case of mismatch with the one given by previous cab.
2013-05-01 19:30:24 +02:00
Hans Leidekker
9779c4b5ea
msi/tests: Move a couple of tests from install.c to msi.c.
2013-02-13 16:13:54 +01:00
Hans Leidekker
07be9f0585
msi: Improve parsing of the supported platforms string.
2013-01-31 16:32:50 +01:00
Hans Leidekker
d4e9b2cd0f
msi: Fix the return value of MsiGetFileVersion for some corner cases.
2013-01-31 16:32:47 +01:00
Hans Leidekker
a248f4f001
msi: Set the OriginalDatabase property after applying transforms, not before.
2013-01-21 16:27:41 +01:00
Hans Leidekker
5891ce25e5
msi: Implement MsiQueryFeatureStateExA/W.
2013-01-09 17:39:33 +01:00
Hans Leidekker
61db36556a
msi: Fix a test failure on Windows 8 and conform to the more recent behavior.
2012-12-19 14:38:58 +01:00
Hans Leidekker
7d3f903db1
msi: Fix handling of REG_MULTI_SZ values in the WriteRegistryValues action.
2012-11-05 17:44:18 +01:00
Hans Leidekker
af08a2f6ba
msi: Pass string length to msi_set_property in ACTION_CustomAction.
2012-10-29 14:41:55 +01:00
Hans Leidekker
652863f4d5
msi: Add more tests for embedded nulls in string property values.
2012-10-29 14:40:31 +01:00
Hans Leidekker
a1c4d2c977
msi: Add a test for embedded nulls in string property values.
2012-10-29 14:40:18 +01:00
André Hentschel
1e361aa8cb
msi/tests: Make multiline macros blocks (coverity).
2012-10-24 11:33:00 +02:00
Michael Stefaniuc
5974e9d120
msi/tests: Avoid a TRUE:FALSE conditional expression.
2012-08-15 12:12:49 +02:00
Hans Leidekker
f180de40dd
msi: Implement the RemoveExistingProducts standard action.
2012-07-31 18:01:54 +02:00
Detlef Riekenberg
a7e1b7c6ea
msi/tests: Use always static binding for GetTokenInformation.
2012-07-27 17:05:20 +02:00