Can a nested msi custom action be placed in (Inscript option : deferred execution-user context/system context)...
since I getting error as "custom action specifies unsupported error type"
But when I use it in immediate mode.....custom action is executing fine...

Just wan to know whether it can be placed between IntallInitiallize and InstallFinalize in deffred mode
0 Comments   [ + ] Show Comments


Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.


No I don't think it can be, since at this point (deferred context) the main MSI will have 'locked' the use of the Windows Installer Engine for itself, and only one installation at a time can be active. So the nested MSI gets denied.

I'm not 100% sure though ( I avoid nested MSIs like the Bubonic plague), so maybe google can provide more detailed info.

Answered 12/30/2010 by: pjgeutjens
Red Belt

Please log in to comment
In a word, no. You can't run 2 installations simultaneously.

In any event, nested MSIs are The Work Of Satan and should be avoided. Either build a stub executable to run the installations in sequence or, better, use your deployment mechanism to do so.
Answered 12/30/2010 by: VBScab
Red Belt

Please log in to comment
Answer this question or Comment on this question for clarity