[FONT=Courier New][SIZE=2][color=#009000]**find POWER DVD[/color]
[color=#009000]**set root[/color]
hkey$=[color=#800000]'HKEY_LOCAL_MACHINE'[/color]
[color=#000090][b]PluginSet[/b][/color]("PlugIn","hkey$")
[color=#000090][b]PluginRun[/b][/color]("PlugIn","r_init")
[color=#000090][b]PluginGet[/b][/color]("PlugIn","status")
[color=#009000]**read a string[/color]
var$=[color=#800000]'SOFTWARE\CyberLink\PowerDVD|InstallPath'[/color]
[color=#000090][b]PluginSet[/b][/color]("PlugIn","var$")
[color=#000090][b]PluginRun[/b][/color]("PlugIn","r_get")
[color=#000090][b]PluginGet[/b][/color]("PlugIn","status")
[color=#000090][b]PluginGet[/b][/color]("PlugIn","Path$")
Path$=Path$+[color=#800000]'\PowerDVD.exe'[/color]
[color=#000090][b]FileExist[/b][/color]("Path$","test")
[color=#0000FF]If[/color] (test=[color=#ff0000]1[/color]) [color=#0000FF]Then[/color]
[color=#000090][b]Message[/b][/color]("PowerDVD is Installed","")
[color=#0000FF]Else[/color]
[color=#000090][b]Message[/b][/color]("PowerDVD is NOT Installed","")
[color=#0000FF]End[/color][/SIZE][/FONT]