在InstallScript脚本中完成DLL, OCX的注册(转)
摘要:在事件响应函数OnEnd中添加如下代码段:Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->functionOnEnd()stringszDLL,szReg,szCmd;beginszReg=WINSYSDIR^"regsvr32.exe";szDLL=TARGETDIR^"MYDLL.dll";//如果是MSI工程,可以用INSTALLDIR代替TARGETDIRszCmd="/s\"
阅读全文
posted @
2011-03-20 20:03
一路前行
阅读(482)
推荐(0) 编辑
InstallShield自定义对话框模板代码(转)
摘要:代码 Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/-->//===========================================================================////FileName:MyCustomDialog.rul////Description:CustomDialogTemplate////Comments:WrittenbyKevinWan.WrittenAugust2010.//
阅读全文
posted @
2011-03-20 19:43
一路前行
阅读(1237)
推荐(1) 编辑
SQL类似sleep延时语句
摘要:waitfordelay'00:00:30'--(hh:mm:ss)
阅读全文
posted @
2011-03-12 16:14
一路前行
阅读(617)
推荐(0) 编辑
UnhandledException
摘要:staticclassProgram{///<summary>///Themainentrypointfortheapplication.///</summary>[STAThread]staticvoidMain(){//异常捕捉Application.SetUnhandledExceptionMode(UnhandledExceptionMode.CatchException);Application.ThreadException+=newThreadExceptionEventHandler(UIThreadException);AppDomain.Curren
阅读全文
posted @
2011-03-12 15:29
一路前行
阅读(341)
推荐(0) 编辑
软件开发工具箱
摘要:一 Agile Tools1 XAntAnt:http://www.junit.org/index.htmNAnt:http://nant.sourceforge.net/2 XUnitJUnit:http://www.junit.org/index.htmCppUnit:http://sourceforge.net/projects/cppunitNUnit:http://www.nunit.org/3 CruiseControl.XXCruiseControl:http://cruisecontrol.sourceforge.net/CruiseControl.NET:http://sou
阅读全文
posted @
2011-03-10 11:40
一路前行
阅读(284)
推荐(0) 编辑