Go Back   Winamp Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 23rd May 2001, 20:20   #1
The Master
Junior Member
 
Join Date: May 2001
Location: Wisconsin
Posts: 8
Send a message via ICQ to The Master
I'd do this myself but (1) I'm not a very good C programmer, and (2) I don't have 3 billion dollars for M$es damn C compiler

1) When doing an install in NT/2K, it would be nice to be able to say "install to ALL users" - by default the installer only does the logged in user. Not real sure how to implement this one tho. I'd assume a new $variable, but you'd also need to be able to differentiate the install in the script.

2) I need to install some font files. I think I can just drop them to the fonts directory, but that isn't necessarily easy, since a user can remap the fonts folder using the shell namespace. I wanted to add a $FONTDIR variable, but here I get stopped by my lack of a compiler. The BETTER solution here was be a pseudo-variable that can reference the shell folders. There's already a helper function in util.c to do the lookup, but you'd need a variable like this to do the callout:

$SHELLFOLDER(Fonts)

It would just pass "Fonts" to the queryShellFolders helper function and return that as the result. Naturally, this would suck if it blew up, but that could maybe just dump the value of $TEMP into a failed request.

Any thoughts?
The Master is offline   Reply With Quote
Old 23rd May 2001, 21:54   #2
c2R
Stereotype?
(Forum King)
 
c2R's Avatar
 
Join Date: Jan 2001
Location: Ware, England
Posts: 3,511
These are both things that I've wanted to do at one time or another, and ended up using batch files, and other convoluted ways of getting around the problem!

So I think they're both excellent ideas!
c2R is offline   Reply With Quote
Old 23rd May 2001, 22:07   #3
yazno
Member
 
Join Date: Oct 2000
Posts: 92
Send a message via ICQ to yazno
hi,

use my function and it will work:

http://forums.winamp.com/showthread.php?threadid=50066

cu yzo


yazno 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