Frédéric Delanoy
2ba53f476c
msi: Update French translation.
2010-05-13 19:44:59 +02:00
Hans Leidekker
e60bf536eb
msi: Improve some traces.
2010-05-12 18:46:35 +02:00
Hans Leidekker
6475c11c1f
msi: Only extract a file when its disk id matches the media disk id.
...
This makes sure that an updated file is extracted from the cabinet stream
included in the patch, instead of the original source.
2010-05-12 18:46:32 +02:00
Hans Leidekker
376c2fd02b
msi: Store the disk id in the MSIFILE structure.
2010-05-12 18:46:28 +02:00
Hans Leidekker
dd305c3700
msi: Set the SourceDir property to the registered source if the product is installed.
2010-05-11 16:28:18 +02:00
Hans Leidekker
41a7f025e4
msi: Avoid A->W conversions in msi_publish_install_properties.
2010-05-11 16:28:12 +02:00
Hans Leidekker
347bb13fc7
msi: Set install properties just once.
2010-05-11 16:28:07 +02:00
Hans Leidekker
4d2fb55e4e
msi: Add a test to show that the InstallSource property is unchanged after an upgrade.
2010-05-11 16:28:02 +02:00
Hans Leidekker
715a506fac
msi: Add more patch registration tests.
2010-05-11 16:27:56 +02:00
Hans Leidekker
06a8cc2a06
msi: Add a test to show that patches are not committed to the local package database.
2010-05-11 16:27:49 +02:00
Gerald Pfeifer
acd9732ffe
msi: Fix the return value of msi_copy_outval in the error case.
2010-05-10 10:10:24 +02:00
Aurimas Fišeras
aa2542bfcd
msi: Update Lithuanian translation.
2010-05-10 10:05:32 +02:00
Detlef Riekenberg
2a9b4e0142
msiexec: Use resource in msi for a help dialog to allow translation.
2010-05-06 17:56:44 +02:00
Hans Leidekker
82d7b04c2c
msi: Apply registered patches in MsiOpenPackage.
2010-05-05 15:27:12 +02:00
Hans Leidekker
881ef98479
msi: Forward MsiDetermineApplicablePatchesA to MsiDetermineApplicablePatchesW.
2010-05-05 15:27:08 +02:00
Hans Leidekker
920fc345ba
msi: Register more patch details.
2010-05-04 13:15:00 +02:00
Hans Leidekker
74641ab8db
msi: Handle non-null product code in MSI_ApplyPatchW.
2010-05-04 13:15:00 +02:00
Hans Leidekker
25460075cc
msi: Add some tests for patch registration.
2010-05-04 13:15:00 +02:00
Hans Leidekker
23eabb44c8
msi: Make a local copy of patch packages.
2010-05-04 13:15:00 +02:00
Gerald Pfeifer
be8d0bbb1e
msi: Remove variable product_code which is not really used from MSI_ApplyPatchW.
2010-05-03 15:38:47 +02:00
Gerald Pfeifer
effda58ad3
msi: Fix return value for ITERATE_RemoveFiles (in the error case).
2010-05-03 15:38:39 +02:00
Sven Baars
2d2823ae44
msi: Fix Dutch translation.
2010-05-03 13:55:21 +02:00
Paul Vriens
1cc32247e0
msi: Update Dutch translation.
2010-05-03 13:54:41 +02:00
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