psf
Posts: 43
Joined: Wed Jun 04, 2014 11:00 am

can you call a powershell inline script from another inline script

I have written several powershell custom actions, as inline script without sequence, and have called them from various places in the install with no problems.
Is it possible to call 1 of these inline powershell scripts from another one? I don't seem to be able to get it to work. If it can be done, is it possible to pass in parameters from the calling script to the receiver, or is it a case of setting temporary installer properties in the caller which can then be read by the receiving script ?
Catalin
Posts: 6604
Joined: Wed Jun 13, 2018 7:49 am

Re: can you call a powershell inline script from another inline script

Hello,
Is it possible to call 1 of these inline powershell scripts from another one? I don't seem to be able to get it to work.
Unfortunately, it is not possible to call an inline script from another inline script.

Please let me know if you have any other questions and I will gladly assist.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”