Go Back   Winamp Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 9th March 2002, 00:23   #1
ryan
not fucked, not quite.
(Forum King)
 
ryan's Avatar
 
Join Date: Feb 2002
Location: Tn
Posts: 8,755
Send a message via AIM to ryan
PIMP Installer question.

18 How do you make it create a folder or just make it archive the damn thing?
ryan is offline   Reply With Quote
Old 9th March 2002, 02:05   #2
Rocker
Moderator
 
Join Date: Jun 2000
Location: Melbourne, Australia
Posts: 9,904
please explain your problem...because it makes no sense

when you set an installation directory NSIS will create the directory itself, upon activation

If your interested in updating/contributing to winamp's tech support greatest hits forum
Please start a thread in winamp's discussion forum with what you would like to see along with your update for review
Rocker is offline   Reply With Quote
Old 9th March 2002, 02:09   #3
ryan
not fucked, not quite.
(Forum King)
 
ryan's Avatar
 
Join Date: Feb 2002
Location: Tn
Posts: 8,755
Send a message via AIM to ryan
So it dosent ask if you want to create it?....

If so heres my Pimp file

[Start File]
Name Idiot boxv1.0
OutFile idiotboxv1.exe
DefaultDir C:\Program Files\Winamp\plugins\avs
AddFile C:\Program Files\Winamp\Plugins\AVS\idiot box\*.avs
Text This will install The idiot box v1.0.
[end file]

If you could edit that and make it where it creates the folder and installs to C:\Program Files\Winamp\Plugins\AVS\Idiot Box
ryan is offline   Reply With Quote
Old 9th March 2002, 02:38   #4
Rocker
Moderator
 
Join Date: Jun 2000
Location: Melbourne, Australia
Posts: 9,904
code:

Name "idiot box v1.0"
OutFile "idiotbox10.exe"

; Some default compiler settings (uncomment and change at will):
; SetCompress auto ; (can be off or force)
; SetDatablockOptimize on ; (can be off)
; CRCCheck on ; (can be off)
; AutoCloseWindow false ; (can be true for the window go away automatically at end)
; ShowInstDetails hide ; (can be show to have them shown, or nevershow to disable)
; SetDateSave off ; (can be on to have files restored to their orginal date)

InstallDir "$PROGRAMFILES\Winamp\plug-ins\AVS\"
InstallDirRegKey HKEY_LOCAL_MACHINE "SOFTWARE\idiot box v1.0" ""
DirShow show ; (make this hide to not let the user change it)
DirText "Select the directory to install myApp in:"

Section "" ; (default section)
SetOutPath "$INSTDIR"
; add files / whatever that need to be installed here.
WriteRegStr HKEY_LOCAL_MACHINE "SOFTWARE\idiot box v1.0" "" "$INSTDIR"
SectionEnd ; end of default section


; eof



edit this for your settings and add your files
compile it and it should work

If your interested in updating/contributing to winamp's tech support greatest hits forum
Please start a thread in winamp's discussion forum with what you would like to see along with your update for review
Rocker is offline   Reply With Quote
Old 9th March 2002, 04:26   #5
SQwerl
Junior Member
 
Join Date: Dec 2001
Location: USA
Posts: 41
I think they mean, PiMP not, NSIS. I played with PiMP if indeed that is the installer they are using, and i had no luck whatsoever. Probably my own error. But anyway, I would recommend using NSIS instead.
SQwerl is offline   Reply With Quote
Old 11th March 2002, 05:27   #6
DuaneJeffers
Major Dude
 
DuaneJeffers's Avatar
 
Join Date: May 2001
Location: Winter Park, FL
Posts: 1,776
Umm, Try putting the text function before the DefaultDir tag.

You can see this in my psc script. It runs fine.

-Duane
Attached Files
File Type: zip php-func-inst.zip (370 Bytes, 59 views)

Website

Yeah, that's pretty much it. :-\
DuaneJeffers is offline   Reply With Quote
Reply
Go Back   Winamp 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