How to register your own or the third ActiveX Control to the target PC using InstallShield 11.5 Pre Edition?
来源:互联网 发布:api原油数据 编辑:程序博客网 时间:2024/06/05 17:15
Some students asked this question ,here I give the answer.
1. the most easy way,we use the guide. After you append your ocx or dll files ,you select one ,in the properties dialog you will see one option--"Self Register",if you tick this option,the final setup will register your selected dll or ocx file to the target PC. There is a premise to make the method run OK--the ocx or dll should be self-registeralbe.
Here is the running pic:
2.Another way,we use the InstallScript.
Here is the code:
string yourPath;
yourPath = TARGETDIR;
LongPathToShortPath(yourPath);
LaunchAppAndWait(WINSYSDIR ^ "RegSvr32.exe",yourPath ^ "*.ocx",WAIT);
yourPath = TARGETDIR;
LongPathToShortPath(yourPath);
LaunchAppAndWait(WINSYSDIR ^ "RegSvr32.exe",yourPath ^ "*.ocx",WAIT);
This method can solve most registering cases.
Nasky
- How to register your own or the third ActiveX Control to the target PC using InstallShield 11.5 Pre Edition?
- How to make basic MSI install program including the third supporting exe installed first or last using InstallShield 11.5 Pre E
- How to replace the boot screen with one of your own
- The Definitive Guide to MySQL 5, Third Edition
- The Definitive Guide to Java Swing, Third Edition
- How to hide the New! icon or control how long the icon is displayed.
- How To Retrieve the URL of a Web Page from an ActiveX Control
- JS: How to control the IE(keyDown...)?
- 权限管理 how to control the authorization?
- How to control the jobs with shell?
- How to use the Segmented Control
- how to control the log4j output
- How to download streaming audio or video media from the internet using the MMS protocol?
- How to write your own custom Form
- How to make your own VST host
- How To Create Your Own Smarty Function
- How to make your own maps/tiles
- How to develop your own Boot Loader
- 神秘的DUAL
- [特别推荐]十大流行病毒手动查杀详解
- 编程感悟
- if one day
- 全新java初学者实践教程9(java SE5.0版)----jdk5的数组
- How to register your own or the third ActiveX Control to the target PC using InstallShield 11.5 Pre Edition?
- 应用解决告诉你什么时候该用ajax
- 从程序员到软件设计师的过程(转)
- "hibernate异常处理" 分类1
- 解密软件测试 让我们从零开始
- Hibernate访问多个数据库
- 正则表达式介绍
- 系统引导过程及硬盘分区结构论述
- GTK+ -- from knowing nothing to knowing something (4)