Skip to content
⌘ NSIS Forum Archive

Flags and Lang in plugins

7 posts

MoNKi#

Flags and Lang in plugins

Is there any way of getting "overwrite" and "date/time saving" flags in plugins?

And the language strings used by the installer in the moment of calling the plugin (nlf strings)? I wan't to use default strings in a plugin, without need of my own lang file.
Joost Verburg#
1) What do you mean? Something else than SetOverwrite and SetDateSave?

2) Plugins have their own way of language setting. What is the problem?
MoNKi#
1) Pass the values of SetOverwrite and SetDateSave to the plugin.
2) Get the nsis strings directly.

Sorry if you can`t understand me, my english is very poor.
Sunjammer#
I *think* the answer to both questions is no, NSIS doesn't expose those internal values in any way that I am aware of to plugins, only the variables accessible to the script can be seen (note that the script can't check what the overwrite flag is either, for example, again AFAIK)