点云技术相关产学研社区

 找回密码
 立即注册加入PCL中国点云技术相关产学研社区

扫一扫,访问微社区

查看: 1506|回复: 0

用inno setup安装msi驱动时run section语法

[复制链接]
发表于 2016-5-7 17:08:09 | 显示全部楼层 |阅读模式
最近想发布个软件包,包含openni的驱动的。结果用inno setup搞的,总提示.msi不是有效的执行文件,最后找到方案就是
  1. To install an .MSI file from within an Inno Setup installation, try these lines:

  2. [Files]
  3. Source: "Your-MSI-File.msi"; DestDir: "{tmp}"

  4. [Run]
  5. Filename: "msiexec.exe"; Parameters: "/i ""{tmp}\Your-MSI-File.msi"""
  6. (Credit for this technique goes to Alex Yackimoff.)
复制代码
完美解决。

回复

使用道具 举报

本版积分规则

QQ|小黑屋|点云技术相关产学研社区 ( 陕ICP备13001629号 )

GMT+8, 2024-4-28 11:53 , Processed in 1.703533 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表