Go Back   Winamp Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 19th December 2008, 16:24   #1
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,338
Lightbulb SuperPiMP my setup

I've just read about a cool idea I'd like to implement for NSIS. Users send in their scripts or parts of them and we wax, polish, shine and install cool features. The SuperPiMP'ed scripts are then posted to a website along with explanations of why things were done so other users can learn how to SuperPiMP their own scripts or simply get to know cool new tricks.

I was thinking of posting that in the form of a blog as that would allow neat archiving and the ability to easily post comments. We can install WordPress on nsis.sf.net. I already have a syntax highlighter for my own blog which can be used there. The only obstacle with that would be creating a matching theme.

So if anyone is willing to take on creating a place to put up those things with syntax highlighting and comments that would also look good (doesn't have to be Wordpress), I'm willing to take a script every two to three weeks. If not, I might just implement it as another category on my own blog.

The idea is based on Prototype's pimp my code which is in turn based on insult my code.

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Old 6th January 2009, 23:11   #2
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,338
Now that the holiday season is over and people are actually visiting the forums, I want to bring this up again. Any takers or is this going down the drain?

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Old 10th January 2009, 00:06   #3
shuffle2
Junior Member
 
Join Date: Jan 2009
Posts: 2
Ok attached and quoted are the parts of my script so far.
Improvements I'd like to see:
  • Package 32bit and 64bit binaries
  • Let the user pick which parts to install (allow installation of 64bit items in addition to 32bit items if they're running an x64 OS)
  • Allow for side-by-side installations (ie svn revision 1200 is separately managed from rev 1201, etc). I think I have this complete filename-wise, but not registry-wise.
  • Sprucing up of anything you think is ugly

Thanks a lot for doing this, it is a really great idea!

GetSVNRev.nsi:
code:
OutFile "GetSVNRev.exe"
SilentInstall silent
Section
; Create template for SubWCRev
FileOpen $R0 "svnrev_template.txt" w
FileWrite $R0 '!define PRODUCT_VERSION "$$WCREV$$"'
FileClose $R0
; Call SubWCRev!
Exec "..\Source\Core\Common\SubWCRev.exe ..\ svnrev_template.txt svnrev.txt"
SectionEnd



Installer.nsi attached
shuffle2 is offline   Reply With Quote
Old 10th January 2009, 00:07   #4
shuffle2
Junior Member
 
Join Date: Jan 2009
Posts: 2
ok i guess "preview post" clears your attached files...
Attached Files
File Type: nsi installer.nsi (8.9 KB, 180 views)
shuffle2 is offline   Reply With Quote
Old 10th January 2009, 22:23   #5
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,338
Thanks shuffle2, but I'm afraid that's not exactly what I meant. The idea was taking medium sized and above scripts and improve on those. That means fixing common bugs, using lesser known features, making the code prettier and generally improving whatnot. Adding new features people need to existing scripts could be nice too, but can be covered in Wiki pages. SuperPiMP'ing a script gives everyone a better idea of what should not be done and how it should be done instead with real world examples.

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Old 12th January 2009, 19:02   #6
Red Wine
Forum King
 
Red Wine's Avatar
 
Join Date: Mar 2006
Location: Ath. GR
Posts: 2,078
I might not figure correctly how the SuperPimp thing working, so allow me to ask,
Is this some kind of bot which scans/boosts/improves nsis code or men do the job?

Unfortunately, in both cases I don't own a place to host SP, but if it is men's job I could contribute with my small nsis'ing knowledge.

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 12th January 2009, 19:53   #7
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,338
I wish I had something automatic for that It's all manual labor. I'll contact you know once the scripts flow in for SuperPiMP'ing. Thanks.

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Old 12th January 2009, 20:23   #8
Red Wine
Forum King
 
Red Wine's Avatar
 
Join Date: Mar 2006
Location: Ath. GR
Posts: 2,078
Aye, Captain.

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 15th January 2009, 08:43   #9
BuilderBob
Junior Member
 
Join Date: Mar 2008
Posts: 35
I have some header files i'd like to pimp. Did you already find a proper host?
BuilderBob is offline   Reply With Quote
Old 15th January 2009, 09:59   #10
MSG
Major Dude
 
Join Date: Oct 2006
Posts: 1,849
Just to show my random (and ultimately useless) support - I think this is a very interesting idea. My NSIS is by no means perfect, so I'm looking forward to seeing what the pros can teach us about how to do things right instead. Unfortunately I don't think I have anything specific that I could offer for pimping... I only have one installer framework, and it is 3000 lines not counting the usual includes. And even if you wanted something that big, it's not just mine to give away. >__>
MSG is offline   Reply With Quote
Old 15th January 2009, 10:38   #11
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,338
We still have no candidates. I might take a random open source project's installer eventually to get things started.

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Old 15th January 2009, 13:22   #12
Ivanov
Junior Member
 
Join Date: Apr 2008
Posts: 8
Mybe you can take a look at FileZilla project:
http://filezilla.cvs.sourceforge.net...ource/install/

it uses Installoptions and MUI, so it could be shown how to update it to use MUI2 and nsDialogs. Maybe there are also some other things to "pimp"
Ivanov is offline   Reply With Quote
Old 21st February 2009, 20:20   #13
Yathosho
Forum King
 
Yathosho's Avatar
 
Join Date: Jan 2002
Location: AT-DE
Posts: 3,185
Send a message via ICQ to Yathosho
i've been sick for three weeks, so i need to catch up a lot of work. here is the wordpress theme for the site, it's not finished. css is valid, html isn't and i think the sidebar still needs adjustments. hopefully someone can continue from here. sorry for letting you down!
Attached Files
File Type: 7z wp-nsis.7z (58.3 KB, 74 views)
Yathosho 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