Lightswitch Desktop Application Wont Install in XP SP3

巧了我就是萌 提交于 2020-01-06 19:40:26

问题


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

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 is not a valid Win32-Application

I've tried using:

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

but then I get the following error:

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

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.


回答1:


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 is not a valid Win32 application



来源:https://stackoverflow.com/questions/12838006/lightswitch-desktop-application-wont-install-in-xp-sp3

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!