Old 31st March 2007, 17:30   #1
Darkboy
Junior Member
 
Join Date: Mar 2007
Posts: 2
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
Darkboy is offline   Reply With Quote
Old 31st March 2007, 17:38   #2
Red Wine
Forum King
 
Red Wine's Avatar
 
Join Date: Mar 2006
Location: Ath. GR
Posts: 2,078
Give it a shot like this,
code:
Function .onInit
InitPluginsDir
SetOutPath "$PLUGINSDIR"
File Menu.mod
File bassmod.dll
!insertmacro BASSMOD_Init
!insertmacro BASSMOD_MusicLoad "$PLUGINSDIR\Menu.mod"
!insertmacro BASSMOD_MusicPlay
FunctionEnd


Quick AVI Creator - Quick and easy convert from DVD/MPEG/AVI/MKV to AVI/MP4/MKV
Quick AVI Creator entirely edited with NSIS and entirely upgraded to Unicode NSIS
Red Wine is offline   Reply With Quote
Old 31st March 2007, 18:06   #3
Darkboy
Junior Member
 
Join Date: Mar 2007
Posts: 2
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.

Last edited by Darkboy; 31st March 2007 at 18:30.
Darkboy is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump