WTL安装

3 篇文章 0 订阅
1.在AppWiz目录下有多个JScript文件,根据自己的编辑器选择相应的文件运行。


如果双击无法运行的话,则运行wscript //e:jscript (文件路径)


如wscript //e:jscript D:\workplaces\WTL\Wizards\AppWiz\setup100.js


AppWiz\
    setup70.js AppWizard setup program for VC++ .NET 2002
    setup71.js AppWizard setup program for VC++ .NET 2003
    setup80.js AppWizard setup program for VC++ 2005
    setup80x.js AppWizard setup program for VC++ 2005 Express
    setup90.js AppWizard setup program for VC++ 2008
    setup90x.js AppWizard setup program for VC++ 2008 Express
    setup100.js AppWizard setup program for VC++ 2010
    setup100x.js AppWizard setup program for VC++ 2010 Express
    setup110.js AppWizard setup program for VC++ 11
    setup110x.js AppWizard setup program for VC++ 11 Express


2.打开VS新建就可以看到项目里有WTL了,新建一个WTL工程


右击项目->属性>VC++目录,添加WTL的include文件夹的目录。






ps:最新版本的WTL为9.0版本,AppWiz目录下面只有setup.js以及项目导航文件(那个文件夹),
所以,只要运行setup.js选择一个vc平台即可。
但是,我的win8下出现了无法导航的问题,所以只能在其他电脑上建好一个工程靠过来即可。
无法导航的原因应该是IE的版本问题,在解析default.htm文件时出错。
  • 1
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
WTL版本为v9.0 (build 4060 @ 3-1-2014),并做了以下的改动: 1. 编辑了.rc文件,使控件具有原生的中文字符支持 2. 增加了UICC及VS2010安装脚本(环境变量添加,UICC拷贝及.props文件路径添加),在SDK v7.0A的v100工具链下也可以编译.xml文件并使用ribbon, 脚本执行后默认工程可自动包含WTL include 目录。 3. 美化了.ico图标和toolbar.bmp,新图标和位图具有Alpha通道。 4. 为winCE和winMobile添加setup100.js安装文件,使其支持VS2010。 5. VS2010外其它平台需要手工修改InstallWTL.bat。 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Changes ======================================== 1. Add InstallWTL.bat and 'setup100.js'(for CE & Mobile) 2. Add 'uicc' for ribbon compilation. 3. Replace the old icon and bitmap resources. 4. Modify 'rc' file to use default 'Chinese (Simplified)' resources. About the Files Added ======================================== a> IntallWTL.bat (must be runned as administrator; install in current folder) O- Create environment variable 'WTL_INC', integrating it into the include directory of VS2010 default project. O- Place 'uicc.exe' into 'Windows SDK 7.0A' folder. O- Execute setup.js & setup100.js. b> uicc.exe (dispense the need for installing 'Windows SDK 7.1' on visual studio 2010) O- Extracted from 'Windows SDK 7.1' O- Enable 'Ribbon' compilation using VS2010 'v100' platform toolset. Issues (Questions & Answers) ======================================== Q: Error in 'VS2010' saying “An error has occurred in the script on the page" A: This is a security problem. The wizard files are marked as unsecure. Solution: compress the wtl zip, unzip it (e.g. 7zip) and install the AppWiz again. Do not copy & paste the "*.js" files to the new destination. This will mark the file as unsecure. You see this with right-click properties on the file. At the bottom of the first page you see “The file came from another computer. Access is blocked possibly for security reasons”.

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值