无法在 XP SP3 中安装 Lightswitch 桌面应用程序 [英] Lightswitch Desktop Application Wont Install in XP SP3

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

问题描述

我有一个使用 Visual Studio 2012 使用 Lightswitch 开发的桌面应用程序.

I have a desktop application developed with Lightswitch using Visual Studio 2012.

该应用程序在 Windows 7 机器上完美安装,但当我尝试在 XP SP3 机器上安装它时:

The app installs perfectly on a Windows 7 machine but when I try to install it on an XP SP3 machine I get:

setup.exe 不是有效的 Win32 应用程序

setup.exe is not a valid Win32-Application

我试过使用:

editbin setup.exe/SUBSYSTEM:WINDOWS,5.01/OSVERSION:5.1

editbin setup.exe /SUBSYSTEM:WINDOWS,5.01 /OSVERSION:5.1

但随后出现以下错误:

过程入口点 InitializeCriticalSectionEX 不能位于动态链接库 Kernal32.dll 中

the procedure entry point InitializeCriticalSectionEX could not be located in the dynamic link library Kernal32.dll

我花了很长时间让这个快速开发的应用程序完全按照我的意愿去做,并且在最后一个障碍真正咬住了它.因此,如果有人能帮助我在 XP 机器上运行这个东西,我会非常非常感激.

I've spent ages getting this rapid development application to do exactly what I want it to do and to be scuppered at the last hurdle really bites. So if anyone can help me to get this thing to work on an XP machine I'd be really, really grateful.

推荐答案

看起来我被无法在 VS2012 for XP 中编译应用程序"问题所困扰.所以我要在 VS2010 中重新开发这个应用程序.不错的微软...

Looks like I was caught out with the 'can't compile an application in VS2012 for XP' issue. So I'm gonna redevelop the app in VS2010. Nice one Microsoft...

Setup.exe 不是有效的 Win32 应用程序

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

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