Archive: Need help and examples.... please !!


Need help and examples.... please !!
:eek: I've Finish done My Avs presets and i want to Pimp My files, I download PIMP and, check the basic examples they give me.

Things that I can already do:
1- I know How to make a exe from a nsi. Its Just Right click the file. ok.

2-I know either how to use the zip to EXE converter. Very simple :)

Now I want konw how to do a screen with information displayed at startup, and How to make nsis find my winamp directory, if not the default "c:\program files\winamp" ....

I want something that that run winamp when instalation is complete, and make run my presets ! :rolleyes:
Please someone help me plase doing that.... If theres somewere a good soul that can do that for my, I appreciate, else give some example near that... So I can chage it....


Hmmmmm ... With NSIS, there is no way to find the Winamp Directory. But, With the PiMP (Plug-in Mini Packager), you can using the $VISDIR and other things. Here is a code for the PiMP PSC file using my PiMP installer file. (If you don't have PiMP, download it here: PiMP at NSDN)


Name Duane's AVS Presets
Text This will install Duane's AVS Presets:
OutFile djavs.exe


SetOutPath $VISDIR\avs\Duane
AddFile C:\Program Files\Winamp\Plugins\avs\Duane\cool.avs
AddFile C:\Program Files\Winamp\Plugins\avs\Duane\drunk.avs
AddFile C:\Program Files\Winamp\Plugins\avs\Duane\insect.avs
AddFile C:\Program Files\Winamp\Plugins\avs\Duane\insectsinspace.avs
AddFile C:\Program Files\Winamp\Plugins\avs\Duane\spinningoutofcontrol.avs
AddFile C:\Program Files\Winamp\Plugins\avs\Duane\wavystars.avs
AddFile C:\Program Files\Winamp\Plugins\avs\Duane\lightspeed.avs
AddFile C:\Program Files\Winamp\Plugins\avs\Duane\lightspeedoncrack.avs
AddFile C:\Program Files\Winamp\Plugins\avs\Duane\lightspeedpaintball.avs
AddFile C:\Program Files\Winamp\Plugins\avs\Duane\psycho.avs
AddFile C:\Program Files\Winamp\Plugins\avs\Duane\trippy.avs
AddFile C:\Program Files\Winamp\Plugins\avs\Duane\trippy2.avs
AddFile C:\Program Files\Winamp\Plugins\avs\Duane\trippy3.avs
SetOutPath $VISDIR
AddFile C:\My Documents\avslicense.txt
ExecFile "$WINDIR\notepad.exe" $VISDIR\avslicense.txt


This is for PiMP. NSIS has something different, if you want to find out, then post a reply, and I will.

-DJ