摘要:http://codeblooded.com/blog/archive/2004/10/03/154.aspx For those that don't know I've been working on the ASP.NET Forums codebase for a long time and I've always wanted to have a MSI based install...
阅读全文
随笔分类 - Wix、VBScript、JavaScript脚本
摘要:http://codeblooded.com/blog/archive/2004/10/03/154.aspx For those that don't know I've been working on the ASP.NET Forums codebase for a long time and I've always wanted to have a MSI based install...
阅读全文
摘要:Windows Locale Codes Sorted by Codepage CLICK one of the Column Titles to sort the table by that item. Language (Locale) LCIDDecimal LCIDHexade. Codepage Countrycode Assamese 1101 44d Bengali ...
阅读全文
摘要:不小心在Wix上刷新了一下网页,2.0.2217.0出来了。
阅读全文
摘要:IntelliSense for WiX .wxs files 昨天看了一点Rob.的演讲,看到他在用VS.NET里面写XML可以自动感知,很想实现一下。今天找到了:http://weblogs.asp.net/sweinstein/archive/2004/08/31/223461.aspx I recently started looking into WiX as a replacemen...
阅读全文
摘要:LitLibTool lit.exe lit is an optional tool that can be used to combine multiple object files into libraries? that can be consumed by light. lit是一个可选工具。它可以将多个wixobj文件整合成一个Libraries文件,该文件可以被light重用。
阅读全文
摘要:原文件:Wix的wiki网站http://wix.sourceforge.net/wiki/TallowCodeGenTool tallow.exe tallow is a tool for generating WiX source files by traversing a directory tree, extracting COM Interop information from ass...
阅读全文
摘要:从网上下载了两个wxs,分别为A、B,想不到它们的ProductID是一样的,从此进入痛苦的找BUG。先编译A,并安装好A.msi再编译B,并安装B.msi,发现错误。但以前我装B的时候是可以装的,不知错误在哪,很郁闷。最后才找到原来是A与B的ProductID一样。改掉就好了。
阅读全文
摘要:If you have had a look at the documentation you’ve probably noticed a few elements like “ServiceInstall”, “User” and “WebVirtualDir”. What these elements all have in common is that if you add them to ...
阅读全文
摘要:原文:http://strangelights.com/blog/archive/2004/09/27/176.aspx An msi is really a relational database made up of a number of tables. When an installation runs the windows installer parses the msi and th...
阅读全文
摘要:源程序下载: http://strangelights.com/blog/downloads/virtualdir.zip 原文地址:http://strangelights.com/blog/archive/2004/10/08/179.aspx [2004-11-17] 呜,经测试,只有XP和Win2003才可以建,Win2000不行。文章后面也说似乎只有IIS6才能运行。[2004-11-...
阅读全文
摘要:Let's say you want to do a simple C++ Custom Action for something like, say, dumping a property to a file. I'm going to assume at least some knowledge of C and C++. There are two parts to this - build...
阅读全文
摘要:Windows Installer XML (Wix):看了下自带的chm,初步学会用Wix造一个msi和msm。总结如下:(1)Wix的源文件是*.wxs,经candle编译后变成*.wxobj,再经light变成*.msi(2)msm文件是中间文件,可以在wxs文件中被再次使用(3)msm文件的创建过程与msi极其类似,只是XML中的描述:product变成module。其它重要功能再慢慢研究...
阅读全文
摘要:function isArray(obj) { if (obj.constructor.toString().indexOf("Array") == -1) return false; else return true;}FROM URL: http://www.breakingpar.com/bkp/home.nsf/Doc?OpenNavigator&U=87256...
阅读全文
摘要:以下代码在IE中会不断吃掉内存,怎么解决? var idGetMsg=0; function UpdateMessage() { if(idGetMsg) { clearTimeout(idGetMsg); idGetMsg=0; } var xh = new ActiveXObject("Microsoft.XMLHTTP"); xh = null; ...
阅读全文
摘要:Public Function urlDecode(s As String) As String If Len(s) = 0 Then Exit Function Dim i As Integer Dim tmp As String Dim c As String For i = 1 To Len(s) c = Mid$(s, i, 1) If c = "+" Then c =...
阅读全文
摘要:如果在母視窗要用 window.showModalDialog() 來開啟子視窗的話,就不能在子視窗使用 window.opener 屬性來存取母視窗 (文法很怪,但我不知道怎麼用文字描述比較好... )我只想到下面這個解法,您參考看看。首先,showModalDialog() 的用法如下 (from MSDN):vReturnValue = window.showModalDialog(sURL...
阅读全文
摘要:发表:2004-4-14 16:31:03 出处:你的博客网(yourblog.org) javascript有许多内建的方法来产生对话框,如:window.alert(), window.confirm(),window.prompt().等。 然而IE提供更多的方法支持对话框。如: showModalDialog() (IE 4+ 支持) showModelessDialog...
阅读全文
摘要:7i24.Com不停为您服务sql语句插入的数据中含有单引号怎么办? 2001:8:17 sql语句插入的数据中含有单引号怎么办? sql中,insert into yourTable(f1,f2) values(100,'abc') 字符串数据是用单引号包在外面的,如果插入的数据中包含单引号,就需要处理,你可以将单引号替换成两个单引号,在sql中连续两个单引号就表示一个单引号字符,...
阅读全文
摘要:原来在HTML文件头部声明了这样一句:改成这样就好了:但页面稍有变化,感觉不爽,于是又在google里找,终于发现这是IE5与IE6的区别:var scrollPos; if (typeof window.pageYOffset != 'undefined') { scrollPos = window.pageYOffset; } else if (typeof document.compa...
阅读全文
摘要:Q: 表格内的文字不会自动换行,怎么办?A: 有两种可能的情况:第一种,你用CSS把表格内文字的字体设置成了英文字体,这样在DW里表格内的文字不会自动换行,但这仅是DW里的显示效果,在IE里其实是可以正常换行的。如果希望在DW的编辑状态也能使文字自动换行,把表格内文字的字体设置为中文字体即可(例如“宋体”)。第二种,你在表格中输入了连串无空格的英文或数字,它们被IE识别为一个完整的...
阅读全文
|