Skip to content
⌘ NSIS Forum Archive

exclude?

36 posts

Guest#
1.
Invalid command: Processes::FindProcess
Error in script "C:\Documents and Settings\xxx\wtykpak.nsi" on line 35 -- aborting creation process
2. Something from it try (taste) extract, but damage, that you do not want to give example :P.
3. Ok, due to 🙂. Then it will try.
4. Never it isn't known where anybody has installed given program :P.
kichik#
  1. You probably forgot to copy Processes.dll into the Plugins directory.
  2. It's all in the MUI readme.
  3. Finding out where a program is installed depends on your program. If your program writes the installation directory to the registry, read it from there. If it writes into some INI in the Windows directory, read it from there. If it doesn't write anything, give the user an option to locate it using the directory page.
Guest#
1. That and where copy mums?
2. I do not know english on so many well 🙁. Anybody could say me as change it:
a) http://img203.exs.cx/my.php?loc=img203&image=a7rm.png
b) http://img207.exs.cx/my.php?loc=img207&image=as7yp.png
c) http://img220.exs.cx/my.php?loc=img220&image=ds2zr.png
d) http://img232.exs.cx/img232/1526/a5tj.png

Very please 🙂.

3. Sound does not act at me it 🙁. And this original and personal.

4. OK.

Please, about assistance very 🙂.
kichik#
  1. I still don't understand what mums is. Simply put the DLL in the Plugins directory. For example: C:\Program Files\NSIS\Plugins
  2. Sorry, not me.
  3. Post a code example showing the problem.
Guest#
1. Now have:
Error: Can't add entry, no section or function is open!
Error in script "C:\Documents and Settings\AMD 64 3400\Pulpit\ins\Wtyczki\wtykpak.nsi" on line 45 -- aborting creation process
2. Ok, but I would ask other somebody it 🙂.
3. Sound does not act in this example:
Name "Splash.dll test"

OutFile "Splash Test.exe"

XPStyle on

Function .onInit
# the plugins dir is automatically deleted when the installer exits
InitPluginsDir
File /oname=$PLUGINSDIR\splash.bmp "${NSISDIR}\Contrib\Makensisw\logo.bmp"
#optional
#File /oname=$PLUGINSDIR\splash.wav "C:\myprog\sound.wav"

splash::show 1000 $PLUGINSDIR\splash

Pop $0 ; $0 has '1' if the user closed the splash screen early,
; '0' if everything closed normal, and '-1' if some error occured.
FunctionEnd

Section
SectionEnd
Certainly it serves paths good.
kichik#
  1. You must put that code in a section or a function. You can't execute anything out of a section or a function.
  2. You didn't remove the comment from the extracting of the wave file. Remove the comments and put a valid path and it should work.