- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Installshield - calling powershell library file from powershell scripts in custom actions
- 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
Installshield - calling powershell library file from powershell scripts in custom actions
Hello,
I am using InstallShield 2023 to create msi packages.
In my InstallShield projects, custom actions call Powershell scripts corresponding to different installation steps (prerequisites, preinstallation, installation, post-installation).
I would like to use a "library" powershell script file containing the generic functions that are called by all scripts invoked in the custom actions.
However, the custom actions that have "In-Script Execution" property set to "immediate execution" do not have access to other files in the package, so it is not possible to source my powershell library file from the powershell script called by the custom action.
Does anyone knows how to be able to source my powershell library file from my custom actions scripts ?
Thanks for your help !
Regards
![](/skins/images/8CE4FAD0DE6F3A6F9D0567434D2D2DAE/responsive_peak/images/icon_anonymous_message.png)