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 CA not running
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
Oct 07, 2018
10:09 AM
Powershell CA not running
Any/all Powershell scripts are not working. Even a simple script (stored in Binary Table):
trace-info -LogMessage “11111111I am a PowerShell custom action”
$Value = get-property -name ProductName
set-property -name NEWPROPERTY -value $Value
All lines above are from Installshield's Help Library
.NET 4.6.2 and .NET 4.7 are installed on two separate Windows 7 x64 (one hard; one vmware)
The only message in the log file that seems out of place is:
InstallShield: Couldn't resolve assembly by name System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35
Any Ideas?
trace-info -LogMessage “11111111I am a PowerShell custom action”
$Value = get-property -name ProductName
set-property -name NEWPROPERTY -value $Value
All lines above are from Installshield's Help Library
.NET 4.6.2 and .NET 4.7 are installed on two separate Windows 7 x64 (one hard; one vmware)
The only message in the log file that seems out of place is:
InstallShield: Couldn't resolve assembly by name System.Management.Automation.resources, Version=3.0.0.0, Culture=en-US, PublicKeyToken=31bf3856ad364e35
Any Ideas?
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Oct 08, 2018
10:53 AM
To get this to work I had to add the Property IS_CLR_VERSION=v4.0;
All powershell CA worked except
trace-info -LogMessage “I am a PowerShell custom action”
All powershell CA worked except
trace-info -LogMessage “I am a PowerShell custom action”