Jun 27, 2013
08:10 AM
The msidbCustomActionTypeTSAware flag differentiates between the user context in which your deferred (i.e. "in-script") custom action will execute. See http://msdn.microsoft.com/en-us/library/windows/desktop/aa368069(v=vs.85).aspx "Executes with user impersonation. Runs with user impersonation during per-machine installs on a server running the Terminal Server role service. Normal deferred execution custom actions, without this attribute, run with no user impersonation on a terminal server during per-machine installations. This attribute has no effect if the action also has the msidbCustomActionTypeNoImpersonate attribute." I admit that I do not have the experience launching a .bat file from a in-script custom action, but my guess is that it depends on what the CA and the .bat are doing and what the user's privileges are. When using Remote Desktop without this flag the CA will run in the context of the remote server's local system account (even if on a 'local' system it would have run using impersonation). With this flag the CA would run in the context of the user that connected to the remote server (unless the 'no impersonation' flag was also used), the same as it would run on the local system. At least that is my understanding.
... View more
Latest posts by Dozer1jr
Subject | Views | Posted |
---|---|---|
2106 | Jun 26, 2013 10:01 AM |
Activity Feed
- Posted Custom action in Basic MSI, in-script execution? on InstallShield Forum. Jun 26, 2013 10:01 AM
- Tagged Custom action in Basic MSI, in-script execution? on InstallShield Forum. Jun 26, 2013 10:01 AM
- Tagged Custom action in Basic MSI, in-script execution? on InstallShield Forum. Jun 26, 2013 10:01 AM
- Tagged Custom action in Basic MSI, in-script execution? on InstallShield Forum. Jun 26, 2013 10:01 AM