Skip to content
⌘ NSIS Forum Archive

Example NSIS script for a plug-in for another app?

2 posts

FranzB#

Example NSIS script for a plug-in for another app?

Hi,

I'm developing an Autodesk 3ds Max plugin for an open source renderer. I would like to make an installer for that plugin, but being completely new to NSIS scripting I could use a little help.

The requirements of the installer are actually much simpler than for a full application:
- Ability to either find the target application (3ds Max), or to provide typical installation location and the ability for the user to modify it
- Ability to copy the plug-ins files to the application's directory (so with administrator rights)

Does anyone have (or know where to find) a working script for such a plug-in installer?

Thanks all in advance.

Franz
Anders#
Set $InstDir with InstallDirRegKey if the app has a registry entry you can use, probably InstallLocation or UninstallString in the Uninstall key.

A directory page with app detection forced by http://nsis.sourceforge.net/Reference/.onVerifyInstDir

To install files you use the SetOutPath and File instructions. Use the RequestExecutionLevel attribute to control UAC...