Link to home
Start Free TrialLog in
Avatar of tncode
tncodeFlag for United States of America

asked on

Can Inno Setup automatically copy a plugin for FileMaker to the Extensions folder?

Is there a way to use Inno Setup to automatically copy an application plugin for FileMaker to the Extensions folder?

The setup process would have to do the following logic:
Copy 32bit plugins to any "\Extensions" folder in "Program Files (x86)\FileMaker\"
Copy 64bit plugins to any "\Extensions" folder in "Program Files\FileMaker\"

As an example, the plugin would have to go in folders such as this:
"C:\Program Files (x86)\FileMaker\FileMaker Pro 12 Advanced\Extensions"
"C:\Program Files\FileMaker\FileMaker Pro 14 Advanced\Extensions"

Can someone provide the Inno Setup code to make this happen? I am a novice Inno Setup users so if you can provide all the code that is best. Thanks!
Avatar of Will Loving
Will Loving
Flag of United States of America image

I don't know Inno Setup, but you can use FileMaker itself to install plugins by using the new "Install Plugin" script step when opening a file that has the plugin embedded in a container field with the application. The script step checks all three possible locations before installing the plugin. The one you list above is actually a slightly older though still valid location. The preferred locations now:

C:\users\user_name\AppData\Local\FileMaker\FileMakerPro\<version>\Extensions\

Macintosh HD/Users/user_name/Library/Application Support/FileMaker/FileMaker Pro/<version>/Extensions/

See this FileMaker Knowledgebase article for full details:

http://help.filemaker.com/app/answers/detail/a_id/10097/~
Avatar of tncode

ASKER

Thanks. However, this is a Windows setup application that will be used as a silent installation on many Windows computers.
I understand. I'm just noting that you can setup your FileMaker database to automatically check for the presence of the correct plugin(s) the first time it's opened on each computer using the Get (InstalledFMPlugins) function, which returns the plug-in display name, version number, and enabled state for all the plug-ins. If the correct plugin or plugin version are not found, the FM file can install them without user interaction.
Avatar of tncode

ASKER

Do you have webpage that describes how to do this on Windows and Mac?
ASKER CERTIFIED SOLUTION
Avatar of Will Loving
Will Loving
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial