mscomm32.ocx注册

手工注册:

  第一步:用Windows下的注册工具regsvr32注册该OCX控件,点击“开始”->"运行",再在中填入:

      Regsvr32  控制所在路径/Mscomm32.ocx

 

    第二步:在注册表中手工新建一个主键项:先在点击“开始”,"运行",再在中填入regedit命令打开注册表,找到HKEY_CLASSES_ROOT/Licenses,在其中添加主键
4250E830-6AC2-11cf-8ADB-00AA00C00905 并将内容设置为:

       kjljvjjjoquqmjjjvpqqkqmqykypoqjquoun


安装包( Advanced Installer)自动注册

    第一步:

 My application uses several DLL and OCX files. How can I register those files?

In order to mark files for self-register, first you must use an Advanced Installer 0.3 version or higher. In the Files and Folders Page, edit the properties of the files you want to register (double click them or use the Properties toolbar button). Check the Auto Register File checkbox. That's all!

就是右键/属性/自动注册文件/自注册本地库

    第二步:

在“工程定义”-注册表里面添加上面提到的键值


你可能感兴趣的:(windows,properties,application,dll,button,installer)