Commit Graph

2650 Commits

Author SHA1 Message Date
Hans Leidekker 162780d112 msi: Support multiple patches per package. 2010-04-29 10:19:40 -05:00
Hans Leidekker df6b195a1a msi: Simplify msi_set_context. 2010-04-29 10:19:40 -05:00
Hans Leidekker c6f281fcf7 msi: Make sure to only open a patch database in msi_apply_patch_package. 2010-04-29 10:19:40 -05:00
Hans Leidekker 73f1294431 msi: Test the contents of some of the system tables before and after patching. 2010-04-29 10:19:40 -05:00
Hans Leidekker 319465831c msi: Store a copy of the file extension in the MSIMIME structure.
Fixes a crash that occurs when the extension foreign key points to nowhere.
Reported by Vincent Pelletier.
2010-04-29 10:19:39 -05:00
Hans Leidekker 7d9d6707c1 msi: Fix some test failures on Windows. 2010-04-29 10:19:39 -05:00
Hans Leidekker 82fdc926a2 msi: Move all file comparisons to CostFinalize.
File costing can't be done correctly on upgrades unless we know
which files are going to be overwritten.
2010-04-28 15:04:40 -05:00
Hans Leidekker 9af488d236 msi: Always evaluate component conditions.
Fixes a regression caused by 0d770c96fe.
2010-04-28 15:04:40 -05:00
Hans Leidekker 43f7bc8687 msi/tests: Use a unique product code when testing MsiConfigureFeature parameter validation.
This is to avoid ERROR_INSTALL_ALREADY_RUNNING errors on Windows.
2010-04-28 15:04:39 -05:00
Hans Leidekker d9510f5962 msi: Only set the property in the Reinstall event. 2010-04-28 15:04:39 -05: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 a5a58910b6 msi: Try to apply a patch to each product it is targeted for.
A patch may target multiple products but only one of them needs to
be installed for the patch to succeed. Fixes an Acrobat Reader 9 patch.
2010-04-21 11:57:33 +02:00
Hans Leidekker e31ee69f37 msi: Rename MSI_GetPropertyW and MSI_SetPropertyW.
For consistency with related functions msi_dup_property and msi_get_property_int
and because there is no ANSI version of these functions.
2010-04-21 11:57:33 +02:00
Hans Leidekker 44b7983913 msi: Make MSI_SetPropertyW take a pointer to a database instead of a package. 2010-04-21 11:57:33 +02:00
Hans Leidekker 186f4efa3f msi: Make msi_get_property_int and friends take a pointer to a database instead of a package.
They only operate on a database and this way we can use them before a package is created.
2010-04-21 11:57:33 +02:00
Hans Leidekker 031d2c63e8 msi: Add a test to show that MsiOpenPackage must apply any existing patches. 2010-04-21 11:57:33 +02:00
Octavian Voicu 80878d00da msi: Sync combo control value with associated property. 2010-04-19 15:13:30 +02:00
Octavian Voicu 857f979468 msi: Fill combo control with items from database. 2010-04-19 15:13:19 +02:00
Octavian Voicu 2793a4fd52 msi: Use standard window class for combo control and add error checking. 2010-04-19 15:12:48 +02:00
Octavian Voicu 9c892430ba msi: Fix crash when calling MsiGetActiveDatabase with invalid remote handle. 2010-04-19 15:12:41 +02:00
Hans Leidekker d8504e0550 msi: Handle MSIDBOPEN_PATCHFILE properly in MsiOpenDatabase. 2010-04-19 14:57:49 +02:00
Hans Leidekker 9a9faeffd8 msi: Don't assume unversioned files are present. 2010-04-19 14:57:43 +02:00
Hans Leidekker f08c355e09 msi: Add beginnings of a test module that concentrates on patches. 2010-04-19 14:57:35 +02:00
Hans Leidekker 8f53405544 msi: Remove the string index parameter from msi_addstringW. 2010-04-19 14:57:02 +02:00
Hans Leidekker fc15e565d3 msi: Make the name parameter of create_storage and create_stream constant. 2010-04-19 14:56:58 +02:00
Hans Leidekker 111d33b393 msi: Remove unused and redundant name field from STORAGE structure. 2010-04-19 14:56:53 +02:00
Hans Leidekker 109ffd0f97 msi: Make the string reference count a short.
This is safe because the reference count is stored in 2 bytes on disk.

