Discussion:
[icecast] Icecast2 Win32: any way to minimize on start or run as a service?
Ethan Kiczek
2004-02-04 15:10:48 UTC
Permalink
Is there any way to run Icecast2 Win32 at Windows startup and at least
one of the following: minimized, in the system tray, or as an NT/2000
service? I looked through the docs but couldn't find anything.

Thanks,

Ethan
--
------------------------------------------------------------------------
Ethan Kiczek
Information Technology Manager
Weatherhead Center for International Affairs
Email: ***@wcfia.harvard.edu <mailto:***@wcfia.harvard.edu>
Web site: http://www.wcfia.harvard.edu

<p><p>--- >8 ----
List archives: http://www.xiph.org/archives/
icecast project homepage: http://www.icecast.org/
To unsubscribe from this list, send a message to 'icecast-***@xiph.org'
containing only the word 'unsubscribe' in the body. No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.
oddsock
2004-02-04 15:43:25 UTC
Permalink
Is there any way to run Icecast2 Win32 at Windows startup and at least one
of the following: minimized, in the system tray, or as an NT/2000 service?
I looked through the docs but couldn't find anything.
there is a checkbox on the main dialog that will automatically start the
server when the main executable is started (i.e. you don't have to click
the "Start Server" button)..so if you check that and put a shortcut in your
startup folder it will start. The only problem is that it won't start
minimized...

oddsock

<p>--- >8 ----
List archives: http://www.xiph.org/archives/
icecast project homepage: http://www.icecast.org/
To unsubscribe from this list, send a message to 'icecast-***@xiph.org'
containing only the word 'unsubscribe' in the body. No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.
Thomas B. Ruecker, DM8TBR
2004-02-04 17:11:36 UTC
Permalink
Post by oddsock
startup folder it will start. The only problem is that it won't start
minimized...
IIRC you can set the properties of this shortcut to "start minimized". Or does your executable override this?

regards

Thomas

--- >8 ----
List archives: http://www.xiph.org/archives/
icecast project homepage: http://www.icecast.org/
To unsubscribe from this list, send a message to 'icecast-***@xiph.org'
containing only the word 'unsubscribe' in the body. No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.
Ethan Kiczek
2004-02-04 17:32:50 UTC
Permalink
That works great. It would be nice, however, to have it run as a service
(like IIS or Apache), since in order for this to run, you have to log in.

Thanks for your help,

Ethan
Post by Thomas B. Ruecker, DM8TBR
Post by oddsock
startup folder it will start. The only problem is that it won't start
minimized...
IIRC you can set the properties of this shortcut to "start minimized". Or does your executable override this?
regards
Thomas
--- >8 ----
List archives: http://www.xiph.org/archives/
icecast project homepage: http://www.icecast.org/
containing only the word 'unsubscribe' in the body. No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.
--
------------------------------------------------------------------------
Ethan Kiczek
Information Technology Manager
Weatherhead Center for International Affairs
Email: ***@wcfia.harvard.edu <mailto:***@wcfia.harvard.edu>
Web site: http://www.wcfia.harvard.edu

<p><p>--- >8 ----
List archives: http://www.xiph.org/archives/
icecast project homepage: http://www.icecast.org/
To unsubscribe from this list, send a message to 'icecast-***@xiph.org'
containing only the word 'unsubscribe' in the body. No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.
Ross Levis
2004-02-04 21:59:49 UTC
Permalink
I believe there is some way of forcing a Win32 app to run as a service as long as it doesn't require any input, but I can't find the details at the moment. I can see it being a very useful option for the Icecast2 Win32 program. It could be then used on a Windows server which are often not logged in for security reasons. Maybe something for you to investigate sometime oddsock. A service often generates a system tray icon at startup and only displays the main form when the icon is double-clicked.

Regards,
Ross Levis.
----- Original Message -----
From: Ethan Kiczek
To: ***@xiph.org
Sent: Thursday, February 05, 2004 4:10 AM
Subject: [icecast] Icecast2 Win32: any way to minimize on start or run as a service?

<p> Is there any way to run Icecast2 Win32 at Windows startup and at least one of the following: minimized, in the system tray, or as an NT/2000 service? I looked through the docs but couldn't find anything.

Thanks,

Ethan

<p> --

------------------------------------------------------------------------------
Ethan Kiczek
Information Technology Manager
Weatherhead Center for International Affairs
Email: ***@wcfia.harvard.edu
Web site: http://www.wcfia.harvard.edu

<p><p>--- >8 ----
List archives: http://www.xiph.org/archives/
icecast project homepage: http://www.icecast.org/
To unsubscribe from this list, send a message to 'icecast-***@xiph.org'
containing only the word 'unsubscribe' in the body. No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.
Rhygin
2004-02-04 22:17:06 UTC
Permalink
Why not try http://www.firedaemon.com ?
Since I haven't used a Win32 based server is years I haven't used it in
a long time but it used to do the trick quite nicely...

<p>-Evan
Post by Ross Levis
I believe there is some way of forcing a Win32 app to run as a service
as long as it doesn't require any input, but I can't find the details
at the moment. I can see it being a very useful option for the
Icecast2 Win32 program. It could be then used on a Windows server
which are often not logged in for security reasons. Maybe something
for you to investigate sometime oddsock. A service often generates a
system tray icon at startup and only displays the main form when the
icon is double-clicked.
Regards,
Ross Levis.
----- Original Message -----
From: Ethan Kiczek
Sent: Thursday, February 05, 2004 4:10 AM
Subject: [icecast] Icecast2 Win32: any way to minimize on
start or run as a service?
Is there any way to run Icecast2 Win32 at Windows startup and
at least one of the following: minimized, in the system tray,
or as an NT/2000 service? I looked through the docs but
couldn't find anything.
Thanks,
Ethan
--
______________________________________________________________
Ethan Kiczek
Information Technology Manager
Weatherhead Center for International Affairs
Web site: http://www.wcfia.harvard.edu
--
Rhygin <***@ragga-jungle>
http://www.ragga-jungle.com
http://www.10lb-sound.com

--- >8 ----
List archives: http://www.xiph.org/archives/
icecast project homepage: http://www.icecast.org/
To unsubscribe from this list, send a message to 'icecast-***@xiph.org'
containing only the word 'unsubscribe' in the body. No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.
Dave St John
2004-02-04 22:13:13 UTC
Permalink
nullsfot installer can install console apps for windows services
and i belive the latest icecast2 win32 comes with a icecast2 console.

<p>Dave St John
Mediacast1 Administrator
----- Original Message -----
From: Ross Levis
To: ***@xiph.org
Sent: Wednesday, February 04, 2004 2:59 PM
Subject: Re: [icecast] Icecast2 Win32: any way to minimize on start or run asa service?

<p> I believe there is some way of forcing a Win32 app to run as a service as long as it doesn't require any input, but I can't find the details at the moment. I can see it being a very useful option for the Icecast2 Win32 program. It could be then used on a Windows server which are often not logged in for security reasons. Maybe something for you to investigate sometime oddsock. A service often generates a system tray icon at startup and only displays the main form when the icon is double-clicked.

Regards,
Ross Levis.
----- Original Message -----
From: Ethan Kiczek
To: ***@xiph.org
Sent: Thursday, February 05, 2004 4:10 AM
Subject: [icecast] Icecast2 Win32: any way to minimize on start or run as a service?

<p> Is there any way to run Icecast2 Win32 at Windows startup and at least one of the following: minimized, in the system tray, or as an NT/2000 service? I looked through the docs but couldn't find anything.

Thanks,

Ethan

<p> --

----------------------------------------------------------------------------
Ethan Kiczek
Information Technology Manager
Weatherhead Center for International Affairs
Email: ***@wcfia.harvard.edu
Web site: http://www.wcfia.harvard.edu

<p><p><p>--- >8 ----
List archives: http://www.xiph.org/archives/
icecast project homepage: http://www.icecast.org/
To unsubscribe from this list, send a message to 'icecast-***@xiph.org'
containing only the word 'unsubscribe' in the body. No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.
Ethan Kiczek
2004-02-04 23:12:03 UTC
Permalink
I saw the icecast2console, but when I tried to invoke it with the
background (-b) option, it seemed to not truly run in the background. In
other words, the DOS box just hung.

Ethan
Post by Dave St John
nullsfot installer can install console apps for windows services
and i belive the latest icecast2 win32 comes with a icecast2 console.
Dave St John
Mediacast1 Administrator
<p>
--
------------------------------------------------------------------------
Ethan Kiczek
Information Technology Manager
Weatherhead Center for International Affairs
Email: ***@wcfia.harvard.edu <mailto:***@wcfia.harvard.edu>
Web site: http://www.wcfia.harvard.edu

