杉宫竹苑工作室

 找回密码
 立即注册
搜索
热搜: 活动 交友 discuz
查看: 2682|回复: 0

ACDSee 3.1 SR1 美化版

[复制链接]
发表于 2017-2-26 15:03:52 | 显示全部楼层 |阅读模式

正式会员享受无限制浏览网站功能和高速网盘下载,赶快加入本站吧!

您需要 登录 才可以下载或查看,没有账号?立即注册

x
  1. ;************************************************************
  2. ;脚本编写: 蓝色网际

  3. ;某些使用了 LogSet 指令的脚本需要使用特别版的 makensis.exe 才能通过编译
  4. ;地址: http://nsis.sourceforge.net/download/specialbuilds/

  5. ; 定义 DEBUG 时安装完成将弹出安装信息
  6. ;!define DEBUG
  7. ;************************************************************

  8. !ifdef NSIS_MOD_CHS
  9. Name                 "ACDSee 3.1 SR1 美化版 build ${__MONTH__}${__DAY__}"
  10. !else
  11. Name                 "ACDSee 3.1 SR1 美化版"
  12. !endif
  13. OutFile              "acdc31sr1.exe"
  14. SetCompressor        lzma                  
  15. SpaceTexts           none                  
  16. ShowInstDetails      show                  
  17. BrandingText         "$(^NameDA)安装程序 ${__DATE__} "
  18. UninstallCaption     "$(^NameDA)卸载程序"
  19. ShowUninstDetails    show
  20. InstallDir           "$PROGRAMFILES\ACDSee"
  21. InstallDirRegKey     HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\ACDSee" InstallDir

  22. ReserveFile          ".\resource\acdsee.ini"
  23. ReserveFile          ".\resource\gaydata.ini"
  24. ReserveFile          "${NSISDIR}\Plugins\System.dll"

  25. !include             "MUI.nsh"
  26. !include             "StrFunc.nsh"
  27. !include             "Sections.nsh"

  28.         !define MUI_ICON ".\resource\ico-inst.ico"
  29.   !define MUI_UNICON ".\resource\ico-uninst.ico"
  30.   !define MUI_WELCOMEFINISHPAGE_BITMAP ".\resource\Winz.bmp"
  31.   !define MUI_COMPONENTSPAGE_CHECKBITMAP ".\resource\acdsee.bmp"
  32.   !define MUI_HEADERIMAGE
  33.   !define MUI_HEADERIMAGE_BITMAP ".\resource\Header.bmp"
  34.   !define MUI_WELCOMEPAGE_TEXT "ACDSee 是目前最流行的数字图象处理软件,它能广泛应用于图片的获取、管理、浏览、优化甚至和他人的分享!使用 ACDSee,你可以从数码相机和扫描仪高效获取图片,并进行便捷的查找、组织和预览。超过 50 种常用多媒体格式被一网打尽!作为最重量级看图软件,它能快速、高质量显示您的图片,再配以内置的音频播放器,我们就可以享用它播放出来的精彩幻灯片了。ACDSee 还能处理如 Mpeg 之类常用的视频文件。此外 ACDSee 是您最得心应手的图片编辑工具,轻松处理数码影像,拥有的功能像去除红眼、剪切图像、锐化、浮雕特效、曝光调整、旋转、镜像等等,还能进行批量处理。"

  35.   !define MUI_PAGE_CUSTOMFUNCTION_SHOW ChageFONT
  36.   !insertmacro MUI_PAGE_WELCOME
  37.   !insertmacro MUI_PAGE_LICENSE ".\resource\License.rtf"
  38.   Page custom SetCustom
  39.         !define MUI_PAGE_CUSTOMFUNCTION_PRE ComponentPre
  40.         !define MUI_PAGE_CUSTOMFUNCTION_SHOW ComponentShow
  41.   !insertmacro MUI_PAGE_COMPONENTS
  42.   !insertmacro MUI_PAGE_DIRECTORY
  43.         !define MUI_PAGE_HEADER_TEXT "文件关联"
  44.         !define MUI_PAGE_HEADER_SUBTEXT "选择需要关联的文件格式"
  45.         !define MUI_PAGE_CUSTOMFUNCTION_PRE AsscoiationPre
  46.         !define MUI_PAGE_CUSTOMFUNCTION_SHOW AsscoiationShow
  47.   !insertmacro MUI_PAGE_COMPONENTS
  48.   !insertmacro MUI_PAGE_INSTFILES
  49.   !define MUI_PAGE_CUSTOMFUNCTION_SHOW ChageFONT
  50.   !insertmacro MUI_PAGE_FINISH

  51.   !insertmacro MUI_UNPAGE_CONFIRM
  52.   !insertmacro MUI_UNPAGE_INSTFILES
  53.   
  54.   !insertmacro MUI_LANGUAGE "SimpChinese"
  55.   ChangeUI IDD_SELCOM ".\resource\acdsee_nodesc.exe"

  56. ;声明字串操作指令
  57. ${StrCase} ;小写转大写

  58. !macro ASSOC EXT ICON
  59.         Push $0
  60.         Push $1
  61.        
  62.         ${StrCase} $0 '${EXT}' "U"
  63.        
  64.         ReadRegStr $1 HKCR ".${EXT}" ""
  65.         ${If} $1 != "ACDSee.$0"
  66.                 WriteRegStr HKCR ".${EXT}\UndoClass" "" $1
  67.                 WriteRegStr HKCR "ACDSee.File" "${EXT}" ""
  68.         ${ElseIf} $1 != ""
  69.                 DeleteRegValue HKCR "ACDSee.$0\shell\open\DropTarget" Clsid
  70.                 DeleteRegValue HKCR "ACDSee.$0\shell\open" MuiVerb
  71.         ${EndIf}
  72.        
  73.   DeleteRegKey HKCU "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.${EXT}"
  74.   WriteRegStr HKCR ".${EXT}" "" "ACDSee.$0"
  75.   WriteRegStr HKCR "ACDSee.$0" "" "ACDSee $0 图像"
  76.   WriteRegStr HKCR "ACDSee.$0\DefaultIcon" "" "${ICON}"
  77.   WriteRegStr HKCR "ACDSee.$0\shell" "" Open
  78.   WriteRegStr HKCR "ACDSee.$0\shell\Open" "" "用 ACDSee 打开"  
  79.   WriteRegStr HKCR "ACDSee.$0\shell\Open\Command" "" '"$INSTDIR\ACDSee.exe" /dde'
  80.   WriteRegStr HKCR "ACDSee.$0\shell\Open\DDEExec" "" '[open("%1")]'
  81.   WriteRegStr HKCR "ACDSee.$0\shell\Open\DDEExec\Application" "" ACDSee
  82.   WriteRegStr HKCR "ACDSee.$0\shell\Open\DDEExec\Topic" "" System
  83.   WriteRegStr HKCR "ACDSee.$0\shell\ACDPrint" "" "用 ACDSee 打印"
  84.   WriteRegStr HKCR "ACDSee.$0\shell\ACDPrint\Command" "" '"$INSTDIR\ACDSee.exe" /p "%1"'
  85.        
  86.         ReadRegStr $1 HKCR "CLSID\{68f32140-2ca3-11d0-acc1-444553540000}" ""
  87.         StrCmp $1 "" +2
  88.   WriteRegStr HKCR "ACDSee.$0\shellex\ContextMenuHandlers\PicaView" "" "{68f32140-2ca3-11d0-acc1-444553540000}"
  89.   
  90.         DetailPrint "关联文件: .$0"
  91.        
  92.         Pop $1
  93.         Pop $0
  94. !macroend       

  95. !macro ASSOC_TYPE EXT TYPE
  96.         Push $0
  97.        
  98.         ReadRegStr $0 HKCR ".${EXT}" ""
  99.         StrCmp $0 "ACDSee.${TYPE}" +3
  100.         WriteRegStr HKCR ".${EXT}\UndoClass" "" $0
  101.         WriteRegStr HKCR "ACDSee.FILE" "${EXT}" ""
  102.        
  103.   DeleteRegKey HKCU "Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.${EXT}"
  104.   WriteRegStr HKCR ".${EXT}" "" "ACDSee.${TYPE}"
  105.   
  106.         Pop $0       
  107. !macroend               

  108.         ;压缩档右键命令
  109. !macro ASSOC_ARCHIVE EXT ARCHIVE_PLUGINS
  110.         Push $0
  111.        
  112.         ReadRegStr $0 HKCR ".${EXT}" ""
  113.         ${If} $0 == "" ;如果压缩文件没有关联则进行关联
  114.                 ${StrCase} $0 '${EXT}' "U"
  115.                 !insertmacro ASSOC "${EXT}" "${ARCHIVE_PLUGINS}"
  116.                 WriteRegStr HKCR "ACDSee.${EXT}" "" "ACDSee 压缩文档($0)"
  117.                 DeleteRegKey HKCR "ACDSee.${EXT}\shell"
  118.         ${Else}
  119.                 ReadRegStr $0 HKCR ".${EXT}" ""
  120.                 WriteRegStr HKCR "$0\Shell\ACDSeeView" "" "用 ACDSee 察看"
  121.                 WriteRegStr HKCR "$0\Shell\ACDSeeView\command" "" '"$INSTDIR\ACDSee.exe" "%1"'
  122.                 WriteRegStr HKCR "ACDSee.File\Archive" "$0\Shell\ACDSeeView" ""
  123.         ${EndIf}
  124.        
  125.         Pop $0
  126. !macroend

  127. !macro SelectIfSet SECTION
  128.   Push $0
  129.   Push $1
  130.     SectionGetFlags "${SECTION}" $0
  131.     IntOp $1 $0 & ${SF_SELECTED}
  132.                 StrCmp $1 ${SF_SELECTED} +5
  133.                 IntOp $0 $0 & ${SECTION_OFF}
  134.     SectionSetFlags "${${SECTION}}" $0
  135.                 SectionSetText "${${SECTION}}" ""
  136.                 Goto +3
  137.                 IntOp $0 $0 | ${SF_SELECTED}
  138.     SectionSetFlags "${${SECTION}}" $0
  139.   Pop $1
  140.   Pop $0
  141. !macroend

  142. Section "主程序及标准插件" main
  143.   SectionIn RO
  144.         ;系统文件
  145.         SetOverwrite off
  146.         SetOutPath $SYSDIR
  147.         File ".\include\Roboex32.dll"
  148.         File ".\include\msvcr71.dll"
  149.         SetOverwrite on
  150.   Delete "$INSTDIR\install.log"
  151.   LogSet on
  152.         SetOutPath $INSTDIR
  153.         File /r ".\include\main\*.*"
  154.         SetOutPath "$INSTDIR\PlugIns"
  155.         StrCpy $0 "$INSTDIR\PlugIns\IDE_ACDStd.apl"
  156.         ClearErrors
  157.         Delete $0
  158.         ${If} ${Errors}
  159.                 GetTempFileName $1
  160.                 StrCpy $0 $1
  161.         ${EndIf}
  162.         File "/oname=$0" ".\include\plugins\IDE_ACDStd.apl"
  163.         ${IfThen} $0 == $1 ${|} Rename /REBOOTOK $0 "$INSTDIR\PlugIns\IDE_ACDStd.apl" ${|}
  164.         File ".\include\plugins\IDE_ACDStd.chm"
  165.        
  166.   WriteRegStr HKLM "SOFTWARE\ACD Systems\PlugInsV1" PIFolder "$INSTDIR\PlugIns"
  167.         WriteRegBin HKLM "SOFTWARE\ACD Systems\ACDInTouch" "InTouchSettings" 01013d00000000000700000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000050000000
  168.   WriteRegStr HKLM "SOFTWARE\ACD Systems\ACDSee" "" 3.1.1
  169.         WriteRegStr HKLM "SOFTWARE\ACD Systems\ACDSeeCS" "" 3.1.1
  170.   WriteRegBin HKLM "SOFTWARE\ACD Systems\ACDSeeCS" InTouchSettings 01535c4300000000
  171.   WriteRegStr HKLM "SOFTWARE\ACD Systems\ACDSeeCS" SourceID 001
  172.   WriteRegStr HKLM "SOFTWARE\ACD Systems\ACDSeeCS" InstallationDate HBNHFNEGGHCKKJDN091A4FB9
  173.   WriteRegStr HKLM "SOFTWARE\ACD Systems\ACDSeeCS" InTouchConfigRemind CJPJNNEGGHCKKBBI08599FBA
  174.   WriteRegStr HKLM "SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\ACDSee.exe" "" "$INSTDIR\ACDSee.exe"
  175.   WriteRegStr HKLM "SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\ACDSee.exe" Path $INSTDIR
  176.   WriteRegStr HKLM "SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\PELite.exe" "" "$INSTDIR\PELite.exe"
  177.   WriteRegStr HKLM "SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\PELite.exe" Path $INSTDIR

  178.   WriteRegStr HKLM "SOFTWARE\Microsoft\Windows\Help" ACDSee.hlp $INSTDIR
  179.        
  180.   WriteRegDWORD HKCU "Software\ACD Systems\ACDSee\Tip" StartUp 1
  181.         WriteRegBin HKCU "Software\ACD Systems\ACDSeeCS" RememberDir 01
  182.        
  183.         DeleteRegValue HKCR "SystemFileAssociations\image\ShellEx\ContextMenuHandlers\ShellImagePreview" ""
  184.        
  185.         ;注册信息
  186.   ReadINIStr $0 "$PLUGINSDIR\ACDSee.ini" "Field 3" "State"
  187.   WriteRegStr HKLM "SOFTWARE\ACD Systems\ACDSeeCS" LicenseNumber $0
  188.   ReadINIStr $0 "$PLUGINSDIR\ACDSee.ini" "Field 7" "State"
  189.         WriteRegStr HKLM "SOFTWARE\ACD Systems\ACDInTouch" UserName $0
  190.   ReadINIStr $0 "$PLUGINSDIR\ACDSee.ini" "Field 9" "State"
  191.         WriteRegStr HKLM "SOFTWARE\ACD Systems\ACDInTouch" CompanyName $0
  192.   ReadINIStr $0 "$PLUGINSDIR\ACDSee.ini" "Field 11" "State"
  193.         WriteRegStr HKLM "SOFTWARE\ACD Systems\ACDInTouch" UserEMail $0
  194. SectionEnd       

  195. Section "ACD 图像编辑器"
  196.         File "/oname=$INSTDIR\PELite.exe" ".\include\PELite.exe"
  197. SectionEnd       

  198. Section PicaView
  199.         SetOverwrite try
  200.   File "/oname=$INSTDIR\PicaView.dll" ".\include\PicaView.dll"
  201.         SetOverwrite on
  202.        
  203.   WriteRegBin HKCU "Software\ACD Systems\PicaView" CheckAllExtensions 00000000
  204.   WriteRegBin HKCU "Software\ACD Systems\PicaView" PlaySounds 00
  205.   WriteRegBin HKCU "Software\ACD Systems\PicaView" ShowFileSize 01000000
  206.   WriteRegStr HKLM "Software\ACD Systems\PicaView" LicenseNumber 078723450172918441
  207.        
  208.   ReadINIStr $0 "$PLUGINSDIR\ACDSee.ini" "Field 7" "State"
  209.   WriteRegStr HKLM "Software\ACD Systems\PicaView" UserName $0
  210.        
  211.   WriteRegStr HKLM "Software\ACD Systems\PicaView" PIFolder "$INSTDIR\PlugIns"
  212.   WriteRegStr HKCR "CLSID\{68f32140-2ca3-11d0-acc1-444553540000}" "" "PicaView 外壳扩展"
  213.   WriteRegStr HKCR "CLSID\{68f32140-2ca3-11d0-acc1-444553540000}\InProcServer32" "" "$INSTDIR\picaview.dll"
  214.   WriteRegStr HKCR "CLSID\{68f32140-2ca3-11d0-acc1-444553540000}\InProcServer32" ThreadingModel Apartment
  215.   WriteRegStr HKCR "PicaViewImage\Shell\Open\Command" "" 'rundll32 "$INSTDIR\picaview.dll,showimage %1"'
  216.   WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved" "{68f32140-2ca3-11d0-acc1-444553540000}" "PicaView"
  217. SectionEnd

  218. SubSection /e "扩展图形格式支持插件"
  219.        
  220. Section "图标和光标格式" ico
  221.         File ".\include\plugins\ID_ICO.apl"
  222. SectionEnd

  223. Section "PhotoShop 图像" psd
  224.         File ".\include\plugins\IDE_PSD.apl"
  225. SectionEnd

  226. Section "Paint Shop Pro 图像" psp
  227.         File ".\include\plugins\ID_PSP.apl"
  228. SectionEnd

  229. Section "SGI 图像" sgi
  230.         File ".\include\plugins\IDE_SGI.apl"
  231. SectionEnd

  232. Section "Kodak Photo 图像" pcd
  233.         File ".\include\plugins\ID_PhotoCD.apl"
  234. SectionEnd

  235. Section "JPEG 2000" jp2
  236.         File ".\include\plugins\IDE_JP2.apl"
  237. SectionEnd

  238. Section "数码相机 RAW 插件" raw
  239.         File ".\include\plugins\ID_DCRaw.apl"
  240. SectionEnd
  241.        
  242. Section
  243. SectionEnd
  244.        
  245. Section "ICN 图标支持插件" icn
  246.         File ".\include\plugins\ID_ICN.apl"
  247. SectionEnd
  248.        
  249. SubSectionEnd

  250. SubSection /e "功能扩展插件"
  251.        
  252. Section "无损 JPEG 旋转"
  253.         File ".\include\plugins\CX_JPEGTrans.apl"
  254. SectionEnd

  255. Section "HTML 像册生成器" cx_html
  256.         File ".\include\plugins\CX_HTML.apl"
  257.         File ".\include\plugins\CX_HTML.chm"
  258.         File ".\include\plugins\acdcp.dll"
  259. SectionEnd

  260. Section "图册实用工具" cx_csheet
  261.         File ".\include\plugins\CX_ContactSheet.apl"
  262.         File ".\include\plugins\CX_ContactSheet.chm"
  263. SectionEnd

  264. Section "调整层次"
  265.         File ".\include\plugins\CX_AdjustLevels.apl"
  266. SectionEnd

  267. SubSectionEnd

  268. SubSection /e "压缩文档支持插件"
  269.        
  270. Section ZIP zip
  271.         File ".\include\plugins\AM_ZIP.apl"
  272. SectionEnd
  273.                
  274. Section /o LHA lha
  275.         File ".\include\plugins\AM_LHA.apl"
  276. SectionEnd
  277.                
  278. Section /o RAR rar
  279.         File ".\include\plugins\AM_RAR.apl"
  280. SectionEnd
  281.                
  282. SubSectionEnd
  283.        
  284. Section "-post" post
  285.         ;桌面快捷方式
  286.   ReadINIStr $0 "$PLUGINSDIR\ACDSee.ini" "Field 13" "State"
  287.   ${If} $0 == 1
  288.                 CreateShortCut "$DESKTOP\ACDSee 3.1.lnk" "$INSTDIR\ACDSee.exe"
  289.                 WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\ACDSee" Desktop 1
  290.         ${EndIf}
  291.   
  292.         ;开始菜单
  293.   ReadINIStr $0 "$PLUGINSDIR\ACDSee.ini" "Field 14" "State"
  294.   ${If} $0 == 1
  295.                 CreateDirectory "$SMPROGRAMS\ACDSee"
  296.                 CreateShortCut "$SMPROGRAMS\ACDSee\ACDSee 3.1.lnk" "$INSTDIR\ACDSee.exe"
  297.                 CreateShortCut "$SMPROGRAMS\ACDSee\卸载.lnk" "$INSTDIR\uninstall.exe"
  298.                 CreateShortCut "$SMPROGRAMS\ACDSee\帮助文档.lnk" "$INSTDIR\ACDSee.hlp"
  299.                 WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\ACDSee" StartMenu 1
  300.         ${EndIf}
  301.   
  302.         ;快速启动
  303.   ReadINIStr $0 "$PLUGINSDIR\ACDSee.ini" "Field 15" "State"
  304.   ${If} $0 == 1
  305.                 CreateShortCut "$QUICKLAUNCH\ACDSee 3.1.lnk" "$INSTDIR\ACDSee.exe"
  306.                 WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\ACDSee" QuickLaunch 1
  307.   ${EndIf}
  308.        
  309.         WriteUninstaller "$INSTDIR\uninstall.exe"
  310.   LogSet off
  311.        
  312.         ;目录右键菜单
  313.   ReadINIStr $0 "$PLUGINSDIR\ACDSee.ini" "Field 20" "State"
  314.   ${If} $0 == 1
  315.                 WriteRegStr HKCR "Directory\shell\ACDBrowse" "" "用 ACDSee 浏览"
  316.                 WriteRegStr HKCR "Directory\shell\ACDBrowse\command" "" '"$INSTDIR\ACDSee.exe" "%1"'
  317.                 WriteRegStr HKCR "Drive\shell\ACDBrowse" "" "用 ACDSee 浏览"
  318.                 WriteRegStr HKCR "Drive\shell\ACDBrowse\command" "" '"$INSTDIR\ACDSee.exe" "%1"'
  319.                 WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\ACDSee" ContextMenu 1
  320.         ${EndIf}
  321.        
  322.   WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\ACDSee" "DisplayName" "$(^NameDA)"
  323.   WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\ACDSee" UninstallString "$INSTDIR\uninstall.exe"
  324.   WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\ACDSee" DisplayIcon "$INSTDIR\ACDSee.exe"
  325.         ${StrCase} $0 '$INSTDIR' "U"
  326.   WriteRegStr HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\ACDSee" "InstallDir" $0
  327.        
  328. SectionEnd

  329. Section "Association" association
  330. SectionEnd

  331. Section "Windows 和 OS/2 位图(bmp,dib,rle,wbmp)"
  332.         !insertmacro ASSOC bmp "$INSTDIR\PlugIns\IDE_ACDStd.apl,1"
  333.         !insertmacro ASSOC dib "$INSTDIR\PlugIns\IDE_ACDStd.apl,1"
  334.         !insertmacro ASSOC rle "$INSTDIR\PlugIns\IDE_ACDStd.apl,1"
  335.         !insertmacro ASSOC wbmp "$INSTDIR\PlugIns\IDE_ACDStd.apl,11"
  336. SectionEnd

  337. Section "增强图元文件格式(emf)"
  338.         !insertmacro ASSOC emf "$INSTDIR\PlugIns\IDE_ACDStd.apl,2"
  339. SectionEnd

  340. Section "图形交换格式(gif)"
  341.         !insertmacro ASSOC gif "$INSTDIR\PlugIns\IDE_ACDStd.apl,3"
  342. SectionEnd

  343. Section "标准 JPEG(jpg,jpeg,jpe,jif,jfif)"
  344.         !insertmacro ASSOC jpg "$INSTDIR\PlugIns\IDE_ACDStd.apl,4"
  345.         !insertmacro ASSOC jpeg "$INSTDIR\PlugIns\IDE_ACDStd.apl,4"
  346.         !insertmacro ASSOC jpe "$INSTDIR\PlugIns\IDE_ACDStd.apl,4"
  347.         !insertmacro ASSOC jif "$INSTDIR\PlugIns\IDE_ACDStd.apl,4"
  348.         !insertmacro ASSOC jfif "$INSTDIR\PlugIns\IDE_ACDStd.apl,4"
  349. SectionEnd

  350. Section "ZSoft 出版画笔(pcx,dcx)"
  351.         !insertmacro ASSOC pcx "$INSTDIR\PlugIns\IDE_ACDStd.apl,5"
  352.         !insertmacro ASSOC dcx "$INSTDIR\PlugIns\IDE_ACDStd.apl,5"
  353. SectionEnd

  354. Section "便携网络图形(png)"
  355.         !insertmacro ASSOC png "$INSTDIR\PlugIns\IDE_ACDStd.apl,6"
  356. SectionEnd

  357. Section "Targa TGA(tga)"
  358.         !insertmacro ASSOC tga "$INSTDIR\PlugIns\IDE_ACDStd.apl,7"
  359. SectionEnd

  360. Section "Tag 图片文件格式(tif,tiff,xif)"
  361.         !insertmacro ASSOC tif "$INSTDIR\PlugIns\IDE_ACDStd.apl,8"
  362.         !insertmacro ASSOC tiff "$INSTDIR\PlugIns\IDE_ACDStd.apl,8"
  363.         !insertmacro ASSOC xif "$INSTDIR\PlugIns\IDE_ACDStd.apl,8"
  364. SectionEnd

  365. Section "Windows 3.x 图元文件格式(wmf)"
  366.         !insertmacro ASSOC wmf "$INSTDIR\PlugIns\IDE_ACDStd.apl,9"
  367. SectionEnd

  368. Section "Pegasus PIC 格式(pic)"
  369.   SectionIn 1 2
  370.         !insertmacro ASSOC pic "$INSTDIR\PlugIns\IDE_ACDStd.apl,10"
  371. SectionEnd

  372. Section "图标格式(ico,cur,ani)" ${ico}
  373.         !insertmacro ASSOC ico "%1"
  374.         !insertmacro ASSOC cur "%1"
  375.         !insertmacro ASSOC ani "%1"
  376. SectionEnd

  377. Section "PhotoShop 图像格式(psd)" ${psd}
  378.         !insertmacro ASSOC psd "$INSTDIR\PlugIns\IDE_PSD.apl,0"
  379. SectionEnd

  380. Section "Paint Shop Pro 图像格式(pspimage,psp,pspframe,pspshape,psptube,tub)" ${psp}
  381.         !insertmacro ASSOC psp "$INSTDIR\PlugIns\ID_PSP.apl,0"
  382.         !insertmacro ASSOC_TYPE pspimage PSP
  383.         !insertmacro ASSOC_TYPE pspframe PSP
  384.         !insertmacro ASSOC_TYPE pspshape PSP
  385.         !insertmacro ASSOC_TYPE psptube PSP
  386.         !insertmacro ASSOC_TYPE tub PSP
  387. SectionEnd

  388. Section "SGI 图像格式(sgi)" ${sgi}
  389.         !insertmacro ASSOC sgi "$INSTDIR\PlugIns\IDE_SGI.apl,0"
  390. SectionEnd

  391. Section "Kodak Photo 图像格式(pcd)" ${pcd}
  392.         !insertmacro ASSOC pcd "$INSTDIR\PlugIns\ID_PhotoCD.apl,0"
  393. SectionEnd

  394. Section "JPEG 2000(jp2)" ${jp2}
  395.         !insertmacro ASSOC jp2 "$INSTDIR\PlugIns\IDE_JP2.apl,0"
  396.         !insertmacro ASSOC jpc "$INSTDIR\PlugIns\IDE_JP2.apl,0"
  397. SectionEnd

  398. Section "数码相机 RAW 格式图像" ${raw}
  399.         !insertmacro ASSOC raw "$INSTDIR\PlugIns\ID_DCRaw.apl,0"
  400.         !insertmacro ASSOC cr2 "$INSTDIR\PlugIns\ID_DCRaw.apl,1"
  401.         !insertmacro ASSOC crw "$INSTDIR\PlugIns\ID_DCRaw.apl,2"
  402.         !insertmacro ASSOC dcr "$INSTDIR\PlugIns\ID_DCRaw.apl,3"
  403.         !insertmacro ASSOC mrw "$INSTDIR\PlugIns\ID_DCRaw.apl,4"
  404.         !insertmacro ASSOC nef "$INSTDIR\PlugIns\ID_DCRaw.apl,5"
  405.         !insertmacro ASSOC orf "$INSTDIR\PlugIns\ID_DCRaw.apl,6"
  406.         !insertmacro ASSOC pef "$INSTDIR\PlugIns\ID_DCRaw.apl,7"
  407.         !insertmacro ASSOC raf "$INSTDIR\PlugIns\ID_DCRaw.apl,8"
  408.         !insertmacro ASSOC tiff "$INSTDIR\PlugIns\ID_DCRaw.apl,9"
  409.         !insertmacro ASSOC x3f "$INSTDIR\PlugIns\ID_DCRaw.apl,10"
  410. SectionEnd

  411. Section "ICN 图标(icn)" ${icn}
  412.         !insertmacro ASSOC icn "$INSTDIR\PlugIns\ID_ICN.apl,0"
  413. SectionEnd

  414. Section "ZIP (右键菜单)" ${zip}
  415.         !insertmacro ASSOC_ARCHIVE zip "$INSTDIR\PlugIns\AM_ZIP.apl"
  416. SectionEnd
  417.                
  418. Section "LHA (右键菜单)" ${lha}
  419.         !insertmacro ASSOC_ARCHIVE lha "$INSTDIR\PlugIns\AM_LHA.apl"
  420. SectionEnd
  421.                
  422. Section "RAR (右键菜单)" ${rar}
  423.         !insertmacro ASSOC_ARCHIVE rar "$INSTDIR\PlugIns\AM_RAR.apl"
  424. SectionEnd
  425.                
  426. Section "End" end
  427. SectionEnd

  428. !ifdef DEBUG
  429. Section
  430.         Push "$PLUGINSDIR\debug.txt"
  431.         Call DumpLog
  432.         ExecShell open "$PLUGINSDIR\debug.txt" "" SW_SHOWMAXIMIZED
  433.         Sleep 1000
  434. SectionEnd

  435. Function DumpLog
  436.   Exch $R5
  437.   Push $R0
  438.   Push $R1
  439.   Push $R2
  440.   Push $R3
  441.   Push $R4
  442.   Push $R6

  443.   FindWindow $R0 "#32770" "" $HWNDPARENT
  444.   GetDlgItem $R0 $R0 1016
  445.   StrCmp $R0 0 exit
  446.   FileOpen $R5 $R5 "a"
  447.         FileSeek $R5 0 END
  448.   StrCmp $R5 "" exit
  449.     SendMessage $R0 0x1004 0 0 $R6
  450.     System::Alloc ${NSIS_MAX_STRLEN}
  451.     Pop $R3
  452.     StrCpy $R2 0
  453.     System::Call "*(i, i, i, i, i, i, i, i, i) i \
  454.       (0, 0, 0, 0, 0, R3, ${NSIS_MAX_STRLEN}) .R1"
  455.     loop: StrCmp $R2 $R6 done
  456.       System::Call "User32::SendMessageA(i, i, i, i) i \
  457.         ($R0, 0x102D, $R2, R1)"
  458.       System::Call "*$R3(&t${NSIS_MAX_STRLEN} .R4)"
  459.       FileWrite $R5 "$R4"
  460.       FileWriteByte $R5 13
  461.       FileWriteByte $R5 10
  462.       IntOp $R2 $R2 + 1
  463.       Goto loop
  464.     done:
  465.       FileClose $R5
  466.       System::Free $R1
  467.       System::Free $R3
  468.   exit:
  469.     Pop $R6
  470.     Pop $R4
  471.     Pop $R3
  472.     Pop $R2
  473.     Pop $R1
  474.     Pop $R0
  475.     Pop $R5
  476. FunctionEnd
  477. !endif

  478. ;**********************************************************************

  479. Function .onInit
  480.   InitPluginsDir
  481.         File "/oname=$PLUGINSDIR\acdsee.ini" ".\resource\acdsee.ini"
  482.         File "/oname=$PLUGINSDIR\gaydata.ini" ".\resource\gaydata.ini"
  483.        
  484.         System::Call "advapi32::GetUserName(t .r0, *i ${NSIS_MAX_STRLEN} r1) i.r2"
  485.   WriteINIStr "$PLUGINSDIR\acdsee.ini" "Field 7" "State" $0
  486.        
  487.         ReadRegStr $0 HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\ACDSee" "InstallDir"
  488.         ${If} $0 != ""
  489.                 ReadRegStr $0 HKLM "SOFTWARE\ACD Systems\ACDSeeCS" LicenseNumber
  490.                 WriteINIStr "$PLUGINSDIR\acdsee.ini" "Field 3" "State" $0
  491.                 ReadRegStr $0 HKLM "SOFTWARE\ACD Systems\ACDInTouch" UserName
  492.                 WriteINIStr "$PLUGINSDIR\acdsee.ini" "Field 7" "State" $0
  493.                 ReadRegStr $0 HKLM "SOFTWARE\ACD Systems\ACDInTouch" CompanyName
  494.                 WriteINIStr "$PLUGINSDIR\ACDSee.ini" "Field 9" "State" $0
  495.                 ReadRegStr $0 HKLM "SOFTWARE\ACD Systems\ACDInTouch" UserEMail
  496.                 WriteINIStr "$PLUGINSDIR\acdsee.ini" "Field 11" "State" $0
  497.        
  498.                 ReadRegStr $0 HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\ACDSee" Desktop
  499.                 WriteINIStr "$PLUGINSDIR\acdsee.ini" "Field 13" "State" $0
  500.                 ReadRegStr $0 HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\ACDSee" StartMenu
  501.                 WriteINIStr "$PLUGINSDIR\acdsee.ini" "Field 14" "State" $0
  502.                 ReadRegStr $0 HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\ACDSee" QuickLaunch
  503.                 WriteINIStr "$PLUGINSDIR\acdsee.ini" "Field 15" "State" $0
  504.                 ReadRegStr $0 HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\ACDSee" ContextMenu
  505.                 WriteINIStr "$PLUGINSDIR\acdsee.ini" "Field 20" "State" $0
  506.         ${EndIf}
  507. FunctionEnd

  508. Function CheckDependence
  509.         !insertmacro SelectIfSet ${ico}
  510.         !insertmacro SelectIfSet ${psd}
  511.         !insertmacro SelectIfSet ${psp}
  512.         !insertmacro SelectIfSet ${sgi}
  513.         !insertmacro SelectIfSet ${pcd}
  514.         !insertmacro SelectIfSet ${jp2}
  515.         !insertmacro SelectIfSet ${icn}
  516.         !insertmacro SelectIfSet ${zip}
  517.         !insertmacro SelectIfSet ${lha}
  518.         !insertmacro SelectIfSet ${rar}
  519.         !insertmacro SelectIfSet ${raw}
  520. FunctionEnd

  521. Function ComponentPre
  522.         Push $0
  523.         Push $1
  524.        
  525.         FindWindow $0 "#32770" "" $HWNDPARENT
  526.   GetDlgItem $1 $0 1017
  527.         ShowWindow $1 ${SW_HIDE}
  528.        
  529.         Call ResetSectionText
  530.        
  531.         ;隐藏 Asscoiations
  532.         ${For} $0 ${association} ${end}
  533.                 SectionSetText $0 ""
  534.         ${Next}
  535.        
  536.         ;HTML 像册生成器 和 图册实用工具 在 2000、98 下无法使用
  537.         ReadRegStr $0 HKLM "SOFTWARE\Microsoft\Windows NT\CurrentVersion" CurrentVersion
  538.         ${If} $0 == ""
  539.         ${OrIf} $0 == "5.0"
  540.                 !insertmacro UnselectSection ${cx_html}
  541.                 !insertmacro UnselectSection ${cx_csheet}
  542.                 SectionSetText ${cx_html} ""
  543.                 SectionSetText ${cx_csheet} ""
  544.         ${EndIf}
  545.        
  546.         Pop $1
  547.         Pop $0
  548. FunctionEnd

  549. Function ComponentShow
  550.         Push $0
  551.         Push $1
  552.                 ${For} $1 ${main} ${post}
  553.                         ReadINIStr $0 "$PLUGINSDIR\gaydata.ini" "secnames" "sec$1"
  554.                         SectionSetText $1 $0
  555.                 ${Next}
  556.         Pop $1
  557.         Pop $0
  558. FunctionEnd

  559. Function AsscoiationPre
  560.         Push $0
  561.         Push $1
  562.                 Call ResetSectionText
  563.                 ;隐藏 Components
  564.                 ${For} $0 ${main} ${post}
  565.                         SectionSetText $0 ""
  566.                 ${Next}
  567.                 Call CheckDependence
  568.         Pop $1
  569.         Pop $0
  570. FunctionEnd

  571. Function AsscoiationShow
  572.         Push $0
  573.         Push $1
  574.                 ${For} $1 ${association} ${end}
  575.                         ReadINIStr $0 "$PLUGINSDIR\gaydata.ini" "secnames" "sec$1"
  576.                         SectionSetText $1 $0
  577.                 ${Next}
  578.         Pop $1
  579.         Pop $0
  580. FunctionEnd

  581. Function ResetSectionText
  582.         Push $R0
  583.         Push $R1
  584.                 ${For} $R1 ${main} ${end}
  585.                         ReadINIStr $R0 "$PLUGINSDIR\gaydata.ini" "secnames" "sec$R1"
  586.                         ${If} $R0 == ""
  587.                                 SectionSetText $R1 ""
  588.                         ${Else}
  589.                                 SectionSetText $R1 " "
  590.                         ${EndIf}
  591.                 ${Next}
  592.         Pop $R1
  593.         Pop $R0
  594. FunctionEnd

  595. Function SetCustom
  596.   InstallOptions::initDialog /NOUNLOAD $PLUGINSDIR\acdsee.ini
  597.   !insertmacro MUI_HEADER_TEXT "个性化设置" "请输入你需要定制的个人信息"
  598.         InstallOptions::show
  599. FunctionEnd       

  600. Function ChageFONT
  601.         GetDlgItem $0 $MUI_HWND 1201
  602.         CreateFont $1 "Tahoma" "11" "700"
  603.         SendMessage $0 ${WM_SETFONT} $1 0
  604. FunctionEnd       

  605. ;******************************************************
  606. ; 卸载段
  607. ;******************************************************


  608. Section Uninstall
  609.         Call un.Restore
  610.         FindWindow $0 "Afx:400000:8"
  611.         SendMessage $0 ${WM_CLOSE} 0 0
  612.         Call un.DelReg
  613.        
  614.         Push "$INSTDIR\install.log"
  615.         Call un.DelFileByLog
  616.         Push "$INSTDIR\install.log"
  617.         Call un.RMDirByLog
  618.         Delete "$INSTDIR\install.log"
  619.         RMDir "$INSTDIR"
  620.        
  621.   System::Call 'shell32.dll::SHChangeNotify(l, l, i, i) v (0x08000000, 0, 0, 0)'
  622.        
  623.         ${If} ${RebootFlag}
  624.                 MessageBox MB_YESNO|MB_ICONEXCLAMATION "某个文件需要重启后才能删除,现在重新启动吗?" IDNO +2
  625.                 Reboot
  626.         ${ElseIf} ${FileExists} $INSTDIR
  627.                 MessageBox MB_OK|MB_ICONINFORMATION "某些文件并不是安装程序产生的,因此需要你手动删除"
  628.                 ExecShell open $INSTDIR SW_SHOWMAXIMIZED
  629.         ${EndIf}
  630. SectionEnd

  631. Function un.Restore
  632.   Push $R0
  633.   Push $R1
  634.   Push $R2
  635.   Push $R3
  636.        
  637.   StrCpy $R0 0
  638.   loop:
  639.     EnumRegValue $R1 HKCR "ACDSee.FILE" $R0
  640.     ReadRegStr $R3 HKCR ".$R1\UndoClass" ""
  641.                
  642.     StrCmp $R1 "" loop_quit
  643.                
  644.     StrCmp $R3 "" 0 restore                ;如果备份的是空值则直接删除
  645.     DeleteRegKey HKCR ".$R1"
  646.                 DeleteRegKey HKCR "ACDSee.$R1"
  647.     DetailPrint ".$R1 文件关联已被移除"
  648.     Goto cont_restore
  649.                
  650.     restore:
  651.     ReadRegStr $R2 HKCR ".$R1" ""
  652.     StrCpy $R2 $R2 7
  653.     StrCmp $R2 "ACDSee." 0 no_restore
  654.     WriteRegStr HKCR ".$R1" "" "$R3"
  655.                 DeleteRegKey HKCR "ACDSee.$R1"
  656.     DetailPrint ".$R1 文件关联已被恢复"
  657.     Goto cont_restore
  658.                
  659.     no_restore:
  660.     DetailPrint ".$R1 未被关联到 ACDSee,略过"
  661.                
  662.     cont_restore:
  663.     IntOp $R0 $R0 + 1
  664.     Goto loop
  665.   loop_quit:
  666.        
  667.   StrCpy $R0 0 ;清除关联的压缩文档
  668.   loop2:
  669.     EnumRegValue $R1 HKCR ACDSee.File\Archive $R0
  670.                 StrCmp $R1 "" loop2_quit
  671.                 EnumRegKey $R2 HKCR $R1 0
  672.                 StrCmp $R2 "" +2
  673.                 DeleteRegKey HKCR $R1
  674.     IntOp $R0 $R0 + 1
  675.     Goto loop2
  676.   loop2_quit:
  677.        
  678.         DeleteRegKey HKCR .apl
  679.         DeleteRegKey HKCR ACD.PlugIn
  680.         DeleteRegKey HKCR ACDSee.FILE
  681.        
  682.   Pop $R3
  683.   Pop $R2
  684.   Pop $R1
  685.   Pop $R0
  686. FunctionEnd

  687. Function un.DelFileByLog
  688.         Exch $R0
  689.         Push $R1
  690.         Push $R2
  691.         Push $R3
  692.        
  693.         FileOpen $R0 $R0 r
  694.         ${Do}
  695.           FileRead $R0 $R1
  696.                 StrCpy $R1 $R1 -2
  697.                 StrCpy $R2 $R1 11
  698.                 StrCpy $R3 $R1 20
  699.                 ${If} $R2 == "File: wrote"
  700.                 ${OrIf} $R2 == "File: skipp"
  701.                 ${OrIf} $R3 == "CreateShortCut: out:"
  702.                 ${OrIf} $R3 == "created uninstaller:"
  703.                         Push $R1
  704.                         Push '"'
  705.                         Call un.StrLoc
  706.                         Pop $R2
  707.                         ${If} $R2 != ""
  708.                                 IntOp $R2 $R2 + 1
  709.                                 StrCpy $R3 $R1 "" $R2
  710.                                 Push $R3
  711.                                 Push '"'
  712.                                 Call un.StrLoc
  713.                                 Pop $R2
  714.                                 ${If} $R2 != ""
  715.                                         StrCpy $R3 $R3 $R2
  716.                                         Delete /REBOOTOK $R3
  717.                                 ${EndIf}
  718.                         ${EndIf}
  719.                 ${EndIf}
  720.                 StrCpy $R2 $R1 7
  721.                 ${If} $R2 == "Rename:"
  722.                         Push $R1
  723.                         Push '->'
  724.                         Call un.StrLoc
  725.                         Pop $R2
  726.                         ${If} $R2 != ""
  727.                                 IntOp $R2 $R2 + 2
  728.                                 StrCpy $R3 $R1 "" $R2
  729.                                 Delete /REBOOTOK $R3
  730.                         ${EndIf}
  731.                 ${EndIf}
  732.         ${LoopUntil} $R1 == ""
  733.         FileClose $R0
  734.                
  735.         Pop $R3
  736.         Pop $R2
  737.         Pop $R1
  738.         Pop $R0
  739. FunctionEnd

  740. Function un.RMDirByLog
  741.         Exch $R0
  742.         Push $R1
  743.         Push $R2
  744.         Push $R3
  745.         Push $R4
  746.        
  747.         FileOpen $R0 $R0 r
  748.         FileSeek $R0 16 END $R1
  749.         ${Do}
  750.                 FileSeek $R0 -3 CUR $R1
  751.                 FileReadByte $R0 $R2
  752.                 FileReadByte $R0 $R3
  753.                 ${If} "$R2$R3" == "1310"
  754.                         FileRead $R0 $R2
  755.                         FileSeek $R0 $R1
  756.                         StrCpy $R3 $R2 16
  757.                         ${If} $R3 == "CreateDirectory:"
  758.                                 Push $R2
  759.                                 Push '"'
  760.                                 Call un.StrLoc
  761.                                 Pop $R3
  762.                                 ${If} $R3 != ""
  763.                                         IntOp $R3 $R3 + 1
  764.                                         StrCpy $R3 $R2 "" $R3
  765.                                         Push $R3
  766.                                         Push '"'
  767.                                         Call un.StrLoc
  768.                                         Pop $R2
  769.                                         ${If} $R2 != ""
  770.                                                 StrCpy $R2 $R3 $R2
  771.                                                 ; ----------------------特殊目录则跳过
  772.                                                 ${If} $R2 != $PLUGINSDIR
  773.                                                 ${AndIf} $R2 != $PROGRAMFILES
  774.                                                 ${AndIf} $R2 != $COMMONFILES
  775.                                                 ${AndIf} $R2 != $DESKTOP
  776.                                                 ${AndIf} $R2 != $STARTMENU
  777.                                                 ${AndIf} $R2 != $SMPROGRAMS
  778.                                                 ${AndIf} $R2 != $SMSTARTUP
  779.                                                 ${AndIf} $R2 != $QUICKLAUNCH
  780.                                                 ${AndIf} $R2 != $FAVORITES
  781.                                                         RMDir $R2 ;如果是空目录则删除
  782.                                                 ${EndIf}
  783.                                                 ; ----------------------
  784.                                         ${EndIf}
  785.                                 ${EndIf}
  786.                         ${EndIf}
  787.                 ${EndIf}
  788.         ${LoopUntil} $R1 < 10
  789.         FileClose $R0
  790.        
  791.         Pop $R4
  792.         Pop $R3
  793.         Pop $R2
  794.         Pop $R1
  795.         Pop $R0
  796. FunctionEnd

  797. Function un.StrLoc
  798.         Exch $R0 ;Str to search for
  799.         Exch
  800.         Exch $R1 ;string
  801.         Push $R2 ;len of Str to search for
  802.         Push $R3 ;len of string
  803.         Push $R4
  804.         Push $R5
  805.                 StrLen $R2 $R0
  806.                 StrLen $R3 $R1
  807.                 ${Do}
  808.                         StrCpy $R5 $R1 $R2 $R4
  809.                         ${If} $R5 == $R0
  810.                         ${OrIf} $R4 = $R3
  811.                                 ${ExitDo}
  812.                         ${EndIf}
  813.                         IntOp $R4 $R4 + 1
  814.                 ${Loop}
  815.                 ${If} $R4 = $R3
  816.                         StrCpy $R0 ""
  817.                 ${Else}
  818.                         StrCpy $R0 $R4
  819.                 ${EndIf}       
  820.         Pop $R5
  821.         Pop $R4
  822.         Pop $R3
  823.         Pop $R2
  824.         Pop $R1
  825.         Exch $R0
  826. FunctionEnd       

  827. Function un.DelReg
  828.   ReadRegStr $0 HKCR "CLSID\{68f32140-2ca3-11d0-acc1-444553540000}" ""
  829.   ${If} $0 != ""
  830.                 DeleteRegKey HKCU "Software\ACD Systems\PicaView"
  831.                 DeleteRegKey HKLM "Software\ACD Systems\PicaView"
  832.                 DeleteRegKey HKCR "CLSID\{68f32140-2ca3-11d0-acc1-444553540000}"
  833.                 DeleteRegKey HKCR "PicaViewImage"
  834.                 DeleteRegValue HKCR "*\shellex\ContextMenuHandlers\PicaView" ""
  835.                 DeleteRegValue HKLM "Software\Microsoft\Windows\CurrentVersion\Shell Extensions\Approved" "{68f32140-2ca3-11d0-acc1-444553540000}"
  836.   ${EndIf}
  837.        
  838.         DeleteRegValue HKLM "SOFTWARE\ACD Systems\ACDSee" InstallationDate
  839.         DeleteRegValue HKLM "SOFTWARE\ACD Systems\ACDSee" InTouchSettings
  840.         DeleteRegValue HKLM "SOFTWARE\ACD Systems\ACDSee" LicenseNumber
  841.         DeleteRegValue HKLM "SOFTWARE\ACD Systems\ACDSee" ServerList
  842.         DeleteRegValue HKLM "SOFTWARE\ACD Systems\ACDSee" UsageCount
  843.         DeleteRegKey /ifempty HKLM "SOFTWARE\ACD Systems\ACDSee"
  844.         DeleteRegKey /ifempty HKLM "SOFTWARE\ACD Systems"
  845.         DeleteRegKey HKCU "SOFTWARE\ACD Systems\PlugInsV1"
  846.         DeleteRegKey HKCU "SOFTWARE\ACD Systems\PicaView"
  847.         DeleteRegKey HKLM "SOFTWARE\ACD Systems\PlugInsV1"
  848.         DeleteRegKey HKLM "SOFTWARE\ACD Systems\PicaView"
  849.         DeleteRegKey HKLM "SOFTWARE\ACD Systems\ACDInTouch"
  850.         DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\ACDSee"
  851. FunctionEnd       
复制代码


回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|小黑屋|手机版|Archiver|SgzyStudio

GMT+8, 2024-5-20 03:51 , Processed in 0.096766 second(s), 18 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表