Hi,

  I am also seeing similar problem. When I run powershell script from CA
using CAQuietExec, the installer hangs. 
If I run the powershell script from ExeCommand in custom Action, a console
window pops up and completes the script execution. This however leaves a
powershell.exe process running in the task manager. 

I am looking for a solution that does not show dos window in executing
Custom Action using CAQuietExec.

Another problem I noticed which is quite unrelated to the above is the
account under which a custom Action runs. I noticed in TaskManager that a
deferred custom action in the <InstallExecuteSequence> that is sequenced to
run after "InstallFiles" and listed first amongst all other CAs runs under
the user account of user logged into the machine(Administrator in my case).
If I put the same CA later in the sequence, it runs under the SYSTEM
account. 
I apologize for lack of knowledge on accounts running the CAs, but can
someone share thoughts on why the user accounts are different when placed at
different sequence of execution or give pointers on best place to lookup for
more info.

Thanks !





thanks.



-- 
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Silently-executing-a-PowerShell-script-from-WiX-Hangs-PowerShell-tp5722723p5780635.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to