Jump to content

Sound Scheme (registry)


Recommended Posts

I would like to apply during setup my custom Windows Vista like sound scheme. Using the below .reg file the scheme is created although it is not set to the current scheme. I have to go to control panel >> sounds etc. and manually choose "Windows Vista" from the drop-down of sound schemes.

I have tried to apply the .reg file from both cmdlines.txt and cleanup cmd.

Windows Registry Editor Version 5.00


[HKEY_CURRENT_USER\AppEvents\Schemes\Names\Window0]
@="Windows Vista"

[HKEY_CURRENT_USER\AppEvents\Schemes]
@="Window0"

[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\.Default\.Default\.Current]
@="Windows Vista - Pling.wav"

[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\.Default\.Default\Window0]
@="Windows Vista - Pling.wav"


[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\.Default\AppGPFault\.Current]
@=""

[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\.Default\AppGPFault\Window0]
@=""


[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\.Default\CCSelect\.current]
@=""

[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\.Default\CCSelect\Window0]
@=""


[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\.Default\Close\.Current]
@=""

[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\.Default\Close\Window0]
@=""


[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\.Default\CriticalBatteryAlarm\.Current]
@="Windows Vista - Batterinivå kritisk.wav"

[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\.Default\CriticalBatteryAlarm\Window0]
@="Windows Vista - Batterinivå kritisk.wav"


[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\.Default\DeviceConnect\.Current]
@="Windows Vista - Maskinvare settes inn.wav"

[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\.Default\DeviceConnect\Window0]
@="Windows Vista - Maskinvare settes inn.wav"


[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\.Default\DeviceDisconnect\.Current]
@="Windows Vista - Maskinvare fjernes.wav"

[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\.Default\DeviceDisconnect\Window0]
@="Windows Vista - Maskinvare fjernes.wav"


[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\.Default\DeviceFail\.Current]
@="Windows Vista - Maskinvarefeil.wav"

[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\.Default\DeviceFail\Window0]
@="Windows Vista - Maskinvarefeil.wav"


[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\.Default\LowBatteryAlarm\.Current]
@="Windows Vista - Batterinivå lavt.wav"

[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\.Default\LowBatteryAlarm\Window0]
@="Windows Vista - Batterinivå lavt.wav"


[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\.Default\MailBeep\.Current]
@="Windows Vista - Varsel.wav"

[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\.Default\MailBeep\Window0]
@="Windows Vista - Varsel.wav"


[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\.Default\Maximize\.Current]
@=""

[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\.Default\Maximize\Window0]
@=""


[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\.Default\MenuCommand\.Current]
@=""

[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\.Default\MenuCommand\Window0]
@=""


[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\.Default\MenuPopup\.Current]
@=""

[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\.Default\MenuPopup\Window0]
@=""


[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\.Default\Minimize\.Current]
@=""

[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\.Default\Minimize\Window0]
@=""


[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\.Default\Open\.Current]
@=""

[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\.Default\Open\Window0]
@=""


[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\.Default\PrintComplete\.Current]
@=""

[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\.Default\PrintComplete\Window0]
@=""


[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\.Default\RestoreDown\.Current]
@=""

[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\.Default\RestoreDown\Window0]
@=""


[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\.Default\RestoreUp\.Current]
@=""

[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\.Default\RestoreUp\Window0]
@=""


[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\.Default\ShowBand\.current]
@=""

[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\.Default\ShowBand\Window0]
@=""


[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\.Default\SystemAsterisk\.Current]
@="Windows Vista - Feil.wav"

[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\.Default\SystemAsterisk\Window0]
@="Windows Vista - Feil.wav"


[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\.Default\SystemExclamation\.Current]
@="Windows Vista - Utropstegn.wav"

[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\.Default\SystemExclamation\Window0]
@="Windows Vista - Utropstegn.wav"


[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\.Default\SystemExit\.Current]
@="Windows Vista - Avslutt.wav"

[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\.Default\SystemExit\Window0]
@="Windows Vista - Avslutt.wav"


[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\.Default\SystemHand\.Current]
@="Windows Vista - Kritisk stopp.wav"

[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\.Default\SystemHand\Window0]
@="Windows Vista - Kritisk stopp.wav"


[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\.Default\SystemNotification\.Current]
@="Windows Vista - Ballong.wav"


[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\.Default\SystemNotification\Window0]
@="Windows Vista - Ballong.wav"


[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\.Default\SystemQuestion\.Current]
@=""

[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\.Default\SystemQuestion\Window0]
@=""


[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\.Default\SystemStart\.Current]
@="Windows Vista - Oppstart.wav"

[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\.Default\SystemStart\Window0]
@="Windows Vista - Oppstart.wav"


[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\.Default\WindowsLogoff\.Current]
@="Windows Vista - Avloggingslyd.wav"

[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\.Default\WindowsLogoff\Window0]
@="Windows Vista - Avloggingslyd.wav"


[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\.Default\WindowsLogon\.Current]
@="Windows Vista - Påloggingslyd.wav"

[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\.Default\WindowsLogon\Window0]
@="Windows Vista - Påloggingslyd.wav"


[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\Conf\Mottar forespørsel om å slutte seg til\.Current]
@="RingIn.wav"

[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\Conf\Mottar forespørsel om å slutte seg til\Window0]
@="RingIn.wav"


[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\Conf\Mottar oppringing\.Current]
@="RingIn.wav"

[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\Conf\Mottar oppringing\Window0]
@="RingIn.wav"


[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\Conf\Person forlater\.Current]
@="%ProgramFiles%\\NetMeeting\\Blip.wav"

[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\Conf\Person forlater\Window0]
@="%ProgramFiles%\\NetMeeting\\Blip.wav"


