Re: [WiX-users] CustomAction to run powershell script

2014-12-18 Thread John Cooper
. Subject: Re: [WiX-users] CustomAction to run powershell script Also the PropCA must run before the UpdateIdentityCA in the Installexecute sequence. -Original Message- From: Pavan Konduru [mailto:pavan.kond...@accelrys.com] Sent: Tuesday, December 16, 2014 12:59 PM To: General

[WiX-users] CustomAction to run powershell script

2014-12-16 Thread wixtester
Hi, I am trying to run a powershell script in deferred custom action, but it fails. The command works when manually run from command prompt. CustomAction Id=PropCA Property=UpdateIdentityCA Value=quot;[POWERSHELLEXE] -Version 2.0 -NoProfile -NonInteractive -InputFormat None

Re: [WiX-users] CustomAction to run powershell script

2014-12-16 Thread Pavan Konduru
missing. --Pavan -Original Message- From: wixtester [mailto:sangee...@hotmail.com] Sent: Tuesday, December 16, 2014 12:14 PM To: wix-users@lists.sourceforge.net Subject: [WiX-users] CustomAction to run powershell script Hi, I am trying to run a powershell script in deferred custom

Re: [WiX-users] CustomAction to run powershell script

2014-12-16 Thread wixtester
Thanks for pointing out the missing quote. After fixing that, I am still not able to run the ps script. Also, I am now enclosing the quotes around the file path like this - -File C:\Program Files (x86)\\Bridge Server\Bridges\Exchange\UpdateIdentity.ps1 testhub\ericd pwd1 Why is WixCA not

Re: [WiX-users] CustomAction to run powershell script

2014-12-16 Thread Pavan Konduru
The quotes look good, my bad! -Original Message- From: Pavan Konduru [mailto:pavan.kond...@accelrys.com] Sent: Tuesday, December 16, 2014 12:35 PM To: General discussion about the WiX toolset. Subject: Re: [WiX-users] CustomAction to run powershell script CustomAction Id=PropCA

Re: [WiX-users] CustomAction to run powershell script

2014-12-16 Thread Pavan Konduru
Did you add the Execute=immediate to the CustomAction PropCA? -Original Message- From: wixtester [mailto:sangee...@hotmail.com] Sent: Tuesday, December 16, 2014 12:51 PM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] CustomAction to run powershell script Thanks

Re: [WiX-users] CustomAction to run powershell script

2014-12-16 Thread Pavan Konduru
to run powershell script Did you add the Execute=immediate to the CustomAction PropCA? -Original Message- From: wixtester [mailto:sangee...@hotmail.com] Sent: Tuesday, December 16, 2014 12:51 PM To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] CustomAction to run powershell