(This is commit ff2f894888 reapplied
because of incorrect revert in 88214a72ce).
2010-04-14 18:00:39 +02:00
Hans Leidekker 33299faae4 msi: Move application of substorage transforms out of msi_parse_patch_summary. 2010-04-13 11:48:30 +02:00
Hans Leidekker bcc0ad9b07 msi: Release summary information on error in msi_parse_patch_summary. 2010-04-13 11:48:25 +02:00
Hans Leidekker a0ba56b3bd msi/tests: Run the RemoveODBC action to unregister the fake drivers. 2010-04-13 11:48:20 +02:00
Hans Leidekker 88214a72ce msi: Make the string reference count a short.
This is safe because the reference count is stored in 2 bytes on disk.
2010-04-13 11:48:14 +02:00
Hans Leidekker ff2f894888 msi: Make the string reference count a short.
This is safe because the reference count is stored in 2 bytes on disk.
2010-04-13 11:46:14 +02:00
Detlef Riekenberg d4303865e8 msi: Display a MessageBox in MsiMessageBoxEx. 2010-04-12 11:31:12 +02:00
Paul Vriens 55fbf84d26 msi/tests: Remove temporary files. 2010-04-09 11:53:58 +02:00
Hans Leidekker dd1bef3498 msi: Reset the MsiEnumPatchesExW index on failure. 2010-04-02 15:22:50 +02:00
Hans Leidekker 7aad77ae58 msi: Add tests for registering and unregistering MIME info. 2010-04-02 15:22:49 +02:00
Hans Leidekker 3050cde95e msi: Implement the UnregisterMIMEInfo standard action. 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 17d7effd2a msi: Implement the UnregisterExtensionInfo standard action. 2010-04-02 15:22:49 +02:00
Hans Leidekker 3bdfa1f624 msi: Implement the UnregisterProgIdInfo standard action. 2010-04-02 15:22:48 +02:00
Hans Leidekker 90158af2dc msi: Add tests for registering and unregistering class info. 2010-04-02 15:22:48 +02:00
Hans Leidekker cf75d40dad msi: Set the action taken in the RegisterExtensionInfo and RegisterClassInfo actions. 2010-04-02 15:22:48 +02:00
Hans Leidekker 843968c056 msi: Implement the UnregisterClassInfo standard action. 2010-04-02 15:22:47 +02:00
Mikhail Maroukhine 86f76d2b48 msi: Fix compiler warnings with flag -Wcast-qual. 2010-03-29 12:14:44 +02:00
Mikhail Maroukhine f930c87fd6 objbase.h: CLSIDFromString: Add constness to the parameters declaration in accordance with MSDN. 2010-03-29 12:11:02 +02:00
Hans Leidekker 5a08c9ed6f msi: Improve the SetODBCFolders action stub. 2010-03-26 15:35:37 +01:00
Hans Leidekker 2c5e1f686b msi: Implement the Reinstall control event. 2010-03-26 15:35:32 +01:00
Hans Leidekker e5869d5d5c msi: Keep source directory and cabinet file separate. 2010-03-26 15:35:24 +01:00
Hans Leidekker 1407f1ee36 msi: Return the right error when a cabinet cannot be extracted. 2010-03-26 15:35:20 +01:00
Hans Leidekker 129161fec5 msi: Update the UI in the StartServices and StopServices actions. 2010-03-26 15:35:17 +01:00