custom action fails on Longhorn
Posted 26 September 2006 - 15:57
If i try to invoke the exe independntly (not from the msi), there is a UAC prompt and the write to program files succeeds.
Any suggestions or reasons for this behavior???
Posted 26 September 2006 - 21:44
Posted 27 September 2006 - 08:33
Posted 27 September 2006 - 14:26
Posted 27 September 2006 - 16:02
Posted 27 September 2006 - 22:53
Posted 28 September 2006 - 16:40
The custom actions which are after installfinalize, cannot be set to deffered in system context execution. So, if they need to run with admin privileges, how can it be done? Is there a way to run in elevated privilege mode?
Posted 29 September 2006 - 00:45
Posted 04 October 2006 - 12:31
Such CA will need admin privilges, what should be done to elevate the privileges?
Posted 04 October 2006 - 12:34
Posted 21 December 2006 - 11:15
Sometimes you do not have any other choice, rather than to execute CA after the InstallFinilize action.
From my own experience, this is a must if you have an application that has .NET assemblies that are being installed into the GAC, and you need to "use" these assemblies in the last stages of the installation.
If you will look at the "MsiAssembly Table" help in the MSDN, in the "Remarks" section, you will see an example to a CA which should be schedules after the InstallFinalize (according to Microsoft recommendations).
Posted 22 December 2006 - 04:48
Posted 23 December 2006 - 11:16
Posted 24 December 2006 - 15:22
Posted 27 December 2006 - 10:30
For driver installations I would highly recommend using Microsoft's DIFx framework which has custom actions for msi setups.