Installshield的几点疑难杂症

新手学Installshield,如果错误,敬请斧正。

 

1、Buid的时候遭遇Error Code: 1014

解决方法:关闭Setup输出的文件夹即可。

 

2、InstallShield制作的安装文件可能会出现”1152:error extracting"错误

解决方法:

可以参见Installshield官方对这个错误的详细解释:http://kb.flexerasoftware.com/selfservice/viewContent.do?externalID=Q107317

按照文章描述,造成这个Error的原因可能有:Setup没有Temp文件夹写入权限;Temp文件夹对解压的空间不足;Setup文件损坏。

程序猿的方法是:修改Setup文件的运行权限(Installshield的Release的Setup.exe选项的Required Execution Level:Administrator)

用户的方法是:重新下载Setup;删除多余文件留足空间;修改Temp文件夹写入权限。

不过程序猿在实践中还是不能解决这个问题。Build出来的Setup安装的时候还是弹出这个错误。可能是因为安装的时候涉及到一些特殊字符,在国际化多语言的Build中出现异常。关于这个,还可以参见:http://www.cnblogs.com/confach/archive/2008/05/29/1209870.html

很无语的是,在项目中,修改Media/Releases/Product Configuration的General选项中,Product Name填入对应语言的产品名称就可以了。

Caution: When creating a release that uses Unicode characters (e.g. Japanese), set the product name field to the localized name and the .msi file name to the original product name, i.e. Kid-Tough Digital Studio Software, in the product configuration section.

 

3、在Windows 8上自动安装.Net的安装包

解决方法:

参见:http://www.cnblogs.com/AlvinLiang/archive/2013/04/12/3016792.html

在Win8,,无论自带.Net安装包还是怎样,最后都需要从Windows Update下载.Net 3.5安装。

如果是离线安装,则一般用户都不会,费时费力。

对此,有三个解决方法:

1、安装程序检测到Win8,跳过.Net安装步骤,直接安装。当用户运行我们的程序时,系统将会自动启动.Net的安装。

2、在安装程序中打包一个需要.Net的小程序,当检测到系统是Win8并且没有安装.Net的时候,调用此程序,启动Windows Update。这方法本人没有尝试过,哈。应该可行,不过安装进度不太好控制。

3、Installshield官方提供的解决方法:

惯例,官方链接:InstallShield Prerequisites for .NET Framework 3.5 SP1 on Windows 7 and Later, Windows Server 2008 R2 and Later

这个链接有点问题,在IE9上显示不出来,我唯有跑去Chrome……

官方说在Installshield2012上有用,本人在Installshield2011上证实可用。懒得翻译,辛苦一点看鸟语吧。

    1. If InstallShield is running, close it.
    2. Download the following files to your machine that has InstallShield:

      Microsoft .NET Framework 3.5 SP1 (Windows Feature).prq
      Helper.exe

      Important Note:  To download the updated .prq file, right-click on the download link above and select the "Save Target As" option.  Then update the file extension to .prq and change the "Save As Type" to "All Files".  If having trouble downloading the file from the above link, please click on the alternate download link in the "Attachments" section below.

    3. Place the  .prq file in the folder that contains your InstallShield prerequisite files (.prq):
      InstallShield Program Files Folder\SetupPrerequisites
    4. Place the Helper.exe file in the following directory:
      InstallShield Program Files Folder\SetupPrerequisites\Microsoft .net\3.5 SP1\Dism
      You may need to create one or more of the folders in this path.

转载于:https://www.cnblogs.com/AlvinLiang/archive/2013/04/12/3016836.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
根据引用和引用的信息,InstallShield教程有三个文档,一个是chm格式的,一个是pdf的,还有一个是从网上摘抄的。对于软件开发人员来说,InstallShield是一个非常优秀的工具,用来打包自己的应用程序,可以用来创建安装程序和升级程序。所以,如果你想学习InstallShield的使用方法,可以参考这些教程文档来了解基本的使用方法和步骤。你可以根据自己的需要选择合适的教程文档格式来学习。<span class="em">1</span><span class="em">2</span><span class="em">3</span> #### 引用[.reference_title] - *1* [installshield 教程](https://download.csdn.net/download/zhhf123/2674945)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 33.333333333333336%"] - *2* [【教程】InstallShield使用完全教程](https://blog.csdn.net/weixin_33736649/article/details/85570270)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 33.333333333333336%"] - *3* [InstallShield 2020 基本使用教程](https://blog.csdn.net/weixin_43203889/article/details/119056273)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 33.333333333333336%"] [ .reference_list ]

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值