Wix安装程序无法在Windows XP中运行 [英] Wix installer not working in windows xp

查看:128
本文介绍了Wix安装程序无法在Windows XP中运行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

1)使用wix3.8.1128.0,Visual Studio 2013中的Windows 8操作系统创建安装程序。

安装程序已经dailog输入sqlserver实例名称,databasename和sqlserver crendentails。 .msi适用于Windows 8和Windows 7中的任何问题。



2)相同的.msi在windowsxp sp2中不起作用当我看到包日志文件时自定义操作排除并返回1但它无法将属性值设置为1.



3)我设置< startup useLegacyV2RuntimeActivationPolicy =" true">并将.Netframework2.0添加为supportedruntimeversion。首先提到supportedruntimeVersion as.netframework4.0然后是.netframework2.0。它仍然没有用。



我应该怎样做才能在windowsxp sp2中使用相同的.msi。任何想法或建议

解决方案

我找到了上述问题的解决方案。



Th wix安装程序版本上面提到的.netframework4.0。我安装了.netframwork 4.0客户端配置文件或.netframework4.0扩展(因为我的应用程序是在.netframework4.0客户端配置文件下开发的),然后在Windows 8中创建的.msi在windows xp sp2以及windows xp sp3中工作正常。 / BLOCKQUOTE>

1) created installer using wix3.8.1128.0,windows 8 operating system in visual studio 2013.
the installer has dailog to enter sqlserver instance name, databasename and sqlserver crendentails. The .msi works fine with out any issues in windows 8 and windows 7.

2)The same .msi is not working in windowsxp sp2.when i see package logfile custom action exceuting and returning 1 but its not able to set the property value to 1.

3) I set <startup useLegacyV2RuntimeActivationPolicy="true"> and added .Netframework2.0 as a supportedruntimeversion. First mentioned supportedruntimeVersion as.netframework4.0 and then .netframework2.0. still it didn't work.

what should i do to work the same .msi in windowsxp sp2. any idea or suggestion

解决方案

I figured out solution for the above problem.

Th wix installer version above mentioned required .netframework4.0. I installed .netframwork 4.0 client profile or .netframework4.0 extended(since my application was developed under .netframework4.0 client profile) then .msi created in windows 8 is working fine in windows xp sp2 as well as in windows xp sp3.


这篇关于Wix安装程序无法在Windows XP中运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