X-Setup Pro

Select your language: 

Windmeier Internet Services UG

X-Setup Pro | Free Vista Files Certify

X-Setup Pro Plugins

Note for everybody who is visiting this page via a search engine like Google:
This page shows the HTML version (with full source code) of one of our many plugins included with our tweaker utility X-Setup Pro. With this tool you can change over 1,700 settings for Windows and other applications - settings that are normally hidden deep inside the registry. Read more about X-Setup Pro on our Product info about X-Setup ProProduct page.

If you are interested in using this plugin, because it contains a tweak you would like to have, it's easy as 1-2-3-4:

  • Download X-Setup Pro from our Download X-Setup ProDownload page.
  • Install it on your computer and execute it.
  • On the welcome screen, select "Classic mode".
  • Simply use the information about the path and the name of the plugin shown below to easily locate it.

Plugin details

This is the HTML representation of the plugin Autostart Audio CD command (Version 1.47) which can be found in the following path(s) in X-Setup Pro classic:
System\AutoPlay\Audio CDs

The plugin can be executed on the following Windows versions (Operation Systems):
Any Windows version; Windows 95 Windows 98 Windows ME Windows 2000 Windows XP and Windows 2003

Description :
If you have enabled the autostart of an Audio CD-ROM, Windows uses a program to play the CD. Maybe you don't like the Windows CD-Player so you can enter your favorite player here. The default value for this setting is "cdplayer.exe /play %1" or "C:\PROGRA~1\PLUS!\DeluxeCD\deluxecd.exe /play %1". On Windows 2000, the default value is "%SystemRoot%\system32\cdplayer.exe /play %1". If you are using WMP 7 or above, the command is "C:\Program Files\Windows Media Player\wmplayer.exe" /device:AudioCD "%L"". This setting can also be used to prevent others from being your default CD Player. We suggest EasyCD, a freeware, highly customizable and skinnable CD player for Win9x/NT/2000 at http://linas.info/

The plugin was created by Xteq Systems
Copyright © Xteq Systems - All Rights Reserved

The plugin offers the following user-interface controls:
Command

Below is the code of this plugin written in "VBScript". Please note that this code can only be executed inside X-Setup Pro.

sFileType="HKCR\.cda\@" 'should be "cdafile"

sp1="HKCR\AudioCD\Shell\Play\Command\@" 'main entry!
sp2="HKCR\cdafile\Shell\Play\Command\@" 'very strange, isn't it????

Sub Plugin_Initialize 
 s=RegReadValue(sp1)
 SetUIElement 1,s
End Sub

Sub Plugin_CheckData(ElementIndex)
End Sub

Sub Plugin_Apply(ElementIndex,ElementSubIndex)
 s=GetUIElement(1)

 If Len(s)>0 then
    'write the command
    if GetWinVer=2 then 'on NT, write EXPAND_SZ 
       Call RegWriteValue(sp1,s,4)
       Call RegWriteValue(sp2,s,4)
    else
       Call RegWriteValue(sp1,s,1)
       Call RegWriteValue(sp2,s,1)
    end if

    'assign CDA to cdafile
    Call RegWriteValue(sFileType,"cdafile",1)

    'should be fine now
 else
  MsgErrorTextString 1
 end if



End Sub

Sub Plugin_Terminate 
End Sub

You can get more detailed information about this plugin inside the application X-Setup Pro. Get the most popular tweaker software for free: Download X-Setup ProDownload X-Setup Pro