Zebediah Figura
52fbaeb2c4
msi: Add support for ActionText table.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-08-08 20:58:09 +09:00
Zebediah Figura
700ebc86a9
msi: Return the correct values from dialogs.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-08-08 20:57:51 +09:00
Zebediah Figura
77e3d3372f
msi: Use MsiProcessMessage() to send error messages.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-08-08 20:55:59 +09:00
Francois Gouget
5e7b8891fc
msi/tests: Add a trailing linefeed to a couple of ok() calls.
...
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-08-08 20:53:08 +09:00
Zebediah Figura
8826584b1d
msi: Process ShowDialog/EndDialog after all other control events.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-21 14:53:34 +02:00
Zebediah Figura
b4c39f4e7c
msi: Avoid a null pointer dereference.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-21 14:52:57 +02:00
Zebediah Figura
e76b42c096
msi/tests: Use static linking for a couple functions.
...
These are available on all of the test machines.
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-21 14:52:49 +02:00
Zebediah Figura
51bd884384
msi: Properly parse empty format strings.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-11 18:26:03 +02:00
Zebediah Figura
16f0dffd01
msi: Return the correct values from custom actions.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-11 18:26:01 +02:00
Zebediah Figura
c788ed858e
msi: Provide the result of the last action.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-10 20:51:09 +02:00
Zebediah Figura
1505912ce1
msi: Allow setting NULL in MsiSetInteger().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-10 20:51:09 +02:00
Zebediah Figura
f9f53fe624
msi: Correctly format the template field for MsiProcessMessage().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-10 20:51:08 +02:00
Zebediah Figura
3033daec11
msi: Implement UI messages for dialogs.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-07 13:01:26 +02:00
Zebediah Figura
48237e249b
msi: Add a basic internal UI implementation.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-06 18:51:18 +02:00
Zebediah Figura
c83b8e0a16
msi/tests: Work around test failures on Windows.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-06 18:51:05 +02:00
Francois Gouget
e2e94d1c93
msi/tests: Add a trailing linefeed to an ok() call.
...
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-07-06 18:50:47 +02:00
Zebediah Figura
9032279c72
msi: Implement UI messages in MsiOpenPackage().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-27 11:27:48 +02:00
Zebediah Figura
bcc4a04754
msi: Implement INSTALLMESSAGE_INITIALIZE and INSTALLMESSAGE_TERMINATE.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-27 11:27:48 +02:00
Zebediah Figura
a388906a1a
msi: Send the correct UI messages upon calling MsiDoAction().
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-27 11:27:48 +02:00
Zebediah Figura
358ed0d836
msi/tests: Add tests for external UI callback.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-27 11:27:48 +02:00
Zebediah Figura
20b33b8009
msi/tests: Add another test for MsiProcessMessage.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-26 11:12:53 +02:00
Zebediah Figura
4e49ae3cc6
msi: Pass the given record to the callback.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-19 12:04:38 +02:00
Zebediah Figura
df31a7c1ec
msi: Store string and record callback data separately.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-19 12:04:34 +02:00
Zebediah Figura
cef67993c5
msi: Use an external UI record handler before a string handler.
...
Signed-off-by: Zebediah Figura <z.figura12@gmail.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-06-19 12:04:28 +02:00
Hans Leidekker
f3adb4a17a
msi: Properly handle DWORD registry values in MsiGetPatchInfoEx.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-19 20:02:54 +02:00
Hans Leidekker
d94653d0eb
msi: Apply feature selection to the whole feature subtree.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-04-19 20:02:54 +02:00
Huw Davies
582245b5c4
msi/tests: Clean up the registry in the correct order.
...
Signed-off-by: Huw Davies <huw@codeweavers.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-21 20:52:04 +01:00
Hans Leidekker
64c0625f25
msi: Implement MsiGetComponentPathExA/W.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-03-03 13:23:24 +01:00
Francois Gouget
f0a5b13980
msi/tests: A spelling fix in a variable name.
...
Signed-off-by: Francois Gouget <fgouget@free.fr>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2017-01-10 19:19:14 +01:00
Nikolay Sivov
f5e4dad68c
msi: Fix handling of NULL buffer in MsiGetProductPropertyW() (Coverity).
...
Signed-off-by: Nikolay Sivov <nsivov@codeweavers.com>
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-12-12 19:14:20 +01:00
Hans Leidekker
d17d54e16d
msi: Properly remove the product code from the ugrade codes key.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-04 14:10:08 +01:00
Hans Leidekker
6eae08774c
msi/tests: Fix a typo in test data.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-04 14:09:56 +01:00
Hans Leidekker
6f463db5b0
msi/tests: Properly clean up test services.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-04 14:09:45 +01:00
Hans Leidekker
dea323dcec
msi: Handle descriptors without component in MsiProvideQualifiedComponentEx.
...
Signed-off-by: Hans Leidekker <hans@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
2016-11-04 14:09:43 +01:00
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
Hans Leidekker
cbd83d0307
msi/tests: Mark some test results as broken.
2012-07-16 19:34:40 +02:00
Francois Gouget
7f0cfac5cc
msi/tests: Get rid of unneeded function typedefs.
2012-06-15 18:35:37 +02:00
Hans Leidekker
f6f1bfd6fb
msi/tests: Use only uppercase characters for the PID_REVNUMBER property.
2012-06-12 10:21:55 +02:00
Hans Leidekker
0ed61000d3
msi: Support registry key names that exceed 255 characters.
2012-06-11 21:03:48 +02:00
Hans Leidekker
f0ea60049c
msi: Add support for 64-bit registry components.
2012-06-11 21:03:47 +02:00
Hans Leidekker
e16bcda486
msi: Don't create empty values for special registry entries.
2012-05-31 12:37:22 +02:00
Hans Leidekker
c959e38625
msi: Don't terminate the string in msi_id2stringA.
...
This makes sure that the last string can be fully written when saving the
string table.
2012-05-31 12:37:22 +02:00
Michael Stefaniuc
49add07795
msi/tests: Test the correct return values.
2012-05-17 10:18:11 +02:00
Alexandre Julliard
720a37d778
msi/tests: Skip MsiEnumProductsEx tests if not supported.
2012-05-03 23:31:43 +02:00
Hans Leidekker
fde66de6a5
msi: Don't free cached tables in MsiDatabaseCommit.
2012-04-26 19:26:37 +02:00
Hans Leidekker
2b9be70975
msi/tests: Fix some leaks.
2012-04-20 11:59:39 +02:00
Hans Leidekker
2e51464e4d
msi/tests: Add a test for MsiEnumProductsEx.
2012-04-20 11:59:35 +02:00
Hans Leidekker
fc73c9db0a
msi: Fix install state detection for registry components.
2012-04-20 11:59:26 +02:00
Robert van Herk
f87c4a36dd
msi: Fixed MsiGetFileHashW for empty files.
2012-04-06 20:40:59 +02:00
Hans Leidekker
15ee85dee8
msi: Implement MsiGet/SetMode(MSIRUNMODE_REBOOTNOW).
2012-04-02 13:30:36 +02:00
Hans Leidekker
f01cd3a36d
msi/tests: Add tests for MsiEnumComponents and MsiEnumComponentsEx.
2012-04-02 12:34:38 +02:00
Hans Leidekker
ccad8e9d80
msi/tests: Reduce code duplication in the feature/component state tests.
2012-03-28 19:05:02 +02:00
Hans Leidekker
3f1e3008ea
msi: Clear the cert pointer in MsiGetFileSignatureInformation.
2012-03-28 17:37:44 +02:00
Hans Leidekker
d351a9999e
msi: Also set the Intel property on 64-bit processors.
2012-03-28 17:37:41 +02:00
Andoni Morales Alastruey
342fcb6198
msi: Implement MSIMODIFY_MERGE function in TABLE_modify.
2012-03-28 11:44:52 +02:00
Hans Leidekker
280af52666
msi: Mask off modifiers before setting the UILevel property.
...
Spotted by Aric Stewart.
2012-03-26 18:15:03 +02:00
Hans Leidekker
c98bf1b57b
msi: Fix deleting services on installation.
...
Based on a patch by Berhard Loos.
2012-03-13 13:30:11 +01:00
Hans Leidekker
a4c20dc437
msi: Implement MsiEnumProductsEx.
2012-03-12 16:37:23 +01:00
Hans Leidekker
9336c10619
msi: Make sure target paths are normalized.
...
Fix for the Lotus Notes 6.5.1 installer.
2012-01-18 16:25:21 +01:00
Nikolay Sivov
576aa0e6d0
msi: Use data table for dispid tests.
2012-01-16 13:13:23 +01:00
Hans Leidekker
bc801f85be
msi: Set the SourceDir and SOURCEDIR properties in MsiGetSourcePath.
2012-01-16 12:45:34 +01:00
Hans Leidekker
4def593456
msi: Accept a missing left backquote in SQL identifiers.
2012-01-03 18:07:08 +01:00
Hans Leidekker
ca49aae61e
msi: Fix handling of single quoted column names in SELECT queries.
2011-12-23 15:12:18 +01:00
Hans Leidekker
75242afefd
msi/tests: Try harder to remove a shortcut file.
2011-12-06 15:51:01 +01:00
Hans Leidekker
5266f34c3c
msi: Set the ComputerName property.
2011-11-01 12:13:46 +01:00
Hans Leidekker
392bd2b7a2
msi/tests: Fix a skip message.
2011-10-27 14:21:31 +02:00
Hans Leidekker
841a747409
msi/tests: Fix some test failures on win2k.
2011-10-27 14:21:27 +02:00
Hans Leidekker
5ea1caa69e
msi/tests: Properly preserve pending file renames.
2011-09-27 16:24:26 +02:00
Francois Gouget
d2084d5a41
msi/tests: Avoid #if 0 to make sure code still compiles.
2011-09-27 10:58:52 +02:00
Hans Leidekker
6ae7061645
msi: Improve parsing of the package platform.
2011-09-15 15:41:42 +02:00
Bernhard Loos
dc16dd1351
msi: The underlying tables might have changed, so it's not possible to cache the result of the execute.
2011-09-12 17:45:28 +02:00
Hans Leidekker
79e71d543f
msi/tests: Fix some test messages.
2011-09-09 13:37:03 +02:00
Hans Leidekker
9562b61bc4
msi/test: Mark some test results as broken.
2011-09-09 13:36:57 +02:00
Hans Leidekker
eaf8848d0d
msi/tests: Fix a number of test messages.
2011-09-05 17:17:32 +02:00
Bernhard Loos
a52c2bf941
msi: Make WHEREVIEW able to deal directly with multiple tables.
2011-08-26 13:33:44 +02:00
Hans Leidekker
d7952d8a24
msi/tests: Skip a test if the process is limited.
2011-08-24 12:14:46 +02:00
Hans Leidekker
0dec906d61
msi/tests: Accept one more estimated size.
2011-08-24 12:14:46 +02:00
Hans Leidekker
fabfc5da78
msi/tests: Clean up local packages.
2011-08-23 16:53:56 +02:00
Hans Leidekker
eb7ae99ddb
msi: Remove icons when the product is uninstalled.
2011-08-23 16:53:56 +02:00
Hans Leidekker
763e2f3edc
msi/tests: Use a package code that is different from the product code.
2011-08-23 16:53:56 +02:00
Frédéric Delanoy
760faf01a9
tests: Assorted spelling fixes.
2011-08-04 18:27:37 +02:00
Bernhard Loos
20bdf059ab
msi: MsiDatabaseCommit also succeeds for a a readonly database.
2011-07-28 11:31:28 +02:00
Hans Leidekker
12a55d9190
msi/tests: Clean up the local package in test_register_product.
2011-07-01 14:39:36 +02:00
Hans Leidekker
395887b684
msi/tests: Remove a test.
...
This test shows that native fails to remove an empty directory under
certain conditions. I don't see why we should replicate this behavior.
2011-07-01 14:39:36 +02:00
Hans Leidekker
b32c643c18
msi: Handle escaped double quotes in command line parsing.
2011-07-01 14:39:36 +02:00
Hans Leidekker
667ba16dbc
msi: Implement and test MsiSetFeatureAttributes.
2011-06-10 10:55:18 +02:00
Hans Leidekker
4c9c50d86b
msi: Implement and test MsiGetFeatureInfo.
2011-06-10 10:55:11 +02:00
Hans Leidekker
ab13c00fc9
msi: Add support for returning validation errors.
2011-06-07 14:18:33 +02:00
Hans Leidekker
c7e36d8ba8
msi: Unescape ^Q^Y sequences in text archives.
2011-05-12 18:23:00 +02:00
Hans Leidekker
e2ba5dce06
msi: Handle embedded nulls in text archives.
2011-05-12 18:22:54 +02:00
Hans Leidekker
defcf092a9
msi/tests: Show that MsiSetTargetPath updates folder properties.
2011-05-11 14:56:49 +02:00
Piotr Caban
54833c9b7c
wine.inf: Add quotes to webbrowser command keys.
2011-05-04 20:42:27 +02:00
Hans Leidekker
4668091528
msi: Rewrite the folder resolution code to keep track of the parent-child relationship.
2011-05-02 16:40:06 +02:00
Hans Leidekker
b4a7a30b18
msi: Fix handling of components without a key path in MsiEnumComponentCostsW.
2011-05-02 16:38:51 +02:00
Hans Leidekker
eee070f1e0
msi: Add offsets to disk ids added by patches.
2011-04-14 17:37:23 +02:00
Hans Leidekker
cfddf2796e
msi/tests: Fix some memory leaks (valgrind).
2011-04-14 17:37:22 +02:00
Hans Leidekker
88b4bbfc6a
msi: More Wow64 fixes.
2011-04-06 12:05:08 +02:00
Hans Leidekker
ce0b3a030b
msi: Fix parsing of an empty property followed by a non-empty property.
2011-04-05 14:42:52 +02:00
Hans Leidekker
68d6158875
msi: Implement and test MsiEnumComponentCostsA/W.
2011-04-01 16:16:04 +02:00
Hans Leidekker
a0a7a7fc3d
msi/tests: Remove unneeded Wow64 checks.
2011-03-30 13:28:05 +02:00
Hans Leidekker
f3f25af900
msi: Implement MsiGetFileSignatureInformationA/W.
2011-03-30 13:28:05 +02:00