We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

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: 11395
 
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: 19230
 
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: 19230
 
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