CSDN首页 空间 新闻 论坛 Blog 下载 读书 网摘 搜索 .NET Java 视频 接项目 求职 在线学习 买书 程序员 通知
英特尔®游戏设计大赛100美元现金周周送 专题改版:Java Web 专题
CSDN社区
搜索 收藏 打印 关闭
CSDN社区 >  VC/MFC >  界面

怎样用VC带的InstallSheild 调用一个 windows Api和启动另一个程序,,谢谢了

楼主qqpeng76(pk)2003-08-02 14:41:01 在 VC/MFC / 界面 提问

怎样用VC带的InstallSheild   调用一个   windows   Api和启动另外一个安装程序,启动另一个软件 问题点数:0、回复次数:6Top

1 楼wangjinwang(王者之疯)回复于 2003-08-02 15:20:46 得分 0

做连续安装吗?换个思思路如何:  
  做个没有界面的程序(之所以没有界面是因为在弹出界面之前程序结束了),由它启动第一个安装程序,主程序循环检测第一个安装程序是否完成(程序退出),如果完成,则启动第二个安装程序。。。安装完成,主程序退出。  
  Top

2 楼qqpeng76(pk)回复于 2003-08-02 16:04:15 得分 0

其实不用VC带的InstallSheild   ,而用另一个公司的InstallSheild    
   
  可以使用函数   LaunchApp()函数,而用   VC带的InstallSheild   它却不认识   这个函数Top

3 楼kingzai(stevenzhu)回复于 2003-08-02 16:07:19 得分 0

use   LaunchAppAndWait   or   LaunchApp    
  my   example:  
      if   (LaunchAppAndWait   (SUPPORTDIR   ^"Test.exe","",   WAIT)   <   0)   then  
   
                    MessageBox   ("Unable   to   launch   "+"Test.exe"+".",SEVERE);Top

4 楼qqpeng76(pk)回复于 2003-08-02 16:28:36 得分 0

就是因为VC带的InstallSheild   不认识这两个函数呀  
   
  Compiling...  
  Linking...  
  (0)   :   internal   error     C9001:   internal   error   :   LaunchAppandAndWait   is   not   available   in   InstallShield   for   Microsoft   Visual   C++   6.0    
  Done-     1   error(s),   0   warning(s)  
   
  Compiling...  
  Linking...  
  (0)   :   internal   error     C9001:   internal   error   :   LaunchApp   is   not   available   in   InstallShield   for   Microsoft   Visual   C++   6.0    
  Done-     1   error(s),   0   warning(s)  
   
  Top

5 楼kingzai(stevenzhu)回复于 2003-08-02 16:33:52 得分 0

InstallSheild6.2   support   this   2   API,in   VC   you   can   call   ShellExecute   or   CreateProcess...  
  Top

6 楼qqpeng76(pk)回复于 2003-08-02 16:49:24 得分 0

一样不认识,可能版本不合适吧,我是   InstallSheild     for   vc++6.0  
  Compiling...  
  Folder:   <C:\My   Installations\播控系统\Script   Files>  
  setup.rul(128)   :   error     C8025:   'CreateProcess'   :   undefined   identifier    
  Done-     1   error(s),   0   warning(s)  
   
  Compiling...  
  Folder:   <C:\My   Installations\播控系统\Script   Files>  
  setup.rul(126)   :   error     C8025:   'ShellExecute'   :   undefined   identifier    
  Done-     1   error(s),   0   warning(s)  
   
  Top

相关问题

  • VC里调用api出错
  • api在vc 中如何调用?
  • VC下调用API函数的问题.
  • 在VC里怎么调用API?
  • 在VC里调用API函数
  • vc中怎样调用API(不用mfc)
  • vc如何调用api函数
  • Api调用
  • api调用
  • 请问各位大哥,在VC中怎么调用API函数?

关键词

  • 安装
  • 函数
  • 界面
  • vc
  • installsheild
  • 程序
  • 启动
  • vc带
  • 完成
  • error

得分解答快速导航

  • 帖主:qqpeng76

相关链接

  • Visual C++类图书
  • Visual C++类源码下载

广告也精彩

反馈

请通过下述方式给我们反馈
反馈
网站简介|广告服务|VIP资费标准|银行汇款帐号|网站地图|帮助|联系方式|诚聘英才|English|问题报告
世纪乐知(北京)网络技术有限公司 版权所有, 京 ICP 证 020026 号
北京创新乐知广告有限公司 提供技术支持
Copyright © 2000-2007, CSDN.NET, All Rights Reserved
GongshangLogo