锘??xml version="1.0" encoding="utf-8" standalone="yes"?>久久精品无码一区二区三区,91精品观看91久久久久久,久久精品国产一区http://m.shnenglu.com/huangyi5209/category/16425.htmlzh-cnTue, 07 Jun 2011 11:01:06 GMTTue, 07 Jun 2011 11:01:06 GMT60NSIS 杞歡鍜宮ysql鑴氭湰瀵煎叆鐨勫畨瑁呭寘錛堥殣钘忓脊鍑虹獥鍙o級http://m.shnenglu.com/huangyi5209/articles/144656.htmlhuangyi5209huangyi5209Wed, 20 Apr 2011 06:23:00 GMThttp://m.shnenglu.com/huangyi5209/articles/144656.htmlhttp://m.shnenglu.com/huangyi5209/comments/144656.htmlhttp://m.shnenglu.com/huangyi5209/articles/144656.html#Feedback0http://m.shnenglu.com/huangyi5209/comments/commentRss/144656.htmlhttp://m.shnenglu.com/huangyi5209/services/trackbacks/144656.html#
Name 
"qdzyServer"

OutFile 
"qdzyServer.exe"

CRCCheck on
XPStyle on 

SetCompressor lzma

!include MUI.nsh
!include InstallOptions.nsh

#
!insertmacro MUI_PAGE_WELCOME

Page custom GetInfos 
"" ": register page"
!insertmacro MUI_PAGE_DIRECTORY
!insertmacro MUI_PAGE_INSTFILES

!insertmacro MUI_LANGUAGE "SimpChinese"
#
!insertmacro MUI_PAGE_FINISH

InstallDir $PROGRAMFILES\i3NVRSystem

RequestExecutionLevel admin

Icon 
"${NSISDIR}\Contrib\Graphics\Icons\icmsMonitorUI.ico"
UninstallIcon 
"${NSISDIR}\Contrib\Graphics\Icons\arrow-uninstall.ico"

; Pages

/* Page directory
Page instfiles 
*/


Var login
Var password
Var db
Var createdb
Var errorsrc
Var license

Function .onInit 
    InitPluginsDir
    
!insertmacro INSTALLOPTIONS_EXTRACT "config.ini"    
FunctionEnd
#SilentInstall silent

Section

    SectionIn RO
    
    ReadINIStr $license 
"$PLUGINSDIR\config.ini" "Field 2" "State"
    #StrCmp $
2 1 0 endinst
    WriteRegStr HKLM SOFTWARE\\SOBEY\\ICMS\\CONFIG 
"License" $license
    
    #StrCpy $errorsrc 
"license error"
    #Goto abortinst
    
    SetOutPath $INSTDIR
    
    File 
"binr\sblicense.lic"
    File 
"binr\AlarmPlugConfigruation.xml"
    File 
"binr\AudioEncodePlugConfigruation.xml"
    File 
"binr\iSwitchConfigruation.xml"
    File 
"binr\NetworkWatchConfig.xml"
    File 
"binr\PlugConfigruation.xml"
    File 
"binr\iswitchconfig.ini"
    File 
"binr\NVRSystmSet.ini"
    File 
"binr\sbtfsdk.ini"
    
    File 
"binr\iNVR-iCMS.sql"
    File 
"binr\restorMysql.bat"
    
    File 
"binr\iCMSAlarm.exe"
    File 
"binr\icmsmc.exe"
    File 
"binr\iSwitchServiceApp.exe"
    File 
"binr\i3NVRSystem.exe"
    
    File 
"binr\iCMSADOperator.dll"
    File 
"binr\iCMSPCommonTools.dll"
    File 
"binr\IcmspDBOperate.dll"
    File 
"binr\IcmsPIocpSocket.dll"
    File 
"binr\iCMSPLoginInfo.dll"
    File 
"binr\iCMSPSMTPEmail.dll"
    File 
"binr\IcmsPUtility.dll"
    File 
"binr\IcmsPXmlParser.dll"
    File 
"binr\iCMSSAlarmSender.dll"
    File 
"binr\icmsscmdreceiver.dll"
    File 
"binr\icmsscmdsender.dll"
    File 
"binr\icmsscommonfifo.dll"
    File 
"binr\icmssdevcheckmodule.dll"
    File 
"binr\icmssdevcontainer.dll"
    File 
"binr\iCMSSDevFileRetrieval.dll"
    File 
"binr\iCMSSDeviceDetect.dll"
    File 
"binr\icmssdeviceplugsnt.dll"
    File 
"binr\iCMSSDeviceSNCPlus.dll"
    File 
"binr\icmssdevplaybackunit.dll"
    File 
"binr\icmssfilegeneralmodule.dll"
    File 
"binr\icmssgenfilerecorder.dll"
    File 
"binr\iCMSSHttpRequest.dll"
    File 
"binr\icmssmediaplaybackman.dll"
    File 
"binr\icmssmediaswitchcenter.dll"        
    File 
"binr\iCMSSMS.dll"
    File 
"binr\icmssplaybackunit.dll"
    File 
"binr\icmssrealstreamman.dll"
    File 
"binr\icmssrealstreamservo.dll"
    File 
"binr\icmssrtpmodule.dll"
    File 
"binr\icmsssonydevpacket.dll"
    File 
"binr\iCMSSSoundForward.dll"
    File 
"binr\icmssstorageman.dll"
    File 
"binr\iCMSSTaskMan.dll"
    File 
"binr\icmsstcpmodule.dll"
    File 
"binr\iCMSSWEDEVCCTVIOBox.dll"
    File 
"binr\sbcommontoolsr.dll"
    File 
"binr\sncatdcv.dll"
    File 
"binr\snccore.dll"
    File 
"binr\SonyDiscoverPlug.dll"
    File 
"binr\icmssuploadman.dll"
    File 
"binr\icmssuploadunit.dll"
    
    File 
/r binr\MySql
    
    ; Write the License into the registry
    #WriteRegStr HKLM SOFTWARE\\SOBEY\\ICMS\\CONFIG 
"License" "ZISECAWXWHHOXRTTI"
    WriteRegStr HKLM SOFTWARE\\SOBEY\\ICMS\\CONFIG 
"i3NVRType" "i3NVR-SW09"        

    CreateShortCut 
"$DESKTOP\i3NVRSystem.lnk" "$INSTDIR\i3NVRSystem.exe"\
"" "" 2 SW_SHOWNORMAL \
"" "浣嶇疆:$INSTDIR"

    WriteUninstaller 
"uninstall.exe"
    
    CreateShortCut 
"$INSTDIR\uninstall.lnk" "$INSTDIR\uninstall.exe"\
"" "" 2 SW_SHOWNORMAL \
"" "浣嶇疆:$INSTDIR"

    ; import mysql script
    
    
/* ReadINIStr $login "$PLUGINSDIR\config.ini" "MyQL Setting" "Login"
    ReadINIStr $password "$PLUGINSDIR\config.ini" "MyQL Setting" "Password"
    ReadINIStr $db "$PLUGINSDIR\config.ini" "MyQL Setting" "DB"
    ReadINIStr $createdb "$PLUGINSDIR\config.ini" "MyQL Setting" "Createdb"
    
    ExecWait '"$INSTDIR\mysql\mysql" --user=$login --password=$password --execute="SHOW DATABASES;"' $0
    StrCmp $0 1 0 +4
    StrCpy $errorsrc "Wrong login or password"
    Goto abortinst
 
    DetailPrint "Running import"
 
    StrCmp $createdb 1 createdbs importdbs
 
    createdbs:
    DetailPrint "Creating database"
    ExecWait '"$INSTDIR\mysql\mysql" --user=$login --password=$password --execute="CREATE DATABASE $db"' $1
    StrCmp $1 1 0 +4
    StrCpy $errorsrc "Unable to create database"
    Goto abortinst    
 
    importdbs:
    DetailPrint "SQL file import"
    ExecWait '"$INSTDIR\mysql\mysql" --user=$login --password=$password --execute="source $INSTDIR\iNVR-iCMS.sql"' $2
    StrCmp $2 1 0 endinst
    StrCpy $errorsrc "File import error"
    Goto abortinst  
*/
  

    Execcmd::exec 
'D:\restorMysql.bat "$INSTDIR"'
       Pop $
0
       Execcmd::wait $
0
       
       #MessageBox MB_OK 
"Exit code $0"
       
       StrCmp $
0 1 0 endinst
    StrCpy $errorsrc 
"File import error"
    Goto abortinst
 
 
    abortinst:
    DetailPrint 
"                         "  
    DetailPrint 
"$\n An error occured ! $\n"
    DetailPrint 
"  $errorsrc              "
    DetailPrint 
"                         "
 
    endinst:

SectionEnd

Section 
"Uninstall"
    RMDir 
/r $INSTDIR
    Delete 
"$DESKTOP\i3NVRSystem.lnk"
    
    ; Remove registry keys
    DeleteRegKey HKLM 
"SOFTWARE\\SOBEY\\ICMS\\CONFIG"
SectionEnd

Function GetInfos 
    
!insertmacro MUI_HEADER_TEXT "register informations" "register informations "
    
!insertmacro INSTALLOPTIONS_DISPLAY "config.ini"
FunctionEnd


]]>
NSIS 璋冪敤winAPI 鑾峰彇紜洏搴忓垪鍙?/title><link>http://m.shnenglu.com/huangyi5209/articles/143171.html</link><dc:creator>huangyi5209</dc:creator><author>huangyi5209</author><pubDate>Thu, 31 Mar 2011 21:33:00 GMT</pubDate><guid>http://m.shnenglu.com/huangyi5209/articles/143171.html</guid><wfw:comment>http://m.shnenglu.com/huangyi5209/comments/143171.html</wfw:comment><comments>http://m.shnenglu.com/huangyi5209/articles/143171.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://m.shnenglu.com/huangyi5209/comments/commentRss/143171.html</wfw:commentRss><trackback:ping>http://m.shnenglu.com/huangyi5209/services/trackbacks/143171.html</trackback:ping><description><![CDATA[<div style="BORDER-BOTTOM: #cccccc 1px solid; BORDER-LEFT: #cccccc 1px solid; PADDING-BOTTOM: 4px; BACKGROUND-COLOR: #eeeeee; PADDING-LEFT: 4px; WIDTH: 98%; PADDING-RIGHT: 5px; FONT-SIZE: 13px; WORD-BREAK: break-all; BORDER-TOP: #cccccc 1px solid; BORDER-RIGHT: #cccccc 1px solid; PADDING-TOP: 4px"><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/None.gif"><span style="COLOR: #000000">Name </span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">test</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000"><br><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/None.gif"><br><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/None.gif">OutFile </span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">test.exe</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000"><br><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/None.gif"><br><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/None.gif"><br><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/None.gif"><br><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/None.gif">        </span><span style="COLOR: #000000">!</span><span style="COLOR: #000000">include MUI.nsh<br><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/None.gif"><br><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/None.gif"><br><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/None.gif"><br><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/None.gif">        <br><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/None.gif">Function GetDiskVolumeSerialNumber<br><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/None.gif"><br><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/None.gif">  </span><span style="COLOR: #000000">!</span><span style="COLOR: #000000">define GetVolumeInformation </span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">Kernel32::GetVolumeInformation(t,t,i,*i,*i,*i,t,i) i</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000"><br><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/None.gif"><br><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/None.gif">  System::Call </span><span style="COLOR: #000000">'</span><span style="COLOR: #000000">${GetVolumeInformation}("$0",,${NSIS_MAX_STRLEN},.r0,,,,${NSIS_MAX_STRLEN})</span><span style="COLOR: #000000">'</span><span style="COLOR: #000000"><br><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/None.gif"><br><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/None.gif">FunctionEnd<br><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/None.gif"><br><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/None.gif"><br><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/None.gif"><br><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/None.gif">Section<br><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/None.gif"><br><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/None.gif">StrCpy $</span><span style="COLOR: #000000">0</span><span style="COLOR: #000000"> </span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">C:\</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000"><br><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/None.gif"><br><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/None.gif">Call GetDiskVolumeSerialNumber<br><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/None.gif"><br><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/None.gif">IntFmt $</span><span style="COLOR: #000000">0</span><span style="COLOR: #000000"> </span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">%08X</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000"> $</span><span style="COLOR: #000000">0</span><span style="COLOR: #000000"><br><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/None.gif"><br><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/None.gif">MessageBox MB_OK </span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">$0</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000"><br><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/None.gif"><br><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/None.gif">SectionEnd<br><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/None.gif"><br><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/None.gif"><br><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/None.gif"><br><img align=top src="http://m.shnenglu.com/Images/OutliningIndicators/None.gif"></span></div> <img src ="http://m.shnenglu.com/huangyi5209/aggbug/143171.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.shnenglu.com/huangyi5209/" target="_blank">huangyi5209</a> 2011-04-01 05:33 <a href="http://m.shnenglu.com/huangyi5209/articles/143171.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item></channel></rss> <footer> <div class="friendship-link"> <p>感谢您访问我们的网站,您可能还对以下资源感兴趣:</p> <a href="http://m.shnenglu.com/" title="精品视频久久久久">精品视频久久久久</a> <div class="friend-links"> </div> </div> </footer> <a href="http://www.ynxcm.cn" target="_blank">久久久91精品国产一区二区三区</a>| <a href="http://www.kengsai.cn" target="_blank">99久久精品免费看国产一区二区三区 </a>| <a href="http://www.hlbelss.org.cn" target="_blank">欧美日韩中文字幕久久伊人</a>| <a href="http://www.fanggumen.cn" target="_blank">亚洲国产精品久久久久</a>| <a href="http://www.21gou.cn" target="_blank">日本亚洲色大成网站WWW久久</a>| <a href="http://www.t1303.cn" target="_blank">一本色道久久综合狠狠躁</a>| <a href="http://www.chizhou8.cn" target="_blank">99久久精品国内</a>| <a href="http://www.playt.cn" target="_blank">亚洲国产精品无码久久九九</a>| <a href="http://www.510dpw.cn" target="_blank">久久精品国产网红主播</a>| <a href="http://www.ttpcom.com.cn" target="_blank">久久久久久久亚洲精品</a>| <a href="http://www.domino111.com.cn" target="_blank">国产aⅴ激情无码久久</a>| <a href="http://www.beiju123.cn" target="_blank">久久精品女人天堂AV麻</a>| <a href="http://www.hadonghoon.cn" target="_blank">久久精品国产99久久久</a>| <a href="http://www.weixinqun688.cn" target="_blank">香蕉久久永久视频</a>| <a href="http://www.yoyopj.cn" target="_blank"> 久久综合狠狠综合久久激情 </a>| <a href="http://www.tzcn86.cn" target="_blank">中文字幕日本人妻久久久免费</a>| <a href="http://www.zixunlawyer.com.cn" target="_blank">国产精品美女久久久网AV</a>| <a href="http://www.zjjunyao.cn" target="_blank">无码人妻久久一区二区三区 </a>| <a href="http://www.tx273517.cn" target="_blank">无码国内精品久久人妻</a>| <a href="http://www.840ww.cn" target="_blank">合区精品久久久中文字幕一区</a>| <a href="http://www.mechuo.cn" target="_blank">国内精品久久久久久99</a>| <a href="http://www.hbxasn.cn" target="_blank">亚洲国产精品无码久久久秋霞2 </a>| <a href="http://www.d13722.cn" target="_blank">久久综合精品国产二区无码</a>| <a href="http://www.beauty-queen.cn" target="_blank">久久国产高清一区二区三区</a>| <a href="http://www.hhhkk.cn" target="_blank">99精品久久精品</a>| <a href="http://www.gangniao.cn" target="_blank">久久亚洲AV成人无码电影</a>| <a href="http://www.sony888.cn" target="_blank">久久久久久久久波多野高潮</a>| <a href="http://www.pareng.cn" target="_blank">久久久久国产</a>| <a href="http://www.dlucai.cn" target="_blank">色综合久久88色综合天天 </a>| <a href="http://www.rosettagetty.com.cn" target="_blank">久久久久综合网久久</a>| <a href="http://www.gyvgllqc.cn" target="_blank">国产精品99久久精品</a>| <a href="http://www.huangjiguang.cn" target="_blank">日本欧美久久久久免费播放网 </a>| <a href="http://www.wsjpt.cn" target="_blank">久久香蕉国产线看观看乱码</a>| <a href="http://www.yayalove.cn" target="_blank">99久久国产热无码精品免费</a>| <a href="http://www.wshoponlinet.cn" target="_blank">久久久久亚洲AV无码麻豆</a>| <a href="http://www.201324.cn" target="_blank">亚洲色大成网站www久久九</a>| <a href="http://www.huizegufen.cn" target="_blank">99久久夜色精品国产网站</a>| <a href="http://www.xkart.cn" target="_blank">婷婷五月深深久久精品</a>| <a href="http://www.hvgt.cn" target="_blank">欧美熟妇另类久久久久久不卡 </a>| <a href="http://www.omwang.cn" target="_blank">久久AV高潮AV无码AV</a>| <a href="http://www.caster.org.cn" target="_blank">久久久久久曰本AV免费免费</a>| <script> (function(){ var bp = document.createElement('script'); var curProtocol = window.location.protocol.split(':')[0]; if (curProtocol === 'https') { bp.src = 'https://zz.bdstatic.com/linksubmit/push.js'; } else { bp.src = 'http://push.zhanzhang.baidu.com/push.js'; } var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(bp, s); })(); </script> </body>