Hi,
I've written an installer using the Enterprise version of Advanced Installer, and I've managed to get the following correct using inline powershell, but I'm hoping there is a built-in solution that works better.
We would like to install a 3rd party plugin for a platform that have multiple versions running. The user is given a list of possible directories of the platform. This list is constructed during installation based on a certain file that exists (I basically iterate through %APPDIR% directories, looking for directories that contain this file) as we don't know the directory names when building the installer. The user then ticks which directories the plugin should be installed into and continues with the installation.
What I'm currently doing, is I've added the plugin-files to the Temporary Directory of the installer, and no files in the Application Folder. Then based on the directories the user chose, I use a custom inline powershell script to copy the files from the Temporary Directory to the chosen directory.
As I said this works with the powershell script, but I run into problems when the directory chosen gives Access Denied errors, which makes rolling back a big problem with this solution.
I'm hoping there is a built-in way to do the above in Advanced Installer?
Thanks in advance.
--
Hein.
FOLLOW US
Get the latest news in Application Packaging