RE: [Unattended] How to disable sound
Hello Werner, try out this: ::Turn off Sound-System todo.pl .ignore-err 255 startup-type.pl Manual AudioSrv ::Turn on Sound-System todo.pl .ignore-err 255 startup-type.pl Automatic AudioSrv Kind Regards Thomas Pohl IT department SUSAT PARTNER OHG Domstrasse 15 D-20095 Hamburg Tel.: +49(0)40 - 415 22-128 Fax: +49(0)40 - 415 22-933 e-mail: [EMAIL PROTECTED] http://www.susat.de/ - Nachricht von pommerer [EMAIL PROTECTED] auf Thu, 17 Nov 2005 12:22:58 +0100 - An: unattended-info@lists.sourceforge.net Thema: [Unattended] How to disable sound Hi, does anybody know, how to disable/enable sound during install? Regards, Werner -- Werner Pommerer email: [EMAIL PROTECTED] Rechenzentrum Universität Hohenheim Schloß Westhof Süd Telefon: +49 (0711) 459 2837 70593 Stuttgart Fax: +49 (0711) 459 3449 -- Diese Nachricht enthaelt vertrauliche Informationen und ist ausschliesslich fuer den Adressaten bestimmt. Falls Sie diese Nachricht irrtuemlich erhalten sollten, bitten wir Sie um telefonische Benachrichtigung unter Tel. +49(0)40/41522-0 oder um Ruecksendung an uns. This message may contain confidential information and is intended solely for the use by the addressee. If you have received this message in error, please immediately notify us by telephone +49(0)40 41522-0 or return the original message to us. --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_idv28alloc_id845op=click ___ unattended-info mailing list unattended-info@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/unattended-info
RE: [Unattended] how to disable sound
I spent several hours scouring the web about this issue and found the module Win32::Sound that is available via ppm from ActiveState. Here is some sample code to mute and unmute the volume. use Win32::Sound; Win32::Sound::Volume(0); # turn sound off Win32::Sound::Volume(65535); # set sound to max volume The module supports lots of other features. The details can be found here: http://www.xav.com/perl/site/lib/Win32/Sound.html My question is how do I include or access modules (like this one) that do not come with the default perl installion from ActiveState. Tyler -Original Message- From: Patrick J. LoPresti [mailto:[EMAIL PROTECTED] Sent: Saturday, February 14, 2004 9:11 AM To: pommerer Cc: 'Unattended List (E-mail)' Subject: Re: [Unattended] how to disable sound pommerer [EMAIL PROTECTED] writes: how is it possible to disable/enable sound during installation (base.bat) Interesting question. The best I can find is this VB script from Microsoft: http://support.microsoft.com/?id=178456 I tried and failed to find a way to do this from Perl. The problem is that there is no COM interface for controlling the Windows Mixer; you need to call functions inside winmm.dll (and I do not think rundll32 will work for this). - Pat --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ unattended-info mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/unattended-info --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ unattended-info mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/unattended-info
Re: [Unattended] how to disable sound
pommerer [EMAIL PROTECTED] writes: how is it possible to disable/enable sound during installation (base.bat) Interesting question. The best I can find is this VB script from Microsoft: http://support.microsoft.com/?id=178456 I tried and failed to find a way to do this from Perl. The problem is that there is no COM interface for controlling the Windows Mixer; you need to call functions inside winmm.dll (and I do not think rundll32 will work for this). - Pat --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356alloc_id=3438op=click ___ unattended-info mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/unattended-info