Installshield - calling powershell library file from powershell scripts in custom actions
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 ?