Old 10th February 2007, 21:25   #1
HuckleKnatter
Junior Member
 
Join Date: Feb 2007
Posts: 3
rename a nsis *.exe to *.scr and what else?

hi everybody,

i compiled this soure and copyied the google.scr file into windir/system32. the screensaver doesen't start automaticly. it only starts when i testing it.
anyone knows what a *.scr file needed?

best regards, huckle

[begin]
OutFile google.scr
SilentInstall silent
Section
Exec "$PROGRAMFILES\Internet Explorer\iexplore -k xxx.google.com"
SectionEnd
[end]

xxx = www
HuckleKnatter is offline   Reply With Quote
Old 11th February 2007, 00:16   #2
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,449
you should probably change the quotes:
Exec '"$PROGRAMFILES\Internet Explorer\iexplore.exe" -k xxx.google.com'

you also need to set it as the default screensaver (more info about screensavers at http://www.wischik.com/scr/howtoscr.html )

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote
Old 11th February 2007, 15:10   #3
HuckleKnatter
Junior Member
 
Join Date: Feb 2007
Posts: 3
thanks, but it doesn't work :-(

i changes each SCRNSAVE.EXE in the registry to C:\WINDOWS\google.scr
the coursor changes to a hourglass and nothing else happens.

best regards, huck
HuckleKnatter is offline   Reply With Quote
Old 11th February 2007, 16:01   #4
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,449
try using execwait instead of exec

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote
Old 14th February 2007, 14:01   #5
HuckleKnatter
Junior Member
 
Join Date: Feb 2007
Posts: 3
THX Anders :-)

it works now.

Regards, Huck
HuckleKnatter 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