Hans Leidekker
e243979c4f
msi/tests: Prepare install.c for the switch to -D__WINESRC__.
2013-10-15 14:28:21 +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
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
Hans Leidekker
f6f1bfd6fb
msi/tests: Use only uppercase characters for the PID_REVNUMBER property.
2012-06-12 10:21:55 +02:00
Hans Leidekker
f0ea60049c
msi: Add support for 64-bit registry components.
2012-06-11 21:03:47 +02:00
Hans Leidekker
75242afefd
msi/tests: Try harder to remove a shortcut file.
2011-12-06 15:51:01 +01: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
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
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
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
ce0b3a030b
msi: Fix parsing of an empty property followed by a non-empty property.
2011-04-05 14:42:52 +02:00
Hans Leidekker
8d58ddfe12
msi: Accept whitespace-only property values on the command line.
2011-03-30 13:28:05 +02:00
Hans Leidekker
c505c0fe98
msi/tests: Get rid of workarounds for win9x test failures.
2011-03-30 13:28:05 +02:00
Hans Leidekker
e82a4896f3
msi: Ignore invalid upgrade codes in the PublishProduct action.
2011-03-30 13:28:05 +02:00
Hans Leidekker
429407cfb6
msi: Assume a file is present if the target exists with the same size and there's no file version or hash to verify.
2011-03-08 12:31:04 +01:00
Hans Leidekker
be790cb0ad
msi: Load media info even if there's no file to install.
2011-03-08 12:30:55 +01:00
Hans Leidekker
8e5230740a
msi/tests: Check the result of get_system_dirs and get_user_dirs.
2011-03-07 13:17:18 +01:00
Hans Leidekker
4a7371e32d
msi/tests: Test a return value (clang).
2011-01-27 16:31:19 +01:00
André Hentschel
648025881f
msi/tests: Don't test function directly when reporting GetLastError().
2010-12-30 15:01:11 +01:00
Hans Leidekker
489f82e9b4
msi: Rewrite command line parsing to handle quoted values correctly.
2010-12-23 17:44:47 +01:00
Hans Leidekker
23169289e6
msi: Map neutral parts of package language ids to the system default language id.
2010-12-06 19:05:53 +01:00
Paul Vriens
e21115187e
msi/tests: Cleanup properly on Win9x.
2010-11-15 13:20:06 +01:00
Hans Leidekker
8db3c0e358
msi/tests: Move test coverage for standard actions to a separate module.
2010-10-14 17:54:52 +02:00
Hans Leidekker
9cc4b0caae
msi/tests: Don't create a nested restore point on recent versions of MSI.
...
We now set the MSIFASTINSTALL property which disables restore points.
2010-10-13 15:52:58 +02:00
Hans Leidekker
0df4712658
msi/tests: Reduce the UI level for a couple of tests.
...
This makes the tests run faster because native only creates restore points
for installers with a basic UI level and higher.
2010-10-11 17:11:27 +02:00
Hans Leidekker
eafebe0f7d
msi/tests: Set the MSIFASTINSTALL property.
...
On recent versions of msi this prevents the creation of a system restore
point, which can take a very long time.
2010-10-11 17:11:27 +02:00
Hans Leidekker
5709fab04c
msi/tests: Fix some test failures on 64-bit.
2010-10-11 17:11:26 +02:00
Hans Leidekker
3d33fb93cc
msi/tests: Determine Wow64 mode just once.
2010-10-11 17:11:26 +02:00
Hans Leidekker
9e166a9690
msi/tests: Fix some test failures on 64-bit.
2010-10-06 20:46:37 +02:00
Hans Leidekker
a9c3195eb8
msi: Add package validation tests.
2010-10-06 20:46:30 +02:00
Hans Leidekker
52aab76eb2
msi: Put the uninstall key for 32-bit packages under Wow6432Node on 64-bit.
2010-10-05 17:50:16 +02:00
Hans Leidekker
dfc9351ba4
msi: Set more 64-bit properties.
2010-10-01 17:48:10 +02:00
Alexandre Julliard
d1d1d0205d
msi/tests: Make some variables static.
2010-10-01 13:36:43 +02:00
Alexandre Julliard
9fe16f8ae9
msi/tests: Avoid corrupting the pending file renames key on failure.
2010-09-30 17:51:17 +02:00
Paul Vriens
3d6a57a494
msi/tests: Prevent a popup on Windows NT.
2010-09-20 13:57:45 +02:00
Hans Leidekker
0c044c10d0
msi/tests: Skip SourceDir tests on win9x.
2010-08-18 15:30:49 +02:00
Hans Leidekker
7c89d4f28f
msi/tests: Use HKEY_CURRENT_USER instead of HKEY_LOCAL_MACHINE for registry tests.
...
Works around test failures on 64-bit Windows where MsiInstallProduct
returns success even though the registry keys specified in the
Registry table are not created.
2010-08-18 15:30:43 +02:00
Hans Leidekker
33b6ad7f73
msi/tests: Skip tests if UAC is enabled and the process is not running elevated.
2010-07-26 18:38:31 +02:00
Hans Leidekker
bd634c0491
msi: Set/unset the SourceDir property at the right stage in the execution sequence.
2010-07-23 11:46:01 +02:00
Hans Leidekker
ac924566fb
msi/tests: Properly contruct the icon path for win9x.
2010-07-23 11:45:44 +02:00
Hans Leidekker
c4bf9fb710
msi/tests: Fix some more wow64 test failures.
2010-07-22 16:10:42 +02:00
Hans Leidekker
c4511481db
msi/tests: Avoid a long timeout in the test for DeleteServices.
2010-07-22 16:10:29 +02:00
Hans Leidekker
10a32a0b7a
msi/tests: Skip tests when the current user has insufficient rights.
2010-07-22 16:10:19 +02:00
Hans Leidekker
424e3a9fb8
msi: Move the component enabled check into the standard actions.
2010-07-21 13:24:00 +02:00
Alexandre Julliard
044669e709
msi/tests: Check the x86 program directory first for installed files.
2010-07-02 14:14:44 +02:00
Hans Leidekker
dcb501decd
msi: Create directories right before installing files.
2010-06-09 16:12:44 +02:00
Andrew Eikum
c99c5a41e9
msi/tests: Fix install tests for Win9x.
2010-06-07 13:44:20 +02:00
Andrew Eikum
beb0b2bc05
msi: Publish icons into the correct directory.
2010-05-31 12:14:27 +02:00
Hans Leidekker
5395c999d2
msi: Add more tests for feature overrides.
2010-05-20 16:25:44 +02:00
Hans Leidekker
f23bf7a460
msi/tests: Return INVALID_FILE_SIZE from get_pf_file_size if the file can't be opened.
...
So we can distinguish a zero-sized file from a file that doesn't exist.
2010-04-28 15:04:39 -05:00
Hans Leidekker
a0ba56b3bd
msi/tests: Run the RemoveODBC action to unregister the fake drivers.
2010-04-13 11:48:20 +02:00
Paul Vriens
55fbf84d26
msi/tests: Remove temporary files.
2010-04-09 11:53:58 +02:00
Hans Leidekker
7aad77ae58
msi: Add tests for registering and unregistering MIME info.
2010-04-02 15:22:49 +02:00
Hans Leidekker
a7ef96f97f
msi: Add tests for registering and unregistering extension info.
2010-04-02 15:22:49 +02:00
Hans Leidekker
90158af2dc
msi: Add tests for registering and unregistering class info.
2010-04-02 15:22:48 +02:00
Hans Leidekker
1407f1ee36
msi: Return the right error when a cabinet cannot be extracted.
2010-03-26 15:35:20 +01:00
Paul Vriens
05d0787d08
msi/tests: Fix test failures on W2K with Windows Installer 2.x.
2010-03-24 21:53:05 +01:00
Paul Vriens
ba51763f4a
msi/tests: Remove temporary files.
2010-03-22 10:42:48 +01:00
Paul Vriens
e5c182f0df
msi/tests: Remove a key after running tests.
2010-03-15 13:17:38 +01:00
Hans Leidekker
aaf5ffb2b5
msi: Add tests for removing environment strings.
2010-03-03 15:23:28 +01:00
Hans Leidekker
75ec82bbaf
msi: Add tests for removing values from .ini files.
2010-03-02 16:12:23 +01:00
Hans Leidekker
1fe30e0015
msi: Skip the FindRelatedProducts action when product is already installed.
2010-03-02 16:12:08 +01:00
Hans Leidekker
fd5887e5a9
msi: Remove empty directories as part of the RemoveFiles action.
2010-02-26 14:20:48 +01:00
Hans Leidekker
b2c8f35107
msi: Add tests for removing registry values.
2010-02-25 16:00:58 +01:00
Hans Leidekker
5c59617121
msi: Add tests for creating and removing duplicate files.
2010-02-23 13:31:04 +01:00
Hans Leidekker
7b660bb3d8
msi: Add tests for publishing and unpublishing components.
2010-02-17 10:57:45 +01:00
Hans Leidekker
9cbb80d984
msi: Only run the CreateFolder and RemoveFolder actions when the component is set to be installed or removed, respectively.
2010-02-16 12:29:08 +01:00
Hans Leidekker
b4bdfe6746
msi: Add tests for creating and removing shortcuts.
2010-02-15 12:20:02 +01:00
Paul Vriens
983cff23fa
msi/tests: Fix a test failure on Win9x/WinMe.
2010-02-12 16:39:39 +01:00
Hans Leidekker
82d50fa675
msi: Return the right error from ITERATE_RegisterTypeLibraries.
2010-02-12 14:49:38 +01:00
Hans Leidekker
98761037ab
msi: Implement the UnregisterTypeLibraries standard action.
2010-02-12 14:49:38 +01:00
Hans Leidekker
bbfaf6af75
msi: Add tests for installing and removing ODBC drivers.
2010-02-11 14:38:45 +01:00
Paul Vriens
312e4f6b23
msi/tests: Run the 'in_use' tests again.
2010-02-10 17:31:28 +01:00
Hans Leidekker
068cb1291b
msi: Add a partial implementation of the ValidateProductID standard action.
2010-02-10 14:31:49 +01:00
Hans Leidekker
7331b3ca98
msi: Implement the UnregisterFonts standard action.
2010-02-10 14:31:15 +01:00
Hans Leidekker
f5af1ca399
msi: Implement the SelfUnregModules standard action.
2010-02-05 15:33:11 +01:00
Hans Leidekker
3864ddf9f2
msi: Implement the RemoveFolders standard action.
2010-02-05 15:33:05 +01:00
Marcus Meissner
5c4a3bd61b
msi: Handle some error returns (Coverity).
2010-02-04 17:27:34 +01:00
Hans Leidekker
b9da31f112
msi: Implement the DeleteServices standard action.
2010-02-04 13:39:29 +01:00
Hans Leidekker
743ead45c8
msi: Test duplicating files from a nonexistent component.
2010-02-02 11:47:19 +01:00
Paul Vriens
086711818b
msi/tests: Fix some test failures on Win9x up to W2K.
2010-02-02 11:47:19 +01:00
Hans Leidekker
246f9305e9
msi: Don't fail if the service to start is already running.
2010-02-01 12:11:18 +01:00
Hans Leidekker
1d0db2b19b
msi: Don't create all directories in the CreateFolders action.
...
The CreatFolders action should create only the directories listed in the
CreateFolder table, the rest will be created during the InstallFiles action.
Fixes the EndNote 8 installer.
2010-01-28 15:30:26 +01:00
Hans Leidekker
0d770c96fe
msi: Don't evaluate the condition table when there are overrides.
2010-01-27 18:46:08 +01:00
Jason Edmeades
06c45a8d59
msi: Correct the setting of environment variables.
...
Contrary to the MSDN, you can 'create only' whilst using a previous value
(ie +-variable and [~];value). This breaks the install of an application
I was debugging who uses that throughout for all their variables. In
addition whilst adding some tests I've also cleaned up invalid prefix
syntax handling and semicolon removal if the original string is empty.
2010-01-20 15:34:19 +01:00
Paul Vriens
4749b079b5
msi/tests: Fix test failures on Win9x/WinMe.
2009-12-21 15:01:24 +01:00