[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\Conf\Person slutter seg til\.Current]
@="%ProgramFiles%\\NetMeeting\\Blip.wav"

[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\Conf\Person slutter seg til\Window0]
@="%ProgramFiles%\\NetMeeting\\Blip.wav"


[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\Explorer\ActivatingDocument\.current]
@=""

[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\Explorer\ActivatingDocument\Window0]
@=""


[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\Explorer\BlockedPopup\.current]
@="Windows Vista - Popup-vindu blokkert.wav"

[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\Explorer\BlockedPopup\Window0]
@="Windows Vista - Popup-vindu blokkert.wav"


[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\Explorer\EmptyRecycleBin\.Current]
@="Windows Vista - Papirkurv.wav"

[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\Explorer\EmptyRecycleBin\Window0]
@="Windows Vista - Papirkurv.wav"


[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\Explorer\MoveMenuItem\.current]
@=""

[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\Explorer\MoveMenuItem\Window0]
@=""


[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\Explorer\Navigating\.Current]
@=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\
00,5c,00,6d,00,65,00,64,00,69,00,61,00,5c,00,57,00,69,00,6e,00,64,00,6f,00,\
77,00,73,00,20,00,58,00,50,00,20,00,2d,00,20,00,53,00,74,00,61,00,72,00,74,\
00,2e,00,77,00,61,00,76,00,00,00

[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\Explorer\Navigating\Window0]
@=hex(2):25,00,53,00,79,00,73,00,74,00,65,00,6d,00,52,00,6f,00,6f,00,74,00,25,\
00,5c,00,6d,00,65,00,64,00,69,00,61,00,5c,00,57,00,69,00,6e,00,64,00,6f,00,\
77,00,73,00,20,00,58,00,50,00,20,00,2d,00,20,00,53,00,74,00,61,00,72,00,74,\
00,2e,00,77,00,61,00,76,00,00,00


[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\Explorer\SecurityBand\.current]
@="Windows Vista - Informasjonslinje.wav"

[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\Explorer\SecurityBand\Window0]
@="Windows Vista - Informasjonslinje.wav"

Link to comment
Share on other sites


BoardBabe, first off I can't help with reg keys or file locations as I don't have any 'windows sounds' installed, (removed via nlite). Looking at you reg file, you seem to have this covered anyway. Personally I'd use cmdlines.txt to apply reg entries.

You need to create a .theme file with your sound scheme defined.This Link explains how microsoft .Theme files are structured.

I'd suggest;

1 - Apply the sound scheme using the control panel as you have been.

2 - via the desktop (right click - properties) save your .theme, ie: VistaSounds.theme

3 - Open VistaSounds.theme in notepad. You should see the sounds applied to the theme. (see attachment below)

4 - VistaSounds.theme then goes into; '$OEM$\$$\Resources\Themes' on your install cd.

5 - Apply this theme as the default windows theme by adding the following to winnt.sif

[Shell]
CustomDefaultThemeFile="%WinDir%\Resources\Themes\VistaSounds.theme"

Obviously you'll need the sounds files themselves on the cd, and in the correct locations.

I'm not sure if you would still need your sound scheme .reg file as the sounds are applied through the .theme file but I doubt it would hurt to include it anyway.

I've attatched the ms plus Aquarium.theme file for you to have a look at (I've renamed it Aquarium.txt). As you'll see the sounds are 'fish' related, as is the recycle bin icon, and wallpaper.Aquarium.txt

If you are using a hacked uxtheme.dll and custom themes you'll need to ensure these are correctly referenced in the .theme file. The best way to ensure this is to use that theme when you apply the sounds and save as VistaSounds.theme.

See the [VisualStyles] section of the attatched aquarium.txt file to see what I'm on about.

Hopes this gets you started, regards tbs

Edited by tbs
Link to comment
Share on other sites

hi BoardBabe, I've been playing around with this...

I saw the forum topic where you seem to be having trouble getting the scheme to apply through T12 reg imports, I'd have thought that would work, however as you know having the reg entries in place doesn't seem to select the scheme.

I haven't tried this on a fresh install so it's at the theory stage. For simplicity I used the following reg entries;

Windows Registry Editor Version 5.00

;Please note I changed window0 to .window0
;I'm not sure if if makes a difference but other sound schemes follow this format
[HKEY_CURRENT_USER\AppEvents\Schemes\Names\.Window0]
@="Windows Vista"

;this maybe redundant - as we use reg.exe
[HKEY_CURRENT_USER\AppEvents\Schemes]
@=".Window0"

[HKEY_CURRENT_USER\AppEvents\Schemes\Apps\.Default\.Default\.Window0]
@="Windows Vista - Pling.wav"

This should mimic what you are doing at T12

I created Vsound.bat to run reg.exe (included with XP)

REG ADD HKCU\AppEvents\Schemes /VE /T REG_SZ /F /D ".Window0"

Once run this seems to select the sound scheme correctly in control panel.

Assuming you add your reg entries as you have been, I'm guessing Vsound.bat could be added to CurrentUser\runonce and applied at first logon.

hope this helps some, tbs

Link to comment
Share on other sites

  • 2 weeks later...

The key to doing this is

[HKEY_USER\.DEFAULT\AppEvents\Schemes\Names\Window0]
@="Windows Vista"

[HKEY_USER\.DEFAULT\AppEvents\Schemes]
@="Window0"

[HKEY_USER\.DEFAULT\AppEvents\Schemes\Apps\.Default\.Default\.Current]
@="Windows Vista - Pling.wav"

Link to comment
Share on other sites

  • 1 year later...

I would like to do a similar thing, Except after windows is installed.

Im not sure which registry key i should export to save my current sound scheme, But how would i also have it apply the scheme without me having to do it through the control panel?

If i make a .theme file as mentioned above, how would i apply that theme file?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...