Archive: DLL disapear from PLUGINS dir at WIN98


DLL disapear from PLUGINS dir at WIN98
When I run this sript install:

!AddPluginDir "C:\myplugindir\nsis\"

outFile "test.exe"

section
SetOutPath $PLUGINSDIR
nsis_hor::CheckAuth /NOUNLOAD "sa" "37Kreilis" "." "FTGWIN" "MSSQL" "0"
MessageBox MB_OK "test2"
sectionEnd

Function .onGUIInit
InitPluginsDir
FunctionEnd
At win98 box, my custom dll is not apearing in plugins directory. This sounds to me like it is not loaded at all or removed (because I have seen that plugins called at guiinit works)
Also I have to mention I am testing it on virtual box and it works on other os.


Any ideas why I do not have that file?

Gints

as far as i remember, scripts don't work well on win 9x if you don't use quotes for every operation with directories or files.


Try moving InitPluginsDir to .onInit

Stu


Originally posted by Afrow UK
Try moving InitPluginsDir to .onInit
When using the plugin::export syntax, calling InitPluginsDir is not required at all (But you need it before calling SetOutPath $pluginsdir if you really need that to be the current directory)