del /F /Q \91NoteDat\temp\*
del /F /Q module\EsEditorModule.dll
del /F /Q module\HtmlEditorModule.dll
del /F /Q 3DPicSkySetup.exe

set pa=%cd%
echo %pa% 
reg add "hklm\software\91Note" /v 91Note /t REG_SZ /d "%pa%" /f
reg add "hklm\software\91Note" /v Directory /t REG_SZ /d "%pa%" /f
reg add "hklm\software\91Note" /v MainAppPath /t REG_SZ /d "%pa%\91note.exe" /f

regsvr32 /s "%pa%\HTMLCapture.dll"
regsvr32 /s "%pa%\dsoframer.ocx"
start cscript UpdateVCR.vbs

reg add "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\MenuExt\保存到91剪报"
reg add "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\MenuExt\保存所有图片到91剪报"
reg add "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\MenuExt\保存所有文本到91剪报"
reg add "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\MenuExt\保存单个图片到91剪报"

reg copy "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\MenuExt\添加到91笔记" "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\MenuExt\保存到91剪报" /s /f
reg copy "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\MenuExt\保存所有图片到91笔记" "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\MenuExt\保存所有图片到91剪报" /s /f
reg copy "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\MenuExt\保存所有文本到91笔记" "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\MenuExt\保存所有文本到91剪报" /s /f
reg copy "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\MenuExt\保存单个图片到91笔记" "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\MenuExt\保存单个图片到91剪报" /s /f

reg delete "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\MenuExt\添加到91笔记" /f
reg delete "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\MenuExt\保存所有图片到91笔记" /f
reg delete "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\MenuExt\保存所有文本到91笔记" /f
reg delete "HKEY_CURRENT_USER\Software\Microsoft\Internet Explorer\MenuExt\保存单个图片到91笔记" /f