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
http://blogs.msdn.co.../23/768248.aspx
Stefan Krüger
InstallSite.org twitter facebook
Posted 27 September 2006 - 08:33
Posted 27 September 2006 - 14:26
Stefan Krüger
InstallSite.org twitter facebook
Posted 27 September 2006 - 16:02
Posted 27 September 2006 - 22:53
Stefan Krüger
InstallSite.org twitter facebook
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
-Stein Åsmul
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
-Stein Åsmul
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).
Igal
Posted 22 December 2006 - 04:48
-Stein Åsmul
Posted 23 December 2006 - 11:16
Stefan Krüger
InstallSite.org twitter facebook
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.
Stefan Krüger
InstallSite.org twitter facebook