Search found 3 matches

Go to advanced search

by nainrohan
Tue Jan 28, 2025 1:29 pm
Forum: Building Installers
Topic: Taking input via Powershell script file in custom action
Replies: 1
Views: 10458
 
Jump to post

Taking input via Powershell script file in custom action

Hello team, I am running a powershell script via "Run Powershell script file", if I run the script manually I have option to give inputs as I am using "Read-Host" but if I run it with the installer I am not being asked to provide with the input.
Is it not possible to take user input to the ...
by nainrohan
Wed Jan 22, 2025 8:40 am
Forum: Common Problems
Topic: PowerShell Inline Script
Replies: 9
Views: 16854
 
Jump to post

Re: PowerShell Inline Script

Hello team,
Thanks for the quick response,
I tried both the approaches, I am getting error in script output saying
"ERROR: Missing an argument for parameter "file". Specify a parameter of type 'System.Object' and try again..."

Also, in "Application Search" in custom behaviour, when I am testing ...
by nainrohan
Tue Jan 21, 2025 11:03 am
Forum: Common Problems
Topic: PowerShell Inline Script
Replies: 9
Views: 16854
 
Jump to post

Re: PowerShell Inline Script

Hello there,
I want to access a searched file in my shell script, I ran search test and it was able to locate the file in the target computer. Property name is "FULL_CHAIN_CERT" and file type is .pem, how can I access the file in custom action's Run Powershell inline script.

Regards,
Rohan

Go to advanced search