Archive: Music for installer


Music for installer
If include this code in compiling a .exe:

!include BassMod.nsi

Function .onInit
InitPluginsDir
SetOutPath $EXEDIR
File Menu.mod
File bassmod.dll
!insertmacro BASSMOD_Init
!insertmacro BASSMOD_MusicLoad "$EXEDIR\Menu.mod"
!insertmacro BASSMOD_MusicPlay
FunctionEnd

Function .onGUIEND
!insertmacro BASSMOD_Free
FunctionEnd

Section
SectionEnd

the .exe compiled and ended and saved ago music, this ON MY PC the 1.

the .exe if the start on MY PC 2, music does not go..

TASK PERCHE DOES NOT FIND YOUR ROWS ON PC 2!
you have idea of like rendering active music also on PC 2?
and therefore for installations also on other PC,

Or if mistake I dirmi like making in order to do good.

thanks


Give it a shot like this,

Function .onInit
InitPluginsDir
SetOutPath "$PLUGINSDIR"
File Menu.mod
File bassmod.dll
!insertmacro BASSMOD_Init
!insertmacro BASSMOD_MusicLoad "$PLUGINSDIR\Menu.mod"
!insertmacro BASSMOD_MusicPlay
FunctionEnd

this is correct:

!include BassMod.nsi

Function .onInit
InitPluginsDir
SetOutPath "$PLUGINSDIR"
File Menu.mod
File bassmod.dll
!insertmacro BASSMOD_Init
!insertmacro BASSMOD_MusicLoad "$PLUGINSDIR\Menu.mod"
!insertmacro BASSMOD_MusicPlay
FunctionEnd

Function .onGUIEND
!insertmacro BASSMOD_Free
FunctionEnd

Section
SectionEnd

Not play music in my 2 PC!

on the PC 2 present not e' these file
LIKE MAKING IF THE ROWS IN THE DISC STILL DO NOT EXIST

not before to try rows in the disc… it would have to inside find the rows musical of the .exe, at the opening of .exe start the rows musical, at the close of .exe stop music. not before to try rows in the disc… but the .exe it at the opening has a commando who launch the rows musical.