@ECHO off 
md "%CommonProgramFiles%\ArcSoft\esinter"
md "%USERPROFILE%\Local Settings\Application Data\ArcSoft"
xcopy esinter\*.* "%CommonProgramFiles%\ArcSoft\esinter" /e /q /y
xcopy ArcSoft\*.* "%USERPROFILE%\Local Settings\Application Data\ArcSoft" /e /q /y
reg add "HKLM\SOFTWARE\ArcSoft\DJourni\PhotoViewer" /f /v "AppID" /t REG_SZ /d "214010"
reg add "HKLM\SOFTWARE\ArcSoft\DJourni\PhotoViewer" /f /v "AppName" /t REG_SZ /d "%cd%\PhotoViewer\PhotoViewer.exe"
reg add "HKLM\SOFTWARE\ArcSoft\DJourni\PhotoViewer" /f /v "InstallPath" /t REG_SZ /d "%cd%\PhotoViewer"
reg add "HKLM\SOFTWARE\ArcSoft\DJourni\PhotoViewer" /f /v "LanguageSet" /t REG_SZ /d "en"
reg add "HKLM\SOFTWARE\ArcSoft\Perfect365\1.0" /f /v "AppID" /t REG_SZ /d "223010"
reg add "HKLM\SOFTWARE\ArcSoft\Perfect365\1.0" /f /v "AppName" /t REG_SZ /d "%cd%\Perfect365.exe"
reg add "HKLM\SOFTWARE\ArcSoft\Perfect365\1.0" /f /v "AppPath" /t REG_SZ /d "%cd%"
reg add "HKLM\SOFTWARE\ArcSoft\Perfect365\1.0" /f /v "InstallPath" /t REG_SZ /d "%cd%"
reg add "HKLM\SOFTWARE\ArcSoft\Perfect365\1.0" /f /v "LanguageSet" /t REG_SZ /d "en"
reg add "HKLM\SOFTWARE\ArcSoft\PhotoViewerLib" /f /v "InstallPath" /t REG_SZ /d "%cd%\PhotoViewer"
reg add "HKCU\Software\ArcSoft\Foundation\Info" /f /v "Mac" /t REG_SZ /d "00:24:1D:18:88:BB"
sc create ADExchange start= auto binpath= "%CommonProgramFiles%\ArcSoft\esinter\Bin\eservutil.exe" displayname= "ArcSoft Exchange Service"
sc start ADExchange
cls 
color 0A 
ECHO             欢迎使用!
ECHO        ☆ 绿化制作：忘言 ☆
ECHO      http://suyg.blog.163.com
ECHO ===============================
ECHO 配置完毕!按任意键启动程序。。。 
pause>nul
start Perfect365.exe