MSFN Forum: Remove the sounds - MSFN Forum

Jump to content



Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Remove the sounds Rate Topic: -----

#1 User is offline   rootfixxxer 

  • Junior
  • Pip
  • Group: Members
  • Posts: 70
  • Joined: 14-July 04

Posted 06 August 2004 - 07:47 AM

when the windows starts and finsihes!??!?

or replace them by another ones(the default ones)???? :)


how can i do this???


#2 User is offline   MCT 

  • MSFN Junkie
  • PipPipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 3,288
  • Joined: 19-May 04

Posted 06 August 2004 - 07:50 AM

hi :D

HKEY_CURRENT_USER\AppEvents\Schemes\Apps\.Default

i assume u can figure it out from there :)
Tip: dont delete the key.. just delete the value :rolleyes:

regards

#3 User is offline   sfamonkey 

  • Junior
  • Pip
  • Group: Members
  • Posts: 77
  • Joined: 22-July 04

Posted 06 August 2004 - 07:52 AM

You can do this by going to the control panel and clicking sounds and audio and the clicking the sound tab. If you want to do this during an unattended install you would have to write a batch script or some kind of script to move you sound files to C:\windows\media

#4 User is offline   MCT 

  • MSFN Junkie
  • PipPipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 3,288
  • Joined: 19-May 04

Posted 06 August 2004 - 07:56 AM

xcopy "%systemdrive%\Install\Sounds\sound.wav" "%windir%\Media" /Y

of course change the directories if it isnt what u use :)

#5 User is offline   rootfixxxer 

  • Junior
  • Pip
  • Group: Members
  • Posts: 70
  • Joined: 14-July 04

Posted 06 August 2004 - 08:02 AM

thanks i found it in the regedit....

:) :rolleyes: :D

#6 User is offline   DexStar 

  • Group: Members
  • Posts: 4
  • Joined: 11-August 04

Posted 17 August 2004 - 02:10 PM

How to remove just the value in a .reg file?

#7 User is offline   aknott 

  • Junior
  • Pip
  • Group: Members
  • Posts: 64
  • Joined: 27-January 04

Posted 17 August 2004 - 03:13 PM

to remove a value in a reg file do like that

[THE_KEY]
"thevalue"=-
the - means to remove the value

to remove a whole key (be carefull)
just use that
[-THEKEY]
here, the - means to remove the key

hope it helps

#8 User is offline   DexStar 

  • Group: Members
  • Posts: 4
  • Joined: 11-August 04

Posted 17 August 2004 - 06:21 PM

aknott, on Aug 17 2004, 03:13 PM, said:

to remove a value in a reg file do like that

[THE_KEY]
"thevalue"=-
the - means to remove the value

to remove a whole key (be carefull)
just use that
[-THEKEY]
here, the -  means to remove the key

hope it helps

Thanks aknott. Works perfectly! :thumbup

#9 User is offline   jcarle 

  • MSFN Master
  • Group: Developers
  • Posts: 2,569
  • Joined: 14-August 04

Posted 17 August 2004 - 06:35 PM

My god people. Why complicate your lives so much? There's a very slick and SIMPLE solution. :D

Open \I386\HIVEDEF.INF.

All your sound scheme settings are at the very top.

To assist you with editing the registry hive INF file, here's some more information.

Entries take the following format:
BASEHIVE, KEY, VALUENAME, DATATYPE, VALUE


If you take the following line:
HKCU,"AppEvents\Schemes\Apps\.Default\DeviceDisconnect\.Current","",0x00020000,"%SystemRoot%\media\%WINDOWS_XP_HARDWARE_REMOVE%"

HKCU means that this registry entry will be added to HKEY_CURRENT_USER (which is .Default user during setup and eventually copies over to each user created).
"AppEvents\Schemes\Apps\.Default\DeviceDisconnect\.Current" is the registry key in which to add the value.
"" is the value name (being that it is blank, (Default) will be used.) to add.
0x00020000 is the value data type (REG_EXPAND_SZ).
"%SystemRoot%\media\%WINDOWS_XP_HARDWARE_REMOVE%" is the value to add.

The data types you can use are:
; Registry Data Types
;
; Types with NOCLOBBER don't overwrite existing values
; Types with APPEND appends the specified value to the existing value
;
; REG_ADDREG_APPEND = 0x00010008

; REG_BINARY = 0x00000001 (or 1)
; REG_BINARY_NOCLOBBER = 0x00000003 (or 3)
; Binary data in any form.

; REG_MULTI_SZ = 0x00010000
; REG_MULTI_SZ_APPEND = 0x0001000A
; REG_MULTI_SZ_NOCLOBBER = 0x00010002
; REG_MULTI_SZ_DELVAL = 0x00010006
; Array of null-terminated strings that are terminated by two null characters. 

; REG_SZ = 0x00000000 (or 0)
; REG_SZ_NOCLOBBER = 0x00000002 (or 2)
; Null-terminated string. It will be a Unicode or ANSI string, depending on whether you use the Unicode or ANSI functions.

; REG_EXPAND_SZ = 0x00020000
; REG_EXPAND_SZ_NOCLOBBER = 0x00020002
; Null-terminated string that contains unexpanded references to environment variables (for example, "%PATH%"). It will be a Unicode or ANSI string, depending on whether you use the Unicode or ANSI functions. 

; REG_DWORD = 0x00010001
; REG_DWORD_NOCLOBBER = 0x00010003
; 32-bit number.


Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy