锘??xml version="1.0" encoding="utf-8" standalone="yes"?>久久精品无码一区二区三区,91精品观看91久久久久久,久久精品国产一区http://www.shnenglu.com/huangyi5209/category/16425.htmlzh-cnTue, 07 Jun 2011 11:01:06 GMTTue, 07 Jun 2011 11:01:06 GMT60NSIS 杞歡鍜宮ysql鑴氭湰瀵煎叆鐨勫畨瑁呭寘錛堥殣钘忓脊鍑虹獥鍙o級http://www.shnenglu.com/huangyi5209/articles/144656.htmlhuangyi5209huangyi5209Wed, 20 Apr 2011 06:23:00 GMThttp://www.shnenglu.com/huangyi5209/articles/144656.htmlhttp://www.shnenglu.com/huangyi5209/comments/144656.htmlhttp://www.shnenglu.com/huangyi5209/articles/144656.html#Feedback0http://www.shnenglu.com/huangyi5209/comments/commentRss/144656.htmlhttp://www.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://www.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://www.shnenglu.com/huangyi5209/articles/143171.html</guid><wfw:comment>http://www.shnenglu.com/huangyi5209/comments/143171.html</wfw:comment><comments>http://www.shnenglu.com/huangyi5209/articles/143171.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.shnenglu.com/huangyi5209/comments/commentRss/143171.html</wfw:commentRss><trackback:ping>http://www.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://www.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://www.shnenglu.com/Images/OutliningIndicators/None.gif"><br><img align=top src="http://www.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://www.shnenglu.com/Images/OutliningIndicators/None.gif"><br><img align=top src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif"><br><img align=top src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif"><br><img align=top src="http://www.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://www.shnenglu.com/Images/OutliningIndicators/None.gif"><br><img align=top src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif"><br><img align=top src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif"><br><img align=top src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif">        <br><img align=top src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif">Function GetDiskVolumeSerialNumber<br><img align=top src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif"><br><img align=top src="http://www.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://www.shnenglu.com/Images/OutliningIndicators/None.gif"><br><img align=top src="http://www.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://www.shnenglu.com/Images/OutliningIndicators/None.gif"><br><img align=top src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif">FunctionEnd<br><img align=top src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif"><br><img align=top src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif"><br><img align=top src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif"><br><img align=top src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif">Section<br><img align=top src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif"><br><img align=top src="http://www.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://www.shnenglu.com/Images/OutliningIndicators/None.gif"><br><img align=top src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif">Call GetDiskVolumeSerialNumber<br><img align=top src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif"><br><img align=top src="http://www.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://www.shnenglu.com/Images/OutliningIndicators/None.gif"><br><img align=top src="http://www.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://www.shnenglu.com/Images/OutliningIndicators/None.gif"><br><img align=top src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif">SectionEnd<br><img align=top src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif"><br><img align=top src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif"><br><img align=top src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif"><br><img align=top src="http://www.shnenglu.com/Images/OutliningIndicators/None.gif"></span></div> <img src ="http://www.shnenglu.com/huangyi5209/aggbug/143171.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.shnenglu.com/huangyi5209/" target="_blank">huangyi5209</a> 2011-04-01 05:33 <a href="http://www.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://www.shnenglu.com/" title="精品视频久久久久">精品视频久久久久</a> <div class="friend-links"> </div> </div> </footer> <a href="http://www.b2bnn.cn" target="_blank">久久亚洲中文字幕精品一区四 </a>| <a href="http://www.me79.cn" target="_blank">久久精品成人免费观看97</a>| <a href="http://www.7cdy.cn" target="_blank">久久夜色精品国产欧美乱</a>| <a href="http://www.s360.com.cn" target="_blank">国内精品伊人久久久久AV影院</a>| <a href="http://www.hrbsyyy.cn" target="_blank">97久久超碰国产精品旧版</a>| <a href="http://www.baojingqi88.org.cn" target="_blank">日本精品久久久久中文字幕</a>| <a href="http://www.gangniao.cn" target="_blank">欧美久久一级内射wwwwww.</a>| <a href="http://www.dxcheck.cn" target="_blank">中文字幕乱码人妻无码久久</a>| <a href="http://www.vwdg.cn" target="_blank">久久亚洲精品视频</a>| <a href="http://www.amazinghall.com.cn" target="_blank">麻豆久久久9性大片</a>| <a href="http://www.shufa520.cn" target="_blank">国内精品伊人久久久久</a>| <a href="http://www.seomog.cn" target="_blank">亚洲成av人片不卡无码久久</a>| <a href="http://www.517down.cn" target="_blank">久久久无码一区二区三区</a>| <a href="http://www.ewokfijaa.cn" target="_blank">精品国产热久久久福利</a>| <a href="http://www.dgwhmnk.cn" target="_blank">久久99精品久久久久婷婷</a>| <a href="http://www.huaigutang.cn" target="_blank">久久综合久久伊人</a>| <a href="http://www.lftdly.cn" target="_blank">99久久精品毛片免费播放</a>| <a href="http://www.wzcl818.cn" target="_blank">精品久久久一二三区</a>| <a href="http://www.vstmall.com.cn" target="_blank">99久久久久</a>| <a href="http://www.inqh.cn" target="_blank">久久亚洲精品国产精品</a>| <a href="http://www.bclife.cn" target="_blank">久久福利青草精品资源站免费</a>| <a href="http://www.010tk.cn" target="_blank">国产精品亚洲综合专区片高清久久久 </a>| <a href="http://www.vzrg.cn" target="_blank">久久精品亚洲日本波多野结衣 </a>| <a href="http://www.wtem.cn" target="_blank">久久久久久精品成人免费图片</a>| <a href="http://www.qcqxzx.cn" target="_blank">亚洲国产精品久久久久</a>| <a href="http://www.86mls.cn" target="_blank">久久国产精品99国产精</a>| <a href="http://www.ramada-zhengzhou.cn" target="_blank">最新久久免费视频</a>| <a href="http://www.www5303.cn" target="_blank">激情综合色综合久久综合</a>| <a href="http://www.ujjr.cn" target="_blank">久久这里只有精品久久</a>| <a href="http://www.djdnx.cn" target="_blank">69SEX久久精品国产麻豆</a>| <a href="http://www.ip-domain.com.cn" target="_blank">东方aⅴ免费观看久久av</a>| <a href="http://www.kongqueyuhn.cn" target="_blank">日韩欧美亚洲综合久久影院Ds</a>| <a href="http://www.fwrld.cn" target="_blank">国内精品久久久久久麻豆 </a>| <a href="http://www.bjhaoruida.com.cn" target="_blank">久久大香萑太香蕉av</a>| <a href="http://www.site5d.cn" target="_blank">久久精品成人</a>| <a href="http://www.dnf530.cn" target="_blank">欧美色综合久久久久久</a>| <a href="http://www.tthzk.cn" target="_blank">精品国产青草久久久久福利</a>| <a href="http://www.33759gov.cn" target="_blank">国产ww久久久久久久久久</a>| <a href="http://www.addlife.cn" target="_blank">日韩亚洲欧美久久久www综合网</a>| <a href="http://www.lozhun.cn" target="_blank">无码国产69精品久久久久网站</a>| <a href="http://www.niena.cn" target="_blank">亚洲日本va中文字幕久久</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>