I have created a c# application using visual studio 2012 and uses a 4.5 framework.I created an Installer using NSIS(HM-NIS-EDIT Wizard).The installer works fine on windows 7 32 and 64 bit.But when I tried running the installer on windows Xp, it gave me an error saying not a valid win32 application.I want that it should work on windows XP as well.
I wanted to know what the possible reason could be.
1)Should I change the framework to 3.0 or 3.5?
2)Or do i have to change the code in NSIS.
Please suggest
Link of my installer https://www.dropbox.com/s/zrxp4fswnqydu9t/Usm.exe
Thanks,
.NET 4.5 is not supported on Windows XP. There's no way to go around this. .NET 4.0 is the last version that supported Windows XP SP3. You can add many 4.5 features using NuGet packages like Microsoft.Bcl.Async for async/await
support and Microsoft.Net.Http for HttpClient.