cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Lou_Elston
Level 6

Powershell Custom Action questions

In the latest version of Installshield (2012 spring), you can use a Powershell Custom Action.
Is this any version of Powershell, or just the latest version (3.0)? How to you get and set installer (Session) properties, and, write to the log. Are there any examples of this? I could not find anything searching this forum, I see that others have asked this question previously, but have not received any replies.
Labels (1)
0 Kudos
(2) Replies
Lou_Elston
Level 6

The following is from Flexera support...
"PowerShell is run out-of-process without access to the installer session. An in-process model, which would allow access to the installer session, is under consideration, but access to the installer session is not available at this time."

Personally, I feel that the documentation should state this, else someone might purchase or upgrade to Installshield 2012 Spring, to be able to write custom actions that access the session...and be disappointed.
0 Kudos
Christopher_Pai
Level 16

Why write CA's in PowerShell when there is C# / DTF? In process with a rich interop library.
0 Kudos