Hi Guys,

I am just wondering whether ps can be called like vb script using execute VBScript in wise script


If anybody has gone through such experience, Please Let me know.

Thanks,
-MST
0 Comments   [ + ] Show Comments

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.

Answers

0
Perhaps you may be able to work back from somebody elses work in WIX

http://0ptikghost.blogspot.com/2011/03/executing-powershell-scripts-silently.html

In theory it should just be a matter of calling
C:\windows\system32\WindowsPowerShell\v1.0\powershell.exe & 'C:\scripts\powershell\yourFile.ps1'

but you'll need to be sure of the path. and the powershell execution policy
Answered 11/04/2011 by: clarkeg
Yellow Belt

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