6. Plugin Installers In addition to standard installers, the PortableApps.com Installer can be used for plugin installers to add files to a portable app. This is accomplished via a file called plugininstaller.ini within the Other\Source directory. This file can contain all of the entries within the appinfo.ini and installer.ini files described above combined into a single file. One addition to the file is within the [Details] section where an entry called PluginName= is made. This should be the name of the plugin, for example: Adobe Flash for Firefox Portable. The [MainDirectories] removal options all default to false for plugin installers. If an EULA is needed for the plugin, instead of EULA.txt or EULA.rtf, the files PluginEULA.txt or PluginEULA.rtf should be used. To create a plugin installer, create a directory layout similar to the portable app that the plugin is used with including the App, App\AppName, Data, Other, etc directories. Then place only the files to be included in the plugin installer in their appropriate location. The App\AppInfo directory should be empty as it is used only by the main app. Any custom code should be in a file called PortableApps.comInstallerPluginCustom.nsh. Finally, create a file plugininstaller.ini with the entries that would normally be in appinfo.ini and installer.ini above and compile as normal.
OK i am so way confused with this, I copied it from the PA Installer Format. I am trying to create an installer to install additional addons to a program. So I set up the folder as described, created my plugininstaller.ini file ( I think) and tried to run the installer. I keep getting an error message that says I must create a valid portable app's base directory to create an installer for.
I have no idea what that means? Also The part about compile as normal, does that mean I need to recompile the PA installer?
You need to set up a separate directory for your plugin installer and, if it's online, you only need one file:
Fill in the details in plugininstaller.ini as if it was appinfo.ini and include PluginName. For example:
If you're including the files, leave out the [DownloadFiles] section and create a directory structure similar to this:
To finish, just run the installer on the PluginPortable directory.
Hope that helps.
Thought i did that but will double check, Should the root directory name match the root directory of the original program?
“Be who you are and say what you feel because those who mind don't matter and those who matter don't mind.” Dr. Seuss
You can call it whatever you like.
same error message?
“Be who you are and say what you feel because those who mind don't matter and those who matter don't mind.” Dr. Seuss
You're running the PA.c Installer on PluginPortable the same way you would on AppNamePortable? If so, I'm not sure what could be going wrong.
ok I guess pluginstaller.ini is vry different then plugininstaller.ini that was first problem now an error message about
“Be who you are and say what you feel because those who mind don't matter and those who matter don't mind.” Dr. Seuss
You spelt English wrong!
Should be -
Language=English
was jsut about to edit the last one and tell you I got it but you type faster than me lol one more time thanks BTW
“Be who you are and say what you feel because those who mind don't matter and those who matter don't mind.” Dr. Seuss
OK got the package packaged, now testing it out many many thanks
“Be who you are and say what you feel because those who mind don't matter and those who matter don't mind.” Dr. Seuss
For add ons do I need a development splash screen?
“Be who you are and say what you feel because those who mind don't matter and those who matter don't mind.” Dr. Seuss
No, there's no app to launch, the installer is just adding files.
Is it posible to extract an exe located in an zip file?
How do i make this?
Please read the example in the first post. The last lines of prappers plugininstaller.ini should cover the solution for your problem. Whether it's a dll or exe doesn't matter, same syntax.