You are here

Creation of a Plugin Installer

4 posts / 0 new
Last post
tapsklaps
Offline
Last seen: 5 years 6 months ago
Developer
Joined: 2010-10-17 08:11
Creation of a Plugin Installer

Suppose a plugin will creates some registry entries. In the documentation regarding the creation of a Plugin Installer is described, that I must use a file called plugininstaller.ini, whereas this file can contain all of the entries within the appinfo.ini and installer.ini files. But with all the available code I can't edit the above mentioned rgistry entries. Is it in this case necessary, that I must use custom code via the file called PortableApps.comInstallerPluginCustom.nsh within Other\Source?

John T. Haller
John T. Haller's picture
Offline
Last seen: 2 hours 18 min ago
AdminDeveloperModeratorTranslator
Joined: 2005-11-28 22:21
You Can't

Plugins can't do registry entries. Period. Only apps can add/remove registry entries. It would be up to the app that uses the plugin for it's launcher to handle said registry entries.

Sometimes, the impossible can become possible, if you're awesome!

tapsklaps
Offline
Last seen: 5 years 6 months ago
Developer
Joined: 2010-10-17 08:11
Editing of the file AppNamePortable.ini

Accordingly I must do the appropriate entries in the file AppNamePortable.ini. But then these additional entries in the file AppNamePortable.ini only will be used in the case, if the user actually decides to use this plugin. Otherwise, these entries remain unused.

Simeon
Simeon's picture
Offline
Last seen: 9 years 6 months ago
DeveloperTranslator
Joined: 2006-09-25 15:15
No

You can add it to the launcher I think. The plugininstaller.ini is, as the name suggests, for telling the installer what to do. I have never encountered a plugin that does stuff to the registry that the base app doesnt use too.

"What about Love?" - "Overrated. Biochemically no different than eating large quantities of chocolate." - Al Pacino in The Devils Advocate

Log in or register to post comments