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
Andrew Talbot
7a9b2183d4
msi: Replace const pointer parameters with correct pointers to const.
2007-03-06 12:10:31 +01:00
Rob Shearman
e2972af436
msi: Rewrite the second loop in ACTION_FinishCustomActions so that it always terminates.
...
Create an array of handles to wait on so that we can wait without
holding a critical section.
2007-03-05 16:43:26 +01:00
James Hawkins
747f19f011
msi: Free the custom action data after the thread function executes.
2007-02-26 13:56:11 +01:00
Mike McCormack
d50c62884a
msi: Find pending custom actions by GUID.
2007-02-14 14:42:02 +01:00
Mike McCormack
63cdee2741
msi: Remove an unused initializer.
2007-02-13 17:47:30 +01:00
Mike McCormack
63e554994a
msi: Store dll based custom actions in a separate list.
2007-02-12 14:12:41 +01:00
Mike McCormack
5927015726
msi: Simplify ACTION_FinishCustomActions.
2007-02-12 14:12:34 +01:00
Mike McCormack
d0e12bdef7
msi: Split process_handle() into two separate functions.
2007-02-12 12:39:05 +01:00
Mike McCormack
b1a16d978d
msi: Only wait for custom actions that don't have msidbCustomActionTypeContinue specified.
2006-11-22 11:39:25 +01:00
Mike McCormack
2a95a8ae78
msi: Split process_action_return_value into two different functions.
2006-11-22 11:39:21 +01:00
Mike McCormack
eb16fd5198
msi: Remove an unused parameter.
2006-11-22 11:39:16 +01:00
Mike McCormack
cf370a8d39
msi: Remove unnecessary includes.
2006-11-17 11:14:41 +01:00
Mike McCormack
c88c0b453d
msi: Remove track_tempfile()'s unused 2nd parameter.
2006-11-14 11:43:17 +01:00