; NSIS script NSIS-2
; Install

SetCompressor /SOLID lzma
SetCompressorDictSize 8

; --------------------
; HEADER SIZE: 33773
; START HEADER SIZE: 300
; MAX STRING LENGTH: 1024
; STRING CHARS: 7379

OutFile [NSIS].exe
!include WinMessages.nsh

ShowInstDetails nevershow
LicenseBkColor /windows


; --------------------
; LANG TABLES: 1
; LANG STRINGS: 59

Name "云帆影音 V3.3.53.0"
BrandingText "云帆影音 V3.3.53.0"

; LANG: 2052
LangString LSTR_0 2052 "云帆影音 V3.3.53.0"
LangString LSTR_1 2052 "$(LSTR_2) 安装"
LangString LSTR_2 2052 "云帆影音 V3.3.53.0"
LangString LSTR_5 2052 "无法写入: "
LangString LSTR_8 2052 "无法找到符号: "
LangString LSTR_9 2052 "无法加载: "
LangString LSTR_10 2052 "创建文件夹: "
LangString LSTR_11 2052 "创建快捷方式: "
LangString LSTR_13 2052 "删除文件: "
LangString LSTR_14 2052 "重新启动后删除: "
LangString LSTR_15 2052 "正在创建快捷方式时发生错误: "
LangString LSTR_17 2052 正在解压缩数据发生错误！已损坏的安装程序？
LangString LSTR_20 2052 "运行: "
LangString LSTR_21 2052 "抽取: "
LangString LSTR_22 2052 "抽取: 无法写入文件 "
LangString LSTR_23 2052 "安装损毁: 无效的操作代码 "
LangString LSTR_24 2052 "没有 OLE 用于: "
LangString LSTR_25 2052 "输出目录: "
LangString LSTR_26 2052 "移除目录: "
LangString LSTR_29 2052 "已跳过: "
LangString LSTR_30 2052 "复制细节到剪贴板 "
LangString LSTR_36 2052 正在安装
LangString LSTR_37 2052 “$(LSTR_58)”正在安装，请等候...
LangString LSTR_38 2052 安装完成
LangString LSTR_39 2052 安装已成功完成。
LangString LSTR_40 2052 安装己中止
LangString LSTR_41 2052 安装没有成功。
LangString LSTR_42 2052 宋体
LangString LSTR_43 2052 9
LangString LSTR_44 2052 "不能打开要写入的文件: $\r$\n$\t$\"$0$\"$\r$\n单击 [Abort] 放弃安装，$\r$\n [Retry] 重新尝试写入文件，或$\r$\n [Ignore] 忽略这个文件。"
LangString LSTR_45 2052 "正在解除注册: "
LangString LSTR_46 2052 "正在注册: "
LangString LSTR_47 2052 自定义
LangString LSTR_48 2052 取消(&C)
LangString LSTR_49 2052 "< 上一步(&P)"
LangString LSTR_50 2052 安装(&I)
LangString LSTR_51 2052 "单击 [安装(I)] 开始安装进程。"
LangString LSTR_52 2052 显示细节(&D)
LangString LSTR_53 2052 已完成
LangString LSTR_54 2052 "下一步(&N) >"
LangString LSTR_55 2052 "单击 [下一步(N)] 继续。"
LangString LSTR_56 2052 " "
LangString LSTR_57 2052 关闭(&L)
LangString LSTR_58 2052 "云帆影音 V3.3.53.0"


; --------------------
; VARIABLES: 23

Var _0_
Var _1_
Var _2_
Var _3_
Var _4_
Var _5_
Var _6_
Var _7_
Var _8_
Var _9_
Var _10_
Var _11_
Var _12_
Var _13_
Var _14_
Var _15_
Var _16_
Var _17_
Var _18_
Var _19_
Var _20_
Var _21_
Var _22_


InstType $(LSTR_47)    ;  自定义
; wininit = $WINDIR\wininit.ini


; --------------------
; PAGES: 4

; Page 0
Page custom func_227 func_292 /ENABLECANCEL

; Page 1
Page instfiles func_0 func_5 func_6
  CompletedText $(LSTR_53)    ;  已完成
  DetailsButtonText $(LSTR_52)    ;  显示细节(&D)

/*
; Page 2
Page COMPLETED
*/

; Page 3
Page custom func_694 func_714


; --------------------
; SECTIONS: 3
; COMMANDS: 800

Function func_0    ; Page 1, Pre
  GetDlgItem $_0_ $HWNDPARENT 1037
  SendMessage $_0_ ${WM_SETTEXT} 0 STR:$(LSTR_36)    ;  正在安装
  GetDlgItem $_0_ $HWNDPARENT 1038
  SendMessage $_0_ ${WM_SETTEXT} 0 STR:$(LSTR_37)    ;  “$(LSTR_58)”正在安装，请等候... "云帆影音 V3.3.53.0"
FunctionEnd


Function func_5    ; Page 1, Show
FunctionEnd


Function func_6    ; Page 1, Leave
  IfAbort label_12
  GetDlgItem $_0_ $HWNDPARENT 1037
  SendMessage $_0_ ${WM_SETTEXT} 0 STR:$(LSTR_38)    ;  安装完成
  GetDlgItem $_0_ $HWNDPARENT 1038
  SendMessage $_0_ ${WM_SETTEXT} 0 STR:$(LSTR_39)    ;  安装已成功完成。
  Goto label_16
label_12:
  GetDlgItem $_0_ $HWNDPARENT 1037
  SendMessage $_0_ ${WM_SETTEXT} 0 STR:$(LSTR_40)    ;  安装己中止
  GetDlgItem $_0_ $HWNDPARENT 1038
  SendMessage $_0_ ${WM_SETTEXT} 0 STR:$(LSTR_41)    ;  安装没有成功。
label_16:
  IfAbort label_17
label_17:
FunctionEnd


Function .onGUIInit
  GetDlgItem $_0_ $HWNDPARENT 1037
  CreateFont $_1_ $(LSTR_42) $(LSTR_43) 700    ;  宋体 9
  SendMessage $_0_ ${WM_SETFONT} $_1_ 0
  SetCtlColors $_0_ "" 0xFFFFFF
  GetDlgItem $_0_ $HWNDPARENT 1038
  SetCtlColors $_0_ "" 0xFFFFFF
  GetDlgItem $_0_ $HWNDPARENT 1034
  SetCtlColors $_0_ "" 0xFFFFFF
  GetDlgItem $_0_ $HWNDPARENT 1039
  SetCtlColors $_0_ "" 0xFFFFFF
  GetDlgItem $_0_ $HWNDPARENT 1028
  SetCtlColors $_0_ /BRANDING ""
  GetDlgItem $_0_ $HWNDPARENT 1256
  SetCtlColors $_0_ /BRANDING ""
  SendMessage $_0_ ${WM_SETTEXT} 0 "STR:$(LSTR_0) "    ;  "云帆影音 V3.3.53.0"
FunctionEnd


Function .onUserAbort
FunctionEnd


Function func_35
  ReadRegStr $R0 HKLM "SOFTWARE\Microsoft\Windows NT\CurrentVersion" CurrentVersion
  StrCpy $R1 $R0 1
  IntCmp $R1 6 label_38 label_41 label_44
label_38:
  StrCpy $INSTDIR $APPDATA\kanpian
  StrCpy $_2_ 0
  Goto label_47
label_41:
  StrCpy $INSTDIR $PROGRAMFILES\kanpian
  StrCpy $_2_ 1
  Goto label_47
label_44:
  StrCpy $INSTDIR $APPDATA\kanpian
  StrCpy $_2_ 0
  Goto label_47
label_47:
FunctionEnd


Function .onInit
  System::Call "kernel32::CreateMutexA(i 0, i 0, t $\"SAMPLE_MUTEX$\") i .r1 ?e"
    ; Call Initialize_____Plugins
    ; SetOverwrite off
    ; File $PLUGINSDIR\System.dll
    ; SetDetailsPrint lastused
    ; Push "kernel32::CreateMutexA(i 0, i 0, t $\"SAMPLE_MUTEX$\") i .r1 ?e"
    ; CallInstDLL $PLUGINSDIR\System.dll Call
  Pop $R0
  StrCmp $R0 0 label_56
  Abort
label_56:
  Call :label_58
  Goto label_91
label_58:
  StrCmp $CMDLINE "" 0 label_61
  Push ""
  Return

label_61:
  Push $0
  Push $1
  Push $2
  Push $3
  StrLen $1 $CMDLINE
  StrCpy $2 2
  StrCpy $3 $CMDLINE 1
  StrCmp $3 $\" label_70
  StrCpy $3 " "
label_70:
  IntCmp $2 $1 label_74 0 label_74
  StrCpy $0 $CMDLINE 1 $2
  IntOp $2 $2 + 1
  StrCmp $3 $0 0 label_70
label_74:
  IntCmp $2 $1 label_79 0 label_79
  StrCpy $0 $CMDLINE 1 $2
  StrCmp $0 " " 0 label_79
  IntOp $2 $2 + 1
  Goto label_74
label_79:
  StrCpy $0 $CMDLINE "" $2
label_80:
  StrCpy $1 $0 1 -1
  StrCmp $1 " " 0 label_84
  StrCpy $0 $0 -1
  Goto label_80
label_84:
  Pop $3
  Pop $2
  Pop $1
  Exch $0
    ; Push $0
    ; Exch
    ; Pop $0
  Return

label_91:
  Pop $_9_
  Push $_9_
  Push /type=
  Call :label_96
  Goto label_185
label_96:
  Exch $1
    ; Push $1
    ; Exch
    ; Pop $1
  Exch
  Exch $0
    ; Push $0
    ; Exch
    ; Pop $0
  Exch
  Push $2
  Push $3
  Push $4
  Push $5
  Push $6
  Push $7
  ClearErrors
  StrCpy $2 $1 "" 1
  StrCpy $1 $1 1
  StrLen $3 $2
  StrCpy $7 0
label_115:
  StrCpy $4 -1
  StrCpy $6 ""
label_117:
  IntOp $4 $4 + 1
  StrCpy $5 $0 1 $4
  StrCmp $5$7 0 label_172
  StrCmp $5 "" label_159
  StrCmp $5 $\" 0 label_128
  StrCmp $6 "" 0 label_125
  StrCpy $6 $\"
  Goto label_117
label_125:
  StrCmp $6 $\" 0 label_128
  StrCpy $6 ""
  Goto label_117
label_128:
  StrCmp $5 ' 0 label_135
  StrCmp $6 "" 0 label_132
  StrCpy $6 '
  Goto label_117
label_132:
  StrCmp $6 ' 0 label_135
  StrCpy $6 ""
  Goto label_117
label_135:
  StrCmp $5 ` 0 label_142
  StrCmp $6 "" 0 label_139
  StrCpy $6 `
  Goto label_117
label_139:
  StrCmp $6 ` 0 label_142
  StrCpy $6 ""
  Goto label_117
label_142:
  StrCmp $6 $\" label_117
  StrCmp $6 ' label_117
  StrCmp $6 ` label_117
  StrCmp $5 $1 0 label_117
  StrCmp $7 0 label_147 label_159
label_147:
  IntOp $4 $4 + 1
  StrCpy $5 $0 $3 $4
  StrCmp $5 "" label_172
  StrCmp $5 $2 0 label_117
  IntOp $4 $4 + $3
  StrCpy $0 $0 "" $4
label_153:
  StrCpy $4 $0 1
  StrCmp $4 " " 0 label_157
  StrCpy $0 $0 "" 1
  Goto label_153
label_157:
  StrCpy $7 1
  Goto label_115
label_159:
  StrCpy $0 $0 $4
label_160:
  StrCpy $4 $0 1 -1
  StrCmp $4 " " 0 label_164
  StrCpy $0 $0 -1
  Goto label_160
label_164:
  StrCpy $3 $0 1
  StrCpy $4 $0 1 -1
  StrCmp $3 $4 0 label_174
  StrCmp $3 $\" label_170
  StrCmp $3 ' label_170
  StrCmp $3 ` 0 label_174
label_170:
  StrCpy $0 $0 -1 1
  Goto label_174
label_172:
  SetErrors
  StrCpy $0 ""
label_174:
  Pop $7
  Pop $6
  Pop $5
  Pop $4
  Pop $3
  Pop $2
  Pop $1
  Exch $0
    ; Push $0
    ; Exch
    ; Pop $0
  Return

label_185:
  Pop $_21_
  Push $_9_
  Push /from=
  Call :label_96
  Pop $_20_
  Call func_35
  InitPluginsDir
    ; Call Initialize_____Plugins
    ; SetDetailsPrint lastused
  SetOverwrite on
  File $PLUGINSDIR\assist.dll
  SetOutPath $PLUGINSDIR\icon
  StrCpy $_OUTDIR $OUTDIR
  SetOutPath $_OUTDIR\skin
  File agree.png
  File agree2.png
  File bg_1.png
  File button.png
  File close.png
  File editBg.png
  File experience.png
  File min.png
  File point.png
  File process.png
  File process_arrow.png
  File process_back.png
  File process_first.png
  File process_second.png
  File process_third.png
  File select.png
  File set.png
  File set_down.png
  File setup.png
  File skin.xml
  File uninit_process_back.png
  File uninstall_bg.png
  File uninstall_finish.png
  File uninstall_loading.png
  File uninstall_loading_bg.png
  File uninstall_text.png
  SetOutPath $_OUTDIR
FunctionEnd


Function .onInstSuccess
  RMDir /r /REBOOTOK $PLUGINSDIR
FunctionEnd


Function func_227    ; Page 0, Pre
  IfSilent label_232
  nSisImage::HideWindow
    ; Call Initialize_____Plugins
    ; SetOverwrite off
    ; File $PLUGINSDIR\nSisImage.dll
    ; SetDetailsPrint lastused
    ; CallInstDLL $PLUGINSDIR\nSisImage.dll HideWindow
label_232:
  StrCpy $_10_ update
  StrCmp $_21_ upgrade label_235
  StrCpy $_10_ init
label_235:
  IfSilent label_244
  nSisImage::InitDlg "DllPath='$PLUGINSDIR\assist.dll' SkinPath='$PLUGINSDIR\icon\skin' Name='云帆影音 V3.3.53.0' ICON='$PLUGINSDIR\icon\install.ico' Type='$_10_'"
    ; Call Initialize_____Plugins
    ; File $PLUGINSDIR\nSisImage.dll
    ; SetDetailsPrint lastused
    ; Push "DllPath='$PLUGINSDIR\assist.dll' SkinPath='$PLUGINSDIR\icon\skin' Name='云帆影音 V3.3.53.0' ICON='$PLUGINSDIR\icon\install.ico' Type='$_10_'"
    ; CallInstDLL $PLUGINSDIR\nSisImage.dll InitDlg
  Pop $_13_
  Pop $_11_
  Pop $_12_
label_244:
  ReadRegStr $0 HKCU SOFTWARE\\kanpian path
  ReadRegStr $1 HKCU SOFTWARE\\kanpian desktop_shortcut
  ReadRegStr $2 HKCU SOFTWARE\\kanpian quicklaunch_shortcut
  ReadRegStr $3 HKCU SOFTWARE\\kanpian cur_ver
  StrCmp $3 "" 0 label_250
  StrCpy $1 1
label_250:
  StrCpy $_5_ $0
  StrCmp $0 "" 0 label_253
  StrCpy $0 $INSTDIR
label_253:
  nSisImage::GetInstallPath "DefaultPath='$INSTDIR' OldSetupPath='$0'"
    ; Call Initialize_____Plugins
    ; File $PLUGINSDIR\nSisImage.dll
    ; SetDetailsPrint lastused
    ; Push "DefaultPath='$INSTDIR' OldSetupPath='$0'"
    ; CallInstDLL $PLUGINSDIR\nSisImage.dll GetInstallPath
  Pop $_6_
  StrCpy $INSTDIR $_6_
  StrCmp $_21_ upgrade label_261 label_268
label_261:
  StrCpy $_14_ 0
  StrCpy $_15_ 0
  StrCpy $_16_ 0
  StrCpy $_17_ 0
  StrCmp $1 "" label_267
  StrCpy $_14_ $1
label_267:
  Goto label_291
label_268:
  IfSilent label_273
  StrCpy $_14_ 1
  StrCpy $_15_ 1
  StrCpy $_16_ 0
  IfSilent label_287
label_273:
  nSisImage::SetPathAndWait $_11_ $_12_ http://kanpian.yunfan.com/license.html "SetupPath='$INSTDIR' CheckState='$_14_$_15_' DefaultPath='$INSTDIR' OldSetupPath='$0'"
    ; Call Initialize_____Plugins
    ; File $PLUGINSDIR\nSisImage.dll
    ; SetDetailsPrint lastused
    ; Push "SetupPath='$INSTDIR' CheckState='$_14_$_15_' DefaultPath='$INSTDIR' OldSetupPath='$0'"
    ; Push http://kanpian.yunfan.com/license.html
    ; Push $_12_
    ; Push $_11_
    ; CallInstDLL $PLUGINSDIR\nSisImage.dll SetPathAndWait
  Pop $_4_
  Pop $_3_
  Pop $_16_
  Pop $_15_
  Pop $_14_
  StrCmp $_3_ 1 label_289
label_287:
  SendMessage $HWNDPARENT ${WM_CLOSE} 0 0
  Quit
label_289:
  StrCpy $INSTDIR $_4_
  Goto label_291
label_291:
FunctionEnd


Function func_292    ; Page 0, Leave
FunctionEnd


Section ; Section_0
  ; AddSize 109406
  SectionIn 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 RO
  nSisImage::TerminateKWEProcess
    ; Call Initialize_____Plugins
    ; File $PLUGINSDIR\nSisImage.dll
    ; SetDetailsPrint lastused
    ; CallInstDLL $PLUGINSDIR\nSisImage.dll TerminateKWEProcess
  Pop $_19_
  IfSilent label_303
  nSisImage::HideWindow
    ; Call Initialize_____Plugins
    ; AllowSkipFiles off
    ; File $PLUGINSDIR\nSisImage.dll
    ; SetDetailsPrint lastused
    ; CallInstDLL $PLUGINSDIR\nSisImage.dll HideWindow
label_303:
  SetAutoClose true
  nSisImage::IsExistTaskLink kanpian.exe
    ; Call Initialize_____Plugins
    ; AllowSkipFiles on
    ; File $PLUGINSDIR\nSisImage.dll
    ; SetDetailsPrint lastused
    ; Push kanpian.exe
    ; CallInstDLL $PLUGINSDIR\nSisImage.dll IsExistTaskLink
  Pop $_18_
  IfSilent 0 label_313
  StrCpy $_15_ $_18_
  StrCpy $_14_ 1
label_313:
  StrCmp $_21_ upgrade 0 label_316
  StrCpy $_15_ $_18_
  StrCpy $_14_ 1
label_316:
  FindWindow $1 "#32770" "" $HWNDPARENT
  GetDlgItem $0 $1 1004
  IfSilent label_327
  nSisImage::SethProgressWnd $_11_ $_12_ $0 Init
    ; Call Initialize_____Plugins
    ; File $PLUGINSDIR\nSisImage.dll
    ; SetDetailsPrint lastused
    ; Push Init
    ; Push $0
    ; Push $_12_
    ; Push $_11_
    ; CallInstDLL $PLUGINSDIR\nSisImage.dll SethProgressWnd
label_327:
  SetRebootFlag false
  nSisImage::GetInstallBhoPath OldSetupPath='$_5_'
    ; Call Initialize_____Plugins
    ; File $PLUGINSDIR\nSisImage.dll
    ; SetDetailsPrint lastused
    ; Push OldSetupPath='$_5_'
    ; CallInstDLL $PLUGINSDIR\nSisImage.dll GetInstallBhoPath
  Pop $_7_
  ReadRegStr $_8_ HKCU "Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\Shell Folders" "Local AppData"
  StrCmp $_8_ "" label_338
  IfFileExists "$_8_\kanpian\User Data\Default\plugins\water_melon\npxgaxr.dll" 0 label_338
  UnRegDLL "$_8_\kanpian\User Data\Default\plugins\water_melon\npxgaxr.dll"
label_338:
  System::Call kernel32::GetCurrentProcess()i.s
    ; Call Initialize_____Plugins
    ; AllowSkipFiles off
    ; File $PLUGINSDIR\System.dll
    ; SetDetailsPrint lastused
    ; Push kernel32::GetCurrentProcess()i.s
    ; CallInstDLL $PLUGINSDIR\System.dll Call
  System::Call kernel32::IsWow64Process(is,*i.s)
    ; Call Initialize_____Plugins
    ; File $PLUGINSDIR\System.dll
    ; SetDetailsPrint lastused
    ; Push kernel32::IsWow64Process(is,*i.s)
    ; CallInstDLL $PLUGINSDIR\System.dll Call
  Pop $_22_
  StrCmp $_22_ 0 label_353
  IfFileExists $_7_\minibho\YunFanExtendx64.dll 0 label_352
  UnRegDLL $_7_\minibho\YunFanExtendx64.dll
label_352:
  Goto label_355
label_353:
  IfFileExists $_7_\minibho\YunFanExtend.dll 0 label_355
  UnRegDLL $_7_\minibho\YunFanExtend.dll
label_355:
  RMDir /r $INSTDIR
  SetOutPath $INSTDIR
  SetOverwrite try
  AllowSkipFiles on
  File kanpian.exe
  SetOutPath $INSTDIR\3.3.53.0\locales
  File zh-CN.pak
  File zh-TW.pak
  File en-US.pak
  SetOutPath $INSTDIR\3.3.53.0\kwconfig
  StrCpy $_OUTDIR $OUTDIR
  File app_cfg
  File app_cfg-journal
  File intercept_cfg
  File intercept_cfg-journal
  SetOutPath $_OUTDIR
  SetOutPath $INSTDIR\3.3.53.0\kwplugins
  StrCpy $_OUTDIR $OUTDIR
  SetOutPath $_OUTDIR\swf
  File NPSWF32_11_9_900_170.dll
  File flashplayer.xpt
  SetOutPath $_OUTDIR\yfassist
  File npYFAssist.dll
  SetOutPath $_OUTDIR\yfplayer
  File MediaPlayEngine.dll
  File PlayCtrl.dll
  File VideoRenderers.dll
  File npYFPlayer.dll
  File test_yfpp.htm
  SetOutPath $_OUTDIR\yfplayer\Codecs
  File CoreAAC.ax
  File CoreAVC.ax
  File FlvSplitter.ax
  File MP4Splitter.ax
  File MatroskaSplitter.ax
  File RealMediaSplitter.ax
  SetOutPath $_OUTDIR\yfplayer\Codecs\real
  File cook.dll
  File drvc.dll
  SetOutPath $_OUTDIR
  SetOutPath $INSTDIR\3.3.53.0\localapp
  StrCpy $_OUTDIR $OUTDIR
  SetOutPath $_OUTDIR\bmm
  File bmm.js
  File jquery-1.3.2.min.js
  File main.html
  File main.js
  File tools.js
  File tree.js
  SetOutPath $_OUTDIR\bmm\css
  File popStyle.css
  File webShared.css
  SetOutPath $_OUTDIR\bmm\images
  File favicon.ico
  File folder-close.png
  File folder-open.png
  File folder-open1.png
  File nav_jt.gif
  File shared_ico.png
  File visa.png
  SetOutPath $_OUTDIR\lgs
  File main.html
  SetOutPath $_OUTDIR\lgs\css
  File scan.css
  SetOutPath $_OUTDIR\lgs\images
  File 2144.png
  File 2144_b.png
  File 3366.png
  File 3366_b.png
  File 360.png
  File 360_b.png
  File 4399.png
  File 4399_b.png
  File 7k7k.png
  File 7k7k_b.png
  File browser_01.png
  File browser_02.png
  File browser_03.png
  File browser_04.png
  File browser_05.png
  File browser_06.png
  File browser_07.png
  File close_normal.png
  File kuaiwan.png
  File kuaiwan_b.png
  File loading.GIF
  File localScan.ico
  File scan.gif
  File scan_ani.png
  File scan_delete_btn.png
  File scan_history.png
  File scan_pic.png
  File scan_topbar_bg.png
  SetOutPath $_OUTDIR\lgs\js
  File library.min.js
  File local_game_scan.js
  SetOutPath $_OUTDIR\ntp
  File manifest.json
  File new_tab.html
  SetOutPath $_OUTDIR\ntp\css
  File ntp.css
  SetOutPath $_OUTDIR\ntp\images
  File add.png
  File bg_Rbutton.png
  File bg_footer_on.png
  File btn_close.png
  File btn_paly.png
  File btn_play.png
  File btn_search.png
  File btn_search_pull.png
  File btn_switcher_next.png
  File btn_switcher_next1.png
  File btn_switcher_next_hover.png
  File btn_switcher_pre.png
  File btn_switcher_pre1.png
  File btn_switcher_pre_hover.png
  File film_play.png
  File film_search.gif
  File footer_jt1.png
  File footer_jt2.png
  File footer_jt3.png
  File footrt_selected.gif
  File footrt_selected.png
  File game.png
  File grepdianying.jpg
  File ico_footer.png
  File ico_search.png
  File icon_footer.png
  File loading.gif
  File loading.png
  File menu-qh.png
  File more.gif
  File movie.png
  File movie_bg.jpg
  File mv_yy.png
  File nav_line.png
  File page_hover.png
  File page_span_left.png
  File page_span_right.png
  File qn.gif
  File quickAcess.png
  File red_dot.gif
  File show_mask.png
  File skin.png
  File skin_box_arrow.png
  File skin_close.png
  File skin_load.png
  File tuliAnchor.png
  File world_ico.png
  SetOutPath $_OUTDIR\ntp\js
  File base.js
  File jquery.js
  File jquery.jsonp.js
  File ntp.js
  SetOutPath $_OUTDIR\yfext
  File app.js
  File drag_wrapper.js
  File extension_settings.js
  File jquery-1.3.2.min.js
  File main.html
  File pack_extension_overlay.js
  File tools.js
  SetOutPath $_OUTDIR\yfext\css
  File popStyle.css
  File webShared.css
  SetOutPath $_OUTDIR\yfext\images
  File application_center.gif
  File expansion_ico.png
  File favicon.ico
  File history_ico.png
  File nav_jt.gif
  File plugins_ico_active.png
  File plugins_ico_inactive.png
  File select_down.png
  File shared_ico.png
  SetOutPath $_OUTDIR\yfh
  File history.js
  File jquery-1.3.2.min.js
  File main.html
  File preferences.js
  File tools.js
  SetOutPath $_OUTDIR\yfh\css
  File popStyle.css
  File webShared.css
  SetOutPath $_OUTDIR\yfh\images
  File favicon.ico
  File history_ico.png
  File nav_jt.gif
  File select_down.png
  File shared_ico.png
  SetOutPath $_OUTDIR\yfp
  File localplayer.html
  File main.html
  File manifest.json
  SetOutPath $_OUTDIR\yfp\css
  File playStyle.css
  File style_movie.css
  SetOutPath $_OUTDIR\yfp\images
  File 1.gif
  File 2.gif
  File add.gif
  File bendi.png
  File dot.png
  File favicon.ico
  File favicon_1.ico
  File hd.gif
  File hd_float.png
  File hot.gif
  File ico_tu.png
  File jt_more.png
  File jt_more1.png
  File jt_two_mr.png
  File jt_two_sel.png
  File loading.gif
  File new.gif
  File open.png
  File play_icon.png
  File play_num.png
  File play_num1.png
  File play_sj.gif
  File player.png
  File red_dot.png
  File save_bg.gif
  File sb_hover.gif
  File ser_close.gif
  File tab_qh.png
  File tip_loading.gif
  File title_bg.gif
  SetOutPath $_OUTDIR\yfp\js
  File YunFanPlayerCore.js
  File YunFanPlayerUI.js
  File base.js
  File chaseCtrl.js
  File doT.js
  File historyCtrl.js
  File jquery-1.7.2.min.js
  File jquery.ba-hashchange.min.js
  File jquery.ba-resize.min.js
  File jquery.jsonp.js
  File jquery.lazyload.min.js
  File localCtrl.js
  File stat.js
  File yfp-2.0.js
  File yfp.js
  SetOutPath $_OUTDIR\yfs
  File clear_browser_data.js
  File jquery-1.3.2.min.js
  File main.html
  File main.js
  File preferences.js
  File search_engine_manager.js
  File settings_command_list.js
  File tools.js
  SetOutPath $_OUTDIR\yfs\css
  File popStyle.css
  File webShared.css
  SetOutPath $_OUTDIR\yfs\images
  File favicon.ico
  File nav_jt.gif
  File progress.gif
  File select_down.png
  File shared_ico.png
  SetOutPath $_OUTDIR
  SetOutPath $INSTDIR\3.3.53.0\videoplugins
  StrCpy $_OUTDIR $OUTDIR
  File AudioCapture.dll
  File Filters.xml
  File QvodFFmpegMux.dll
  File VideoCapture.dll
  File YunFanVideoSource.dll
  File manifest.json
  SetOutPath $_OUTDIR\ffmpeg
  File avcodec-53.dll
  File avformat-53.dll
  File avutil-51.dll
  File libx264-120.dll
  File swscale-2.dll
  SetOutPath $_OUTDIR
  SetOutPath $INSTDIR\3.3.53.0\assofileicons
  StrCpy $_OUTDIR $OUTDIR
  File asf.ico
  File avi.ico
  File flv.ico
  File m4v.ico
  File mkv.ico
  File mov.ico
  File mp4.ico
  File rm.ico
  File rmvb.ico
  File swf.ico
  File wm.ico
  File wma.ico
  File wmv.ico
  SetOutPath $_OUTDIR
  SetOutPath $INSTDIR\3.3.53.0\
  File chrome.dll
  File kanpian.exe
  File chrome_100_percent.pak
  File ffmpegsumo.dll
  File icudt.dll
  File libEGL.dll
  File libGLESv2.dll
  File resources.pak
  File kwe_updater.exe
  File kwbugreport.exe
  File update.ini
  SetShellVarContext all
  DeleteRegKey HKCU SOFTWARE\\KWExplorer
  WriteRegStr HKCU SOFTWARE\\kanpian install_src $_20_
  WriteRegStr HKCU SOFTWARE\\kanpian module_dir $INSTDIR\3.3.53.0
  WriteRegStr HKCU SOFTWARE\\kanpian path $INSTDIR\
  WriteRegStr HKCU SOFTWARE\\kanpian install_dir $INSTDIR\
  WriteRegStr HKCU SOFTWARE\\kanpian exe_path $INSTDIR\kanpian.exe
  WriteRegStr HKCU SOFTWARE\\kanpian cur_ver 3.3.53.0
  WriteRegStr HKCU SOFTWARE\\kanpian desktop_shortcut $_14_
  WriteRegStr HKCU SOFTWARE\\kanpian quicklaunch_shortcut $_15_
  nSisImage::RegTridentFeatures "FileName='kanpian.exe' Type='Init'"
    ; Call Initialize_____Plugins
    ; SetOverwrite off
    ; File $PLUGINSDIR\nSisImage.dll
    ; SetDetailsPrint lastused
    ; Push "FileName='kanpian.exe' Type='Init'"
    ; CallInstDLL $PLUGINSDIR\nSisImage.dll RegTridentFeatures
  nSisImage::RegFileAssociation "ExeName='kanpian.exe' FilePath='$INSTDIR' AssoFileIconsPath='$INSTDIR\3.3.53.0\assofileicons'"
    ; Call Initialize_____Plugins
    ; File $PLUGINSDIR\nSisImage.dll
    ; SetDetailsPrint lastused
    ; Push "ExeName='kanpian.exe' FilePath='$INSTDIR' AssoFileIconsPath='$INSTDIR\3.3.53.0\assofileicons'"
    ; CallInstDLL $PLUGINSDIR\nSisImage.dll RegFileAssociation
  SetRebootFlag false
  Exec "$INSTDIR\3.3.53.0\kwe_updater.exe -install -version=3.3.53.0 -run-from=$_20_"
  IfSilent label_683
  StrCmp $_21_ upgrade label_685
label_683:
  SetOutPath $INSTDIR
  SetOverwrite try
  File uninstaller.exe
label_685:
  IfSilent label_693
  nSisImage::SetProgressOver $_11_ $_12_ Init
    ; Call Initialize_____Plugins
    ; SetOverwrite off
    ; File $PLUGINSDIR\nSisImage.dll
    ; SetDetailsPrint lastused
    ; Push Init
    ; Push $_12_
    ; Push $_11_
    ; CallInstDLL $PLUGINSDIR\nSisImage.dll SetProgressOver
label_693:
SectionEnd


Function func_694    ; Page 3, Pre
  IfSilent label_699
  nSisImage::HideWindow
    ; Call Initialize_____Plugins
    ; AllowSkipFiles off
    ; File $PLUGINSDIR\nSisImage.dll
    ; SetDetailsPrint lastused
    ; CallInstDLL $PLUGINSDIR\nSisImage.dll HideWindow
label_699:
  Exec $INSTDIR\kanpian.exe
  IfSilent label_707
  nSisImage::EndDlg $_11_ $_12_
    ; Call Initialize_____Plugins
    ; AllowSkipFiles on
    ; File $PLUGINSDIR\nSisImage.dll
    ; SetDetailsPrint lastused
    ; Push $_12_
    ; Push $_11_
    ; CallInstDLL $PLUGINSDIR\nSisImage.dll EndDlg
label_707:
  IfSilent label_713
  nSisImage::FreeDllSource $_13_
    ; Call Initialize_____Plugins
    ; File $PLUGINSDIR\nSisImage.dll
    ; SetDetailsPrint lastused
    ; Push $_13_
    ; CallInstDLL $PLUGINSDIR\nSisImage.dll FreeDllSource
label_713:
FunctionEnd


Function func_714    ; Page 3, Leave
FunctionEnd


Section ; Section_1
  SetShellVarContext current
  Delete $DESKTOP\看片神器.lnk
  Delete $SMPROGRAMS\看片神器\快玩浏览器.lnk
  Delete $APPDATA\看片神器.lnk
  Delete $SMPROGRAMS\看片神器\卸载看片神器.lnk
  RMDir /r $SMPROGRAMS\看片神器
  Delete $DESKTOP\快玩浏览器.lnk
  Delete $SMPROGRAMS\快玩浏览器\快玩浏览器.lnk
  Delete $APPDATA\快玩浏览器.lnk
  Delete $SMPROGRAMS\快玩浏览器\卸载快玩浏览器.lnk
  RMDir /r $SMPROGRAMS\快玩浏览器
  Delete $DESKTOP\世界杯浏览器.lnk
  Delete $SMPROGRAMS\世界杯浏览器\快玩浏览器.lnk
  Delete $APPDATA\世界杯浏览器.lnk
  Delete $SMPROGRAMS\世界杯浏览器\卸载快玩浏览器.lnk
  RMDir /r $SMPROGRAMS\世界杯浏览器
  Delete $DESKTOP\影视浏览器.lnk
  Delete $SMPROGRAMS\影视浏览器\影视浏览器.lnk
  Delete $APPDATA\影视浏览器.lnk
  Delete $SMPROGRAMS\影视浏览器\卸载影视浏览器.lnk
  RMDir /r $SMPROGRAMS\影视浏览器
  Delete $DESKTOP\云帆影音.lnk
  Delete $SMPROGRAMS\云帆影音\云帆影音.lnk
  Delete $APPDATA\云帆影音.lnk
  Delete $SMPROGRAMS\云帆影音\卸载云帆影音.lnk
  RMDir /r $SMPROGRAMS\云帆影音
  SetShellVarContext all
  Delete $DESKTOP\快玩浏览器.lnk
  Delete $DESKTOP\云帆影音.lnk
  SetShellVarContext current
  StrCmp $_14_ 0 label_747
  CreateShortCut $DESKTOP\云帆影音.lnk $INSTDIR\kanpian.exe "" "" "" SW_SHOWNORMAL "" 云帆影音
label_747:
  CreateDirectory $SMPROGRAMS\云帆影音
  CreateShortCut $SMPROGRAMS\云帆影音\云帆影音.lnk $INSTDIR\kanpian.exe
  CreateShortCut $SMPROGRAMS\云帆影音\卸载云帆影音.lnk $INSTDIR\uninstaller.exe
  StrCmp $_15_ 0 label_757
  CreateShortCut $APPDATA\云帆影音.lnk $INSTDIR\kanpian.exe
  nSisImage::TaskBarShortCut "File='$INSTDIR\kanpian.exe' FileName='kanpian.exe' LinkfileName='$INSTDIR\云帆影音.lnk' Type='Init'"
    ; Call Initialize_____Plugins
    ; File $PLUGINSDIR\nSisImage.dll
    ; SetDetailsPrint lastused
    ; Push "File='$INSTDIR\kanpian.exe' FileName='kanpian.exe' LinkfileName='$INSTDIR\云帆影音.lnk' Type='Init'"
    ; CallInstDLL $PLUGINSDIR\nSisImage.dll TaskBarShortCut
label_757:
  CreateDirectory $APPDATA\kanpian
SectionEnd


Section ; Section_2
  SetOutPath $INSTDIR
  WriteRegStr HKLM Software\Microsoft\Windows\CurrentVersion\Uninstall\kanpian DisplayName "云帆影音 V3.3.53.0"
  WriteRegStr HKLM Software\Microsoft\Windows\CurrentVersion\Uninstall\kanpian UninstallString $INSTDIR\uninstaller.exe
  WriteRegStr HKLM Software\Microsoft\Windows\CurrentVersion\Uninstall\kanpian DisplayIcon $INSTDIR\kanpian.exe
  WriteRegStr HKLM Software\Microsoft\Windows\CurrentVersion\Uninstall\kanpian DisplayVersion V3.3.53.0
  WriteRegStr HKLM Software\Microsoft\Windows\CurrentVersion\Uninstall\kanpian URLInfoAbout http://kanpian.yunfan.com/
  WriteRegStr HKLM Software\Microsoft\Windows\CurrentVersion\Uninstall\kanpian URLUpdateInfo http://kanpian.yunfan.com/
  WriteRegStr HKLM Software\Microsoft\Windows\CurrentVersion\Uninstall\kanpian HelpTelephone 0755-33632699
  WriteRegStr HKLM Software\Microsoft\Windows\CurrentVersion\Uninstall\kanpian Publisher "Shenzhen Qvod Technology Co.,Ltd"
  System::Call kernel32::GetCurrentProcess()i.s
    ; Call Initialize_____Plugins
    ; AllowSkipFiles off
    ; File $PLUGINSDIR\System.dll
    ; SetDetailsPrint lastused
    ; Push kernel32::GetCurrentProcess()i.s
    ; CallInstDLL $PLUGINSDIR\System.dll Call
  System::Call kernel32::IsWow64Process(is,*i.s)
    ; Call Initialize_____Plugins
    ; File $PLUGINSDIR\System.dll
    ; SetDetailsPrint lastused
    ; Push kernel32::IsWow64Process(is,*i.s)
    ; CallInstDLL $PLUGINSDIR\System.dll Call
  Pop $_22_
  StrCmp $_22_ 0 label_783
  IfFileExists $INSTDIR\3.3.53.0\minibho\YunFanExtendx64.dll 0 label_782
  RegDLL $INSTDIR\3.3.53.0\minibho\YunFanExtendx64.dll
label_782:
  Goto label_785
label_783:
  IfFileExists $INSTDIR\3.3.53.0\minibho\YunFanExtend.dll 0 label_785
  RegDLL $INSTDIR\3.3.53.0\minibho\YunFanExtend.dll
label_785:
SectionEnd


/*
Function Initialize_____Plugins
  SetDetailsPrint none
  StrCmp $PLUGINSDIR "" 0 label_796
  Push $0
  SetErrors
  GetTempFileName $0
  Delete $0
  CreateDirectory $0
  IfErrors label_797
  StrCpy $PLUGINSDIR $0
  Pop $0
label_796:
  Return

label_797:
  MessageBox MB_OK|MB_ICONSTOP "错误! 无法初始化插件目录. 请稍后重试." /SD IDOK
  Quit
FunctionEnd
*/



; --------------------
; UNREFERENCED STRINGS:

/*
34 $PROGRAMFILES
38 CommonFilesDir
53 "$PROGRAMFILES\Common Files"
70 $COMMONFILES
*/
