Alexandre Julliard
17e66e06d6
msi: Convert the dll registration to the IRegistrar mechanism.
2010-12-17 14:59:49 +01:00
Michael Stefaniuc
cb58010118
msi: Use an iface instead of a vtbl pointer in msi_custom_remote_impl.
2010-12-15 13:18:37 +01:00
Joris Huizer
d4d7c263cb
msi: Don't leak memory on error path.
2010-12-03 11:04:13 +01:00
Hans Leidekker
06505c9a34
msi: Reuse temporary executables.
...
Fixes a custom action in the Office 2010 installer and makes installers
that pack multiple custom actions in an executable faster.
2010-12-02 12:47:41 +01:00
Hans Leidekker
eaa57c5b7b
msi: Compare strings without depending on thread locale.
2010-10-19 13:49:54 +02:00
Hans Leidekker
5d0a6b0004
msi: Store action data for deferred rollback actions too.
2010-10-13 15:52:38 +02:00
Hans Leidekker
7404e64373
msi: A commit or rollback custom action can be a deferred action at the same time.
2010-10-13 15:52:33 +02:00
Hans Leidekker
7a370c8d7b
msi: Consistently use the allocation macros.
2010-05-20 16:25:44 +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
Andrew Nguyen
0270f18e11
msi: Correctly set the process working directory in custom action type 34.
2010-03-03 11:52:37 +01:00
Marcus Meissner
9fab263d39
msi: Call Custom function via wrapper.
2010-02-04 14:06:34 +01:00
Hans Leidekker
843382f284
msi: Define common strings only once.
2009-10-15 14:16:50 +02:00
Hans Leidekker
2beee126a7
msi: Test the Installed property.
2009-09-29 16:06:22 +02:00
Hans Leidekker
1b7d1d4c87
msi: Respect UI level in custom action type 19.
2009-09-29 16:06:22 +02:00
Hans Leidekker
90d283f0eb
msi: Improve a trace.
2009-09-16 12:56:38 -05:00
Hib Eris
5392014e29
msi: Release more msi_custom_action_info when no longer needed.
2009-06-22 13:09:03 +02:00
Hib Eris
e86ebd75b0
msi: Release msi_custom_action_info when no longer needed.
2009-06-22 13:08:55 +02:00
Hans Leidekker
b8965ee7c9
msi: Don't initialize COM for custom action threads.
2009-03-24 13:31:59 +01:00
Hans Leidekker
ba50d15060
msi: Set concurrency model to multi-threaded for custom action threads.
...
A custom action in the office 2007 sp1 installer fails right after calling
CoInitializeEx(NULL, COINIT_MULTITHREADED). This is because our code calls
CoInitialize(NULL) first, which sets a different concurrency model, and a
subsequent call with a different model will return RPC_E_CHANGED_MODE.
Ergo, we should set the model to multi-threaded too.
2009-03-13 14:52:48 +01:00
Francois Gouget
d7119f2b73
msi: Remove WINAPI on static functions where not needed.
2008-11-28 12:54:37 +01:00
Alexandre Julliard
ef07d83405
Include wine/port.h everywhere we use exceptions.
2008-04-29 20:18:49 +02:00
James Hawkins
2d0ff97406
msi: Ignore the custom action type 51 if the source field is empty.
2008-03-11 12:12:24 +01:00
James Hawkins
2750ed167f
msi: Don't check for the existence of the msi package when running a concurrent install.
2008-02-11 20:45:17 +01:00
James Hawkins
18407eafdc
msi: Initialize a default COM apartment for custom actions.
2007-12-20 10:47:35 +01:00
James Hawkins
f919a24eb2
msi: Free the deformatted string.
2007-12-12 13:48:38 +01:00
James Hawkins
8912798fb5
msi: Downgrade a FIXME to a WARN.
2007-11-26 12:28:31 +01:00
James Hawkins
f1b790be06
msi: Fix the size allocated for the deferred custom action string.
2007-08-06 12:18:08 +02:00
James Hawkins
9089835c35
msi: Use a more unique property separator.
2007-07-30 12:51:55 +02:00
James Hawkins
fb45206ed7
msi: Initialize the size parameter.
2007-07-27 12:24:08 +02:00
James Hawkins
6af199ef9c
msi: Use a different separator as a semi-colon may separate values in the CustomActionData.
2007-07-25 13:03:45 +02:00
James Hawkins
929acbcb7f
Revert "msi: Only call a custom action remotely if the type is msidbCustomActionTypeInScript."
...
This reverts f2ae31000b
commit.
2007-07-18 12:58:15 +02:00
James Hawkins
f2ae31000b
msi: Only call a custom action remotely if the type is msidbCustomActionTypeInScript.
2007-07-17 12:55:03 +02:00
James Hawkins
1647de570b
msi: Enable remote custom actions.
2007-07-06 18:12:18 +02:00
James Hawkins
bc4750ff75
msi: Add the IWineMsiRemoteCustomAction interface.
2007-07-03 12:59:17 +02:00
James Hawkins
4c3e4ba029
msi: Reference count the custom action data to avoid freeing the data by another thread.
...
Based on a patch by Rob Shearman.
2007-06-27 14:32:28 +02:00
Rob Shearman
8a94f7aad3
msi: Implement MsiGetMode for MSIRUNMODE_SCHEDULED, MSIRUNMODE_COMMIT and MSIRUNMODE_ROLLBACK.
2007-06-26 11:56:33 +02:00
James Hawkins
82f4e3981b
msi: Send the expected data to set_deferred_action_props.
2007-06-19 11:31:07 +02:00
James Hawkins
3c444ea350
msi: Set the UserSID and ProductCode properties for deferred custom actions.
2007-06-15 12:40:56 +02:00
James Hawkins
9ed5c865e2
msi: Protect custom actions with a structured exception handler.
2007-06-14 13:14:50 +02:00
Andrew Talbot
1486d851da
msi: Constify some variables.
2007-06-01 12:51:14 +02:00
James Hawkins
60e95ee6e8
msi: Add handling for MsiBreak.
2007-06-01 12:42:16 +02:00
James Hawkins
c2e91588e9
msi: Perform a forced reboot if a custom action returns ERROR_INSTALL_SUSPEND.
2007-05-30 11:49:16 +02:00
Misha Koshelev
eee455c24a
msi: Add JScript/VBScript support.
2007-05-01 18:34:17 +02:00
Misha Koshelev
d70c9e7690
msi: Added handlers for JScript/VBScript actions that call one script function.
2007-05-01 18:25:34 +02:00
James Hawkins
98eafa870c
msi: Add handling for the concurrent install custom action.
2007-04-16 12:11:08 +02:00
James Hawkins
06df9f790d
msi: Generalize the msi_custom_action_info struct so other custom actions can use it.
2007-04-16 12:09:14 +02:00
Rob Shearman
3fbe9db433
msi: Don't wait on closed handles in ACTION_FinishCustomActions.
...
The handle will be closed by free_custom_action_data, so duplicate the
handle before calling it.
2007-04-04 12:39:14 +02:00
James Hawkins
8cedb218c3
msi: Load the folder property if available and requested.
2007-03-29 21:01:42 +02:00