This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Powershell Custom Action questions
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 22, 2013
06:52 AM
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.
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.
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 02, 2013
02:59 PM
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.
"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.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Apr 02, 2013
07:09 PM
Why write CA's in PowerShell when there is C# / DTF? In process with a rich interop library.