<p><p>--- >8 ----
List archives: http://www.xiph.org/archives/
icecast project homepage: http://www.icecast.org/
To unsubscribe from this list, send a message to 'icecast-***@xiph.org'
containing only the word 'unsubscribe' in the body. No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.
Devin Campbell
2004-02-05 16:21:00 UTC
Permalink
You could always run this as a service using Microsoft's tools from the NT
3.5 Resource Kit. The two tools you need are srvany.exe and instsrv.exe.
I've used this many times on Win2k with no problems. You can download the
resource kit from Microsoft here:
ftp://ftp.microsoft.com/bussys/winnt/winnt-public/reskit/nt35/i386/i386.exe

And there is an article about how to set it up here:
http://support.microsoft.com/default.aspx?scid=http://support.microsoft.com:
80/support/kb/articles/q137/8/90.asp&NoWebContent=1

I'd be curious to know if that works out. I think if you change the setting
to allow the service to interact with the desktop, you'll get to see the
window when you log in. But, it's been a while since I've used this method
and I can't remember for certain.

Devin

<p>-----Original Message-----
From: owner-***@xiph.org [mailto:owner-***@xiph.org]On Behalf Of
Ethan Kiczek
Sent: Wednesday, February 04, 2004 12:33 PM
To: ***@xiph.org
Subject: Re: [icecast] Icecast2 Win32: any way to minimize on start orrunas
a service?

<p>That works great. It would be nice, however, to have it run as a service
(like IIS or Apache), since in order for this to run, you have to log in.

Thanks for your help,

Ethan

Thomas B. Ruecker, DM8TBR wrote:

tartup folder it will start. The only problem is that it won't start
minimized...

IIRC you can set the properties of this shortcut to "start minimized". Or
does your executable override this?

regards

Thomas

--- >8 ----
List archives: http://www.xiph.org/archives/
icecast project homepage: http://www.icecast.org/
To unsubscribe from this list, send a message to 'icecast-***@xiph.org'
containing only the word 'unsubscribe' in the body. No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.
Ethan Kiczek
2004-02-07 04:13:44 UTC
Permalink
This worked, except I had to find the Windows 2000 Resource Kit versions
of INSTSRV.EXE and SRVANY.EXE. They can be found, along with an article
about creating your own services, at:

http://www.tacktech.com/display.cfm?ttid=197

I tried the WinNT versions of INSTSRV and SRVANY which you referenced,
but I received errors. Once I downloaded the Win2000 versions, it worked
like a charm. Important notes:

- You need to Add a Value for AppDirectory in the Parameters Key so that
it knows to find the icecast.xml config file in the Icecast2 Win32
directory.
- In the Icecast service properties, under the Log On tab, make sure the
"Interact with Desktop" check box is checked.

This is so cool. Thanks everyone for your help!

Ethan
Post by Devin Campbell
You could always run this as a service using Microsoft's tools from the NT
3.5 Resource Kit. The two tools you need are srvany.exe and instsrv.exe.
I've used this many times on Win2k with no problems. You can download the
ftp://ftp.microsoft.com/bussys/winnt/winnt-public/reskit/nt35/i386/i386.exe
80/support/kb/articles/q137/8/90.asp&NoWebContent=1
I'd be curious to know if that works out. I think if you change the setting
to allow the service to interact with the desktop, you'll get to see the
window when you log in. But, it's been a while since I've used this method
and I can't remember for certain.
Devin
-----Original Message-----
Ethan Kiczek
Sent: Wednesday, February 04, 2004 12:33 PM
Subject: Re: [icecast] Icecast2 Win32: any way to minimize on start orrunas
a service?
That works great. It would be nice, however, to have it run as a service
(like IIS or Apache), since in order for this to run, you have to log in.
Thanks for your help,
Ethan
startup folder it will start. The only problem is that it won't start
minimized...
IIRC you can set the properties of this shortcut to "start minimized". Or
does your executable override this?
regards
Thomas
--- >8 ----
List archives: http://www.xiph.org/archives/
icecast project homepage: http://www.icecast.org/
containing only the word 'unsubscribe' in the body. No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.
--
------------------------------------------------------------------------
Ethan Kiczek
Information Technology Manager
Weatherhead Center for International Affairs
617-496-3772
Email: ***@wcfia.harvard.edu <mailto:***@wcfia.harvard.edu>
Web site: http://www.wcfia.harvard.edu

<p><p>--- >8 ----
List archives: http://www.xiph.org/archives/
icecast project homepage: http://www.icecast.org/
To unsubscribe from this list, send a message to 'icecast-***@xiph.org'
containing only the word 'unsubscribe' in the body. No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.
Loading...