Commit Graph

3449 Commits

Author SHA1 Message Date
Kohei Takahashi 953359c73f msi: Return -1 on open failure in FDI callbacks. 2013-10-15 19:20:19 +02: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
Marcus Meissner 52c9b9f2b3 msi: Fixed a memory leak in an error case (Coverity). 2013-10-07 13:32:07 +02:00
Michael Stefaniuc 0e681027a2 tests: Compile the tests by default with -D__WINESRC__. 2013-10-02 11:04:02 +02:00
Francois Gouget 7c146b8aa0 msi: Make some dialog_xxx() functions static. 2013-09-13 10:57:45 +02:00
Alexandre Julliard 3f98185fb8 msi: Use bison directives instead of defines to specify extra lexer parameters. 2013-08-01 12:00:04 +02:00
Hans Leidekker 1257db2109 msi: Fix integer conversion in get_table_value_from_record. 2013-07-30 14:43:34 +02:00
Hans Leidekker fdf8ab11d9 msi: Format text set by means of a control event. 2013-07-27 11:56:13 -05:00
Hans Leidekker 4759dcc3c1 msi: Subscribe to all control events instead of just the first. 2013-07-27 11:56:08 -05:00
Hans Leidekker ec7650908a msi: Merge events.c into dialog.c. 2013-07-27 11:56:01 -05:00
Hans Leidekker 3169db2b54 msi: Add support for the hyperlink control. 2013-07-27 11:55:27 -05:00
Hans Leidekker 7974b12ab1 msi: Restrict the match on files from cabinets to the disk ID. 2013-06-20 21:07:56 +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
Daniel Jelinski a2307a3339 msi: Update LastSequence for empty media as well. 2013-06-10 11:51:03 +02:00
Hans Leidekker b64fabf39e msi: Don't defer custom actions in the UI sequence if they match the currently running script. 2013-06-03 21:11:51 +02:00
Hans Leidekker 1be1b8433a msi: Remove an unused parameter from action_type_matches_script. 2013-05-29 18:12:05 +02:00
Hans Leidekker 74aa47fa8e msi: The UI sequence exists if there are runnable actions in the InstallUISequence table. 2013-05-29 18:12:01 +02:00
Dmitry Timoshkov 30fc34b881 msi: Fix memory leak. 2013-05-21 12:06:26 +02:00
Daniel Jelinski 4b4bd0201c msi: Remove trailing spaces from command line property name. 2013-05-20 21:15:38 +02:00
Alexandre Julliard d578d0d6c3 msi: Don't bother to unregister classes at process exit. 2013-05-14 11:33:19 +02:00
Hans Leidekker 10975967df msi: Set the PrimaryVolumePath and PrimaryVolumeSpaceAvailable properties. 2013-05-09 19:24:16 +02:00
Hans Leidekker b98ef8f087 msi: Treat an empty install location as missing. 2013-05-07 17:20:46 +02:00
Daniel Jelinski ce6a037abc msi: Fix ComputerName property. 2013-05-03 21:49:33 +02:00
Hans Leidekker 8328562e4c msi: Assume a transform is applicable if it doesn't specify any products. 2013-05-03 21:39:22 +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
Hans Leidekker 1ed6bc2e02 msi: Properly map script function return values to MSI errors. 2013-05-02 18:51:58 +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 27a1a9a862 msi: Fix one more occurrence of overwriting verstr in set_installer_properties. 2013-04-17 16:31:05 +02:00
Hans Leidekker ca025a525d msi: Don't overwrite verstr in set_installer_properties. 2013-04-15 15:16:52 +02:00
Nikolay Sivov 58bbe5ac4c msi: Free records on error paths (Coverity). 2013-04-01 12:32:37 +02:00
Alexandre Julliard 33aa647e64 msi: Avoid intermediate variables when calling create_record. 2013-03-13 16:27:50 +01:00
Hans Leidekker b36a26d65a msi: Don't attempt to patch files from disabled components. 2013-02-27 19:23:14 +01:00
Hans Leidekker aeb7d70ffd msi: Handle more than one patch per file. 2013-02-27 19:23:13 +01:00
Andrew Talbot 40f3a9fa59 msi: Avoid signed-unsigned integer comparisons. 2013-02-18 10:33:17 +01:00
Hans Leidekker bfe5e58d3a msi: Don't remove products if msidbUpgradeAttributesOnlyDetect is set. 2013-02-15 16:56:19 +01: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
Frédéric Delanoy 72989b5b03 msi: Fix memory leak (coverity). 2013-02-06 10:11:32 +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 cafbad3feb msi: Don't fail if the directory already exists in MsiCreateAndVerifyInstallerDirectory. 2013-01-31 16:32:35 +01:00
Hans Leidekker 166a7e993c msi: Set _BrowseProperty to INSTALLDIR. 2013-01-30 17:19:39 +01:00
Hans Leidekker 8df6708af4 msi: Avoid a crash in msi_dialog_handle_event. 2013-01-30 17:19:37 +01:00
Hans Leidekker b637d4ca94 msi: Remove const from integer parameters. 2013-01-21 16:28:13 +01:00
Hans Leidekker 5b642da8cb msi: Execute concurrent installers in a separate process. 2013-01-21 16:27:57 +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 6488a6a5e4 msi: Extend registry helpers to support opening the features key for a specific user. 2013-01-09 17:39:32 +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
Daniel Jelinski bd59df8ddd msi: Do not convert MaskedEdit contents to uppercase. 2012-12-14 11:57:11 +01:00
Michael Stefaniuc 62029ff586 msi: Use FIELD_OFFSET for the size of structs with a varlength array. 2012-12-13 18:38:47 +01:00
Hans Leidekker c66b78a810 msi: Don't set the Preselected property for a full reinstall. 2012-12-11 20:45:42 +01:00
Nikolay Sivov af5e73572a msi: Fix a stream data leak on error (Coverity). 2012-12-10 11:24:25 +01:00
Andrew Talbot b1d4793344 msi: Remove unused variables. 2012-11-22 11:55:09 +01:00
Frédéric Delanoy fcbc5cc5bb msi: Fix a couple of leaks (coverity). 2012-11-20 13:32:49 +01:00
Hans Leidekker ed4ce217d3 msi: Don't set the REINSTALL property if the product will be patched. 2012-11-19 16:35:36 +01:00
Frédéric Delanoy 098b3c7294 msi: Fix leaks in ITERATE_InstallService (coverity). 2012-11-16 19:27:23 +01:00
Frédéric Delanoy cac26d47a0 msi: Fix leaks in stop_service_dependents (coverity). 2012-11-16 19:26:50 +01:00
Nikolay Sivov 3b0179cbde msi: Remove unnecessary casts and argument from script site creation helper. 2012-11-15 12:20:28 +01:00
Nikolay Sivov 194c30d11f msi: Make it clear where script type mask comes from. 2012-11-15 12:19:58 +01:00
Nikolay Sivov eebde117ca msi: COM cleanup for IActiveScriptSite. 2012-11-15 12:19:52 +01:00
Nikolay Sivov e87c3b4b00 msi: Store object function pointers with type id. 2012-11-14 19:22:00 +01:00
Nikolay Sivov e726b54c87 msi: Cache ITypeInfo instances for automation objects instead of reloading every time. 2012-11-14 19:19:36 +01:00
Michael Stefaniuc dad2967943 msi: Don't over-allocate memory for a MSISELECTVIEW. 2012-11-12 13:17:00 +01:00
Michael Stefaniuc 51013ad278 msi: Use FIELD_OFFSET to calculate the size of structs with variable length array. 2012-11-09 17:10:37 +01:00
Hans Leidekker 9c431b6737 msi: Avoid a string copy when comparing SQL keywords. 2012-11-09 17:10:15 +01:00
Hans Leidekker e15121771c msi: Fix use of uninitialized variables. 2012-11-09 17:09:02 +01:00
Hans Leidekker b036ee6309 msi: Register dlls in a separate process. 2012-11-07 18:12:10 +01:00
Hans Leidekker e2900c23c7 msi: Make sure either the REINSTALL or the REMOVE property is set when the product is already installed. 2012-11-07 18:12:09 +01:00
Hans Leidekker 26299647f7 msi: Remove a component regardless of its install state, unless it's a permanent component. 2012-11-07 18:12:09 +01:00
Hans Leidekker 462ec1ba43 msi: Return correct length for the empty string from deformat_string. 2012-11-07 18:12:08 +01:00
Frédéric Delanoy 85bf1082ce msi: Fix some leaks (coverity). 2012-11-07 13:56:03 +01:00
Hans Leidekker cfadbddcaf msi: Avoid a crash when target paths have not yet been resolved. 2012-11-06 20:00:27 +01:00
Frédéric Delanoy 84541cc5e3 msi: Fix a leak (coverity). 2012-11-05 17:44:19 +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 570322069c msi: Preserve strings with embedded nulls in the record formatting implementation. 2012-11-05 17:44:18 +01:00
Hans Leidekker 8d21f998c3 msi: Fix handling of strings with embedded nulls in msi_addstring. 2012-11-05 17:44:17 +01:00
Hans Leidekker 31ea3f44dd msi: Return length for the empty string in msi_string_lookup. 2012-11-02 19:47:30 +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 52a87c9054 msi: Add a length parameter to msi_strcpy_to_awstring and use it where appropriate. 2012-10-29 14:41:49 +01:00
Hans Leidekker 2a31a3c057 msi: Don't create a copy of deferred custom action data. 2012-10-29 14:41:44 +01:00
Hans Leidekker 929d234072 msi: Return length instead of size from deformat_string. 2012-10-29 14:41:41 +01:00
Hans Leidekker 0f1d3474a8 msi: Add a length parameter to msi_set_property and use it where appropriate. 2012-10-29 14:41:36 +01:00
Hans Leidekker a7ff2818fe msi: Preserve strings with embedded nulls when copying from a record to the string table. 2012-10-29 14:41:21 +01:00
Hans Leidekker 9588deb54c msi: Preserve strings with embedded nulls when copying from the string table to a record. 2012-10-29 14:41:16 +01:00
Hans Leidekker 32aed60786 msi: Preserve strings with embedded nulls in the record implementation. 2012-10-29 14:41:04 +01:00