Hans Leidekker
8bfc08771c
msi: Don't keep handles open to the patch database in MSI_ApplyPatchW.
2010-05-31 12:46:08 +02:00
Andrew Eikum
beb0b2bc05
msi: Publish icons into the correct directory.
2010-05-31 12:14:27 +02:00
Hans Leidekker
c35856dd09
msi: End the search for a directory signature if the parent cannot be found.
2010-05-25 13:29:56 +02:00
Hans Leidekker
c2ce561469
msi: Add a test for properties updated by a patch.
2010-05-25 13:29:35 +02:00
Hans Leidekker
c815432a50
msi: Get rid of the goto in MSI_ApplicablePatchW.
2010-05-25 13:29:22 +02:00
Alexandre Julliard
598a25de82
msi: Ignore min/max versions if their values are null.
2010-05-24 20:33:28 +02:00
Sven Baars
23f9b07d6a
msi: Update Dutch translation.
2010-05-24 11:14:52 +02:00
Sven Baars
cc9e357ecf
msi: Fix English translation.
2010-05-24 11:14:44 +02:00
Hans Leidekker
5395c999d2
msi: Add more tests for feature overrides.
2010-05-20 16:25:44 +02:00
Hans Leidekker
e16f187791
msi: Test the reference count on the installer object retrieved from a session object.
2010-05-20 16:25:44 +02:00
Hans Leidekker
2e24d34b22
msi: Fix some leaks in the tests.
2010-05-20 16:25:44 +02:00
Hans Leidekker
7a370c8d7b
msi: Consistently use the allocation macros.
2010-05-20 16:25:44 +02:00
Hans Leidekker
57a6b6fb38
msi: Release the package in MsiGetMode and MsiSetMode.
2010-05-20 16:25:44 +02:00
Hans Leidekker
e5dd509901
msi: Release the package in MsiGetProductPropertyW.
2010-05-20 16:25:44 +02:00
Hans Leidekker
a4c25196b0
msi: Fix memory leaks in deformat_string_internal.
2010-05-20 16:25:44 +02:00
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
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
Alexandre Julliard
4a88562ec7
msi: Reset the MsiEnumProductsW index on failure.
2010-03-26 15:34:48 +01:00
Paul Vriens
d495fa1e68
msi/tests: Fix test failures on W2K with Windows Installer 3.0.
2010-03-25 13:01:29 +01:00
Paul Vriens
114aa43a54
msi/tests: Fix test failures on W2K with Windows Installer 2.x.
2010-03-25 13:01:24 +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
Hans Leidekker
1d453a1ff0
msi: Search network sources in addition to disk sources.
2010-03-23 13:24:27 +01:00
Hans Leidekker
faf750f2f7
msi: Remove stream from streams cache before destroying it.
2010-03-23 13:24:27 +01:00
Hans Leidekker
367c2048a1
msi: Don't crash on null last parameter in MsiDecomposeDescriptor.
2010-03-23 13:24:27 +01:00
Hans Leidekker
d0856c0ac5
msi: Display REG_EXPAND_SZ values too in the WriteRegistryValues action.
2010-03-23 13:24:26 +01:00
Hans Leidekker
18a85caa3c
msi: Update the UI in the UnpublishFeatures action.
2010-03-23 13:24:26 +01:00
Hans Leidekker
706c4f77e8
msi: Implement a second cabinet extractor on top of IStream and use it to extract embedded cabinets.
...
Currently a cabinet stream is read into memory and then written to a file,
which is then extracted like an external cabinet file. This uses more time
and disk space than necessary and fails if the cabinet is too large to fit
into memory.
2010-03-23 13:24:26 +01:00
Hans Leidekker
27e90274b5
msi: Set the action taken in the ProcessComponents and InstallFiles actions.
2010-03-23 13:24:26 +01:00
Hans Leidekker
8722d0c44a
msi: The AppSearch and CCPSearch actions must be run only once.
2010-03-23 13:24:26 +01:00
Hans Leidekker
a4be941df9
msi: Display the file identifier instead of the filename in the SelfRegModules and SelfUnregModules actions.
2010-03-23 13:24:26 +01:00
Paul Vriens
ba51763f4a
msi/tests: Remove temporary files.
2010-03-22 10:42:48 +01:00
Alexandre Julliard
fbef7217b9
makefiles: Remove the no longer needed explicit dependencies for bison files.
2010-03-16 13:28:24 +01:00
Alexandre Julliard
bef5645eb1
makefiles: Remove the no longer needed explicit separators for dependencies.
2010-03-16 13:28:19 +01:00
Nikolay Sivov
5c6de7957e
msi: Convert IWineMsiRemoteDatabase BSTR parameters to LPCWSTR to avoid typecast.
2010-03-15 14:18:06 +01:00
Paul Vriens
e5c182f0df
msi/tests: Remove a key after running tests.
2010-03-15 13:17:38 +01:00
Hans Leidekker
73d316c58d
msi: Also update the UI when removing files listed in the RemoveFiles table.
2010-03-05 13:14:46 +01:00
Hans Leidekker
ab9a181326
msi: Update the UI in the RegisterUser action.
2010-03-05 13:14:41 +01:00
Hans Leidekker
4341f18c7e
msi: Update the UI in the RegisterProduct action.
2010-03-05 13:14:36 +01:00
Hans Leidekker
c547fb3629
msi: Display the product code in the PublishProduct action.
2010-03-05 13:14:32 +01:00
Hans Leidekker
e90fbf09c7
msi: Update the UI in the MsiPublishAssemblies action.
2010-03-05 13:14:27 +01:00
Hans Leidekker
a358c7f6d4
msi: Update the UI in the MoveFiles action.
2010-03-05 13:14:23 +01:00
Hans Leidekker
aba6afc85e
msi: Move the implementation of the MoveFiles action to files.c.
2010-03-05 13:14:19 +01:00
Hans Leidekker
a5549305de
msi: Update the UI in the RemoveODBC action.
2010-03-05 13:14:11 +01:00
Hans Leidekker
eff0503f64
msi: Update the UI in the InstallODBC action.
2010-03-05 13:14:06 +01:00
Hans Leidekker
bb9451adae
msi: Display the product code in the FindRelatedProducts action.
2010-03-05 13:14:01 +01:00
Hans Leidekker
2666294f64
msi: Properly update the UI in the DuplicateFiles and RemoveDuplicateFiles actions.
2010-03-05 13:13:57 +01:00
Hans Leidekker
3c36d9d1f9
msi: Update the UI in the DeleteServices action.
2010-03-05 13:13:52 +01:00
Hans Leidekker
a70d86d3c9
msi: Display directory identifier instead of the full path in the CreateFolders action.
2010-03-05 13:13:47 +01:00
Hans Leidekker
868e6f2bc8
msi: Update the UI in the AppSearch action.
2010-03-05 13:13:42 +01:00
Hans Leidekker
31d0664ebd
msi: Update the UI in the AllocateRegistrySpace action.
2010-03-05 13:13:37 +01:00
Hans Leidekker
353035fadd
msi: Initialize a couple of variables.
...
Found by Valgrind.
2010-03-04 12:30:29 +01:00
Hans Leidekker
aaf5ffb2b5
msi: Add tests for removing environment strings.
2010-03-03 15:23:28 +01:00
Hans Leidekker
f62211198a
msi: Implement the RemoveEnvironmentStrings standard action.
2010-03-03 15:23:23 +01:00
Hans Leidekker
7b6858546c
msi: Strip leading text style label from control text before lookup in binary table.
2010-03-03 15:23:15 +01:00
Andrew Nguyen
0270f18e11
msi: Correctly set the process working directory in custom action type 34.
2010-03-03 11:52:37 +01:00
Hans Leidekker
75ec82bbaf
msi: Add tests for removing values from .ini files.
2010-03-02 16:12:23 +01:00
Hans Leidekker
b891d0888a
msi: Implement the RemoveIniValues standard action.
2010-03-02 16:12:17 +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
e637839a83
msi: Improve a trace.
2010-03-02 16:11:57 +01:00
Hans Leidekker
6c6b2a7a18
msi: Look at the requested action when publishing assemblies, not the action taken.
2010-03-02 16:11:53 +01:00
Hans Leidekker
ff3ed5f051
msi: Look at the requested action when moving files, not the action taken.
2010-03-02 16:11:49 +01:00
Hans Leidekker
c13d84fffc
msi: Look at the requested action when deleting services, not the action taken.
2010-03-02 16:11:44 +01:00
Hans Leidekker
2d3676d912
msi: Look at the requested action when stopping services, not the action taken.
2010-03-02 16:11:40 +01:00
Hans Leidekker
87448dcaeb
msi: Look at the requested action when installing services, not the action taken.
2010-03-02 16:11:36 +01:00
Hans Leidekker
c8308ef99d
msi: Only create environment strings when the component is set to be installed.
2010-03-02 16:11:31 +01:00
Hans Leidekker
a64372ca44
msi: Improve a trace.
2010-03-02 16:11:24 +01:00
Hans Leidekker
930b5e1c68
msi: The table for isolated components is called IsolatedComponent.
2010-02-26 14:20:53 +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
342f866044
msi: Implement the RemoveRegistryValues standard action.
2010-02-25 16:00:51 +01:00
Hans Leidekker
5c59617121
msi: Add tests for creating and removing duplicate files.
2010-02-23 13:31:04 +01:00
Hans Leidekker
253a7fa73c
msi: Implement the RemoveDuplicateFiles standard action.
2010-02-23 13:31:01 +01:00
Hans Leidekker
587e107398
msi: Allocate sufficient memory in ITERATE_InstallODBCDriver and ITERATE_InstallODBCTranslator.
...
Found by Valgrind.
2010-02-22 13:15:22 +01:00
Hans Leidekker
a620a84f4c
msi/tests: Free exception information.
...
Found by Valgrind.
2010-02-22 13:15:16 +01:00
Hans Leidekker
ba090ede7b
msi: All stream names starting with 0x0005 are unencoded.
...
Fixes a regression caused by 1ff9923148
.
2010-02-22 13:15:09 +01:00
Hans Leidekker
ec5ae81c8d
msi: Make msi_reset_folders static.
2010-02-22 13:14:35 +01:00
Alexandre Julliard
6164ce2d82
makefiles: Use the standard C_SRCS variable as the list of test files.
...
This enables it to be auto-updated by make_makefiles.
2010-02-22 10:47:11 +01:00
Hans Leidekker
1ff9923148
msi: Add summary information stream to the streams table.
2010-02-19 13:06:53 +01:00
Hans Leidekker
ddb2091623
msi: Fix a memory leak.
2010-02-19 13:06:46 +01:00