• 博客园logo
  • 会员
  • 周边
  • 新闻
  • 博问
  • 闪存
  • 众包
  • 赞助商
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录
BeyondTechnology
博客园    首页    新随笔    联系   管理    订阅  订阅
上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 19 下一页
2011年1月22日
DeleteMyself.vbs
摘要: Option ExplicitDim FileSystem,FullFileNameSet FileSystem = CreateObject("Scripting.FileSystemObject")FullFileName = FileSystem.GetFile(Wscript.scriptfullname).pathFileSystem.DeleteFile FullFileName 阅读全文
posted @ 2011-01-22 01:09 BeyondTechnology 阅读(253) 评论(0) 推荐(0)
2011年1月16日
Basic MSI工里中的CustomAction的Use 64Bit Scripting
摘要: Use 64Bit Scripting PropertyDescription:Specify whether 64-bit scripting is used in your custom action script file.Gerneral Information-Summary Infromation Stream-Template Summary Description:Use the Template Summary property to specify the processor type and default language that your installatio 阅读全文
posted @ 2011-01-16 00:16 BeyondTechnology 阅读(496) 评论(0) 推荐(0)
InstallShield生成单个MSI文件或setup.exe
摘要: word损坏,暂时记录,两方面内容1、方法2、MUI问题 阅读全文
posted @ 2011-01-16 00:08 BeyondTechnology 阅读(1152) 评论(0) 推荐(0)
Silent Installation Switches for Windows Apps
摘要: http://unattended.sourceforge.net/installers.php#installshieldIntroductionThe goal of this document is to collect instructions for performing unattended / silent installations of many popular application installers. Such instructions are useful for automating these installations.A quick word on term 阅读全文
posted @ 2011-01-16 00:03 BeyondTechnology 阅读(654) 评论(0) 推荐(0)
某些操作权限不足的解决方法
摘要: Sometimes it demands administrator privilege to operate,there are two way to solve this problem:1、Run cmd as administrator2、Wscript script.vbs 阅读全文
posted @ 2011-01-16 00:01 BeyondTechnology 阅读(520) 评论(0) 推荐(0)
VBS中解决路径带空格的三种方法
摘要: Set wshell=CreateObject("WScript.Shell")wshell.Run """C:\Program Files\360\360se\360se.exe""",5,True Set wshell = Nothingtemp="C:\Program Files\360\360se3\360se.exe"path = Chr(34) & temp & Chr(34)Set wshell=CreateObject("WScript.Shell")wshell.Run path,1,True Set wshell = NothingPublic Const vbQuote 阅读全文
posted @ 2011-01-16 00:01 BeyondTechnology 阅读(2327) 评论(0) 推荐(0)
2011年1月15日
MSI静默安装
摘要: Basic MSI工程生成BasicMSI.msi和Setup.exeCMD到BasicMSI.msi 的目录,静默模式,以下三个参数没什么问题msiexec.exe /i BasicMSI.msi /qbmsiexec.exe /i BasicMSI.msi /qrmsiexec.exe /i BasicMSI.msi /qf当用qn时会有问题,无法安装,打log发现并不是没有安装,而是安装终止,错误信息说没有权限msiexec.exe /i BasicMSI.msi /qn解决方法:用管理员权限运行CMD,然后再输入上述命令,安装正常完成。这是用msiexec执行MSI包的问题,当用Set 阅读全文
posted @ 2011-01-15 23:59 BeyondTechnology 阅读(18609) 评论(1) 推荐(0)
2011年1月10日
Vbs脚本经典教材
摘要: Vbs脚本经典教材(最全的资料还是MSDN) —为什么要使用Vbs?在Windows中,学习计算机操作也许很简单,但是很多计算机工作是重复性劳动,例如你每周也许需要对一些计算机文件进行复制、粘贴、改名、删除,也许你每天启动计算机第一件事情就是打开WORD,切换到你喜爱的输入法进行文本编辑,同时还要播放优美的音乐给工作创造一个舒心的环境,当然也有可能你经常需要对文本中的某些数据进行整理,把各式各样的数据按照某种规则排列起来……。这些事情重复、琐碎,使人容易疲劳。第三方软件也许可以强化计算机的某些功能,但是解决这些重复劳动往往事倍功半,我也尝试过使用计算机语言编写程序来解决这些问题,但是随之而来的 阅读全文
posted @ 2011-01-10 23:39 BeyondTechnology 阅读(65604) 评论(4) 推荐(14)
JavaScript/VBScript脚本程序调试(Wscript篇)
摘要: 1. 在资源管理器里面双击一个.vbs文件。 2. 程序里面发生了一个错误,例如异常,或者编程逻辑错误。 3. 一行行阅读源文件,然后在估计发生错误的地方,添加很多的Msgbox.Show,打印一些变量的值。 4. 重新执行.vbs文件 5. “当当当”,一系列的 “确定”点完了以后,人也晕了,重新回到第三步继续…… 其实我们也是可以用Visual Studio调试这类WSH程序的,关键就在.vbs等WSH脚本程序的解释器wscript.exe和cscript.exe提供了调试支持: 1. 当我们在资源管理器里面双击一个.vbs文件时,资源管理器实际上是运行wscript.exe来解释和执行这 阅读全文
posted @ 2011-01-10 23:32 BeyondTechnology 阅读(4443) 评论(0) 推荐(0)
2011年1月9日
_CrtDbgReport: String too long or IO Error
摘要: _CrtDbgReport: String too long or IO Errorwprintf_s不能正常输出中文的解决办法使用如下方法调用wprintf_s输出中文时往往出现带?的乱码:wprintf_s(L"%s",(LPCWSTR)cmdLineArr[1]);解决方案:包含头文件locale.h,并在程序开始调用setlocale(LC_ALL, "chs");这样wprintf_s便能正常打印出中文字符串了://指定当前程序的编码为简体中文,这样才能用wprintf正确输出中文#includelocale.hsetlocale(LC_ALL,"chs");同样对于TRACE( 阅读全文
posted @ 2011-01-09 23:25 BeyondTechnology 阅读(9206) 评论(0) 推荐(0)
上一页 1 ··· 7 8 9 10 11 12 13 14 15 ··· 19 下一页
博客园  ©  2004-2025
浙公网安备 33010602011771号 浙ICP备2021040463号-3