Commit Graph

3581 Commits

Author SHA1 Message Date
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
Marcus Meissner d0cb2519b6 msi: Free rec in error exit (Coverity). 2015-06-12 15:24:44 +09:00
Alexandre Julliard 12a2b849a6 msi: Inherit state for radio buttons from the parent group dynamically. 2015-04-29 12:22:57 +09:00
Hans Leidekker 4710e973f8 msi: Initialize a variable (valgrind). 2015-04-21 22:21:36 +09:00
Hans Leidekker e6ce4de393 msi: Fix an invalid memory access (valgrind). 2015-04-21 22:21:31 +09:00
Hans Leidekker 55b678e186 msi: Initialize a variable (valgrind). 2015-04-21 22:21:27 +09:00
Hans Leidekker 6ef2d26a53 msi: Fix a trace.
Reported by Marcus Meissner.
2015-04-21 22:21:24 +09:00
Hans Leidekker 8969377647 msi: Perform a suffix match on the volume name. 2015-04-17 14:52:45 +09:00
Hans Leidekker 20c3c09fac msi: Improve the check for files obsoleted by patches. 2015-04-17 14:52:42 +09:00
Hans Leidekker dc2228305c msi: Add support for patching global assembly files. 2015-04-10 22:46:19 +09:00
Hans Leidekker d263c91ce2 msi: Assume that file patches from registered MSI patches have already been applied. 2015-04-10 22:46:19 +09:00
Hans Leidekker e4fd6265eb msi: Take the component action into account for file patches. 2015-04-10 22:46:19 +09:00
Hans Leidekker 17b80c8ec0 msi: Don't read past the end of the patch list in MsiApplyMultiplePatchesW. 2015-04-10 22:46:18 +09:00
Hans Leidekker eb116d6640 msi: Get rid of global variables the cabinet extraction callbacks. 2015-04-01 22:34:20 +09:00
Hans Leidekker 17b05316a5 msi: Clean up handling of temporary files. 2015-04-01 22:34:20 +09:00
Hans Leidekker 20ef12a762 msi: Don't mark global assembly files as installed when they are extracted. 2015-04-01 22:34:20 +09:00
Hans Leidekker 006801366e msi: Don't apply file patches in the cabinet extraction callback. 2015-04-01 22:34:19 +09:00
Hans Leidekker 0762dd68f8 msi: Store the disk id for file patches. 2015-04-01 22:34:19 +09:00
Hans Leidekker 2acc11c215 msi: Import mspatcha instead of loading it dynamically. 2015-04-01 22:34:19 +09:00
Frédéric Delanoy f6a341c747 Assorted spelling/grammar fixes. 2015-03-27 22:29:48 +09:00
Hans Leidekker c66f9bef60 msi: Check file state before installing global assemblies. 2015-03-25 22:40:45 +09:00
Hans Leidekker 19e51936e0 msi: Skip files from the original media if a patch is applied. 2015-03-25 22:40:41 +09:00
Hans Leidekker b7453555a2 msi: Check the component enabled flag earlier. 2015-03-25 22:40:38 +09:00
Hans Leidekker f8dc7c221b msi: Use the last sequence number specified for patch media when updating media records. 2015-03-25 22:40:34 +09:00
Hans Leidekker cd73576ec0 msi: Avoid allocating a database handle only to retrieve the summary information. 2015-03-25 22:40:30 +09:00
Hans Leidekker 052b3a748e msi: Fall back to the database summary information stream in MSI_OpenPackageW. 2015-03-25 22:40:24 +09:00
Francois Gouget f51569626c msi: Mark internal symbols with hidden visibility. 2015-03-24 20:01:30 +09:00
Nikolay Sivov 2478421d87 msi: Return interface pointer instead of impl pointer. 2015-03-24 18:16:37 +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 db3fdbe1e3 msi: Fix the case where the summary information stream is already open in MsiGetSummaryInformationW. 2015-03-17 00:19:50 +09:00
Hans Leidekker 7a4d8f57c7 msi: Improve tracing. 2015-03-17 00:19:48 +09:00
Francois Gouget 232d1b6e3f msi: Remove unneeded NONAMELESSXXX directives. 2015-03-16 15:04:21 +09:00
Michael Stefaniuc be813aed6f msi: Remove comparison of pointer with >= NULL (PVS-Studio). 2015-03-09 22:07:08 +09:00
Hans Leidekker 4c1791f53e msi: Add offsets to file patch sequence numbers. 2015-03-04 23:57:42 +09:00
Hans Leidekker 123428942d msi: Support updating streams. 2015-03-04 23:57:42 +09:00
Hans Leidekker af6281701d msi: Decode stream names in load_streams. 2015-03-04 23:57:41 +09:00
Marcus Meissner c4bf8a85ee msi: Fix memory leak (Coverity). 2015-02-16 19:18:44 +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 db3346247c msi: Get rid of the refcount parameter to msi_addstringW. 2015-02-13 21:48:12 +09:00
Hans Leidekker d954fbf8da msi: Get rid of the open streams cache. 2015-02-13 21:48:07 +09:00
Hans Leidekker c6f3f72d61 msi: Always update column info after applying a transform to the _Columns table. 2015-02-13 21:48:02 +09:00
Austin English f8089da4b3 msi: Add stubs for MsiEnumClientsExA/W. 2015-02-04 21:32:50 +09:00
Hans Leidekker a884d98e99 msi: Add a partial implementation of MsiProvideComponent. 2015-01-21 18:08:10 +01:00
Akihiro Sagawa e52cbbcd03 msi: Remove 32-bit component registry keys with KEY_WOW64_32KEY flag. 2015-01-19 14:20:27 +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
Michael Stefaniuc 165c9e7cb9 msi: Remove no-op toupperW() statement (PVS-Studio). 2014-12-10 13:32:01 +01:00
Hans Leidekker 2a8043aa6b msi: Properly handle service control events in Start/StopService. 2014-12-02 13:07:16 +01:00
André Hentschel 481fce766f msi: Remove unused strings (Clang). 2014-12-02 10:31:18 +01:00
André Hentschel 1c3179b21b msi/tests: Remove unused variables (Clang). 2014-12-02 10:31:14 +01:00
Hans Leidekker e3143f1105 msi: Update version resource. 2014-11-27 13:14:16 +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 609de1a80a msi: Call execute_script directly in InstallFinalize. 2014-11-04 21:19:31 +09:00
Hans Leidekker 98ae03ff4d msi: Update properties after each transform that affects the property table. 2014-11-04 21:19:28 +09:00
Hans Leidekker 35ce56ac85 msi: Pass a database pointer to msi_clone_properties instead of a package pointer. 2014-11-04 21:19:24 +09:00
Austin English d2bc004264 msi: Add stubs for MsiRemovePatches(A/W). 2014-11-03 16:35:38 +09:00
Hans Leidekker 7f57d8f19a msi: Format registry values before interpreting value type. 2014-10-31 10:49:19 +09:00
Bruno Jesus 8f79f5f54b msi: Remove duplicate if condition. 2014-10-27 14:36:03 +09:00
Hans Leidekker 1e3f15d88c msi: Support more transform validation flags. 2014-10-21 18:50:01 +09:00
Hans Leidekker 5cb10c96b2 msi: Don't skip the media check for the first volume.
Some installers require the first volume to be reinserted.
2014-10-15 22:40:03 +09:00
Nikolay Sivov 8f971bfee6 msi: Use E_NOT_SUFFICIENT_BUFFER definition. 2014-10-08 13:13:36 +02:00
Hans Leidekker f41ac94e0e msi: Include the terminating null in the buffer size for decoded stream names. 2014-10-02 16:59:04 +02:00
Hans Leidekker 29baed1bc2 msi: Improve support for advertized shortcuts. 2014-09-12 15:30:13 +02:00
Sebastian Lackner 582f2640d2 msi: Fix ITERATE_MoveFiles when no source- and destname is specified. 2014-09-04 13:37:15 +02:00
Hans Leidekker a5d8ab57f6 msi: Check transform validation flags. 2014-09-03 16:31:17 +02:00
Hans Leidekker 614cb7eac7 msi: Update the cached product code when the property has changed. 2014-09-01 21:10:12 +02: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 b1a4055245 msi: Don't check feature install level on features specified in arguments. 2014-07-24 13:02:45 +02:00
Piotr Caban 0dff7bff9a msi: Fix feature actions overriding in process_state_property. 2014-07-24 13:02:43 +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
Akihiro Sagawa 6fc6d32da2 msi: Move set_installed_prop() call because platform information is needed in it. 2014-07-21 15:56:54 +02:00
Daniel Beitler deb2742267 msi: Prevent call to memset with a null pointer in get_tablecolumns function. 2014-05-19 10:01:43 +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 95d72ae6f0 msi: Avoid a crash when MIME entries point to non-existing extensions. 2014-05-01 10:18:15 +02:00
Hans Leidekker 4c8edb1b4c msi/tests: Fix a couple of memory leaks (valgrind). 2014-04-30 15:15:30 +02:00
Nikolay Sivov 5497a41e92 msi: Fix a leak on error path (Coverity). 2014-04-10 09:11:52 +02:00
Nikolay Sivov 0bcf4a5bb6 msi: Fix a leak on error path (Coverity). 2014-04-10 09:11:50 +02:00
Vincent Povirk a4c6107d81 msi: Fix infinite loop. 2014-04-01 10:43:42 +02:00
Nikolay Sivov 195168351f msi: Fix a record leak on failure removing a column (Coverity). 2014-03-27 12:06:04 +01:00
Nikolay Sivov 203d282a78 msi: Fix a record leak on error path (Coverity). 2014-03-27 12:06:04 +01:00
Nikolay Sivov c01c0b52ed msi: Fix a leak of allocated string buffer on error path (Coverity). 2014-03-27 12:06:04 +01:00
Nikolay Sivov dc33b13581 msi: Fix a record leak on error paths (Coverity). 2014-03-27 12:06:04 +01:00
Nikolay Sivov 20e4705192 msi: Update MsiServerMessage registration version to match module version. 2014-03-20 17:40:36 +01:00
Nikolay Sivov 117ae25764 msi: MsiInstaller coclass is not included in a typelib. 2014-03-20 17:40:33 +01:00
Nikolay Sivov 0e90cebce0 msi: 'optional' only applies to VARIANT and VARIANT* types. 2014-03-18 11:40:51 +01:00
Nikolay Sivov 29eaebaa34 msi: Update feature selection bitmaps. 2014-03-12 10:24:05 +01:00
Marcus Meissner 3fa41c9e70 msi: Fixed missing free in an error path (Coverity). 2014-03-10 10:41:15 +01: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