At some point after some of the Inno Setup updates, any installer generated with it fails to run under Windows XP, giving the error:
not a valid Win32 application
Is there any setting I can change in the setup script to fix this?
Since version 6, Inno Setup no longer supports Windows XP.
See Inno Setup 6 revision history:
OS requirements change: Windows 2000, XP, and Server 2003 are no longer supported. Windows Vista is now the minimum supported operating system.
Related
I have an application written in Delphi XE5 that targets mainly Windows 7, but also Windows 8 and 8.1. It does require that the user has administrator rights.
It works fine on nearly all of my user's computers, but on a few it only works when selecting compatibility mode for Windows 7 in Windows 7.
The error presents itself directly when starting up the application as a windows dialog stating that:
[NameOfMyProgram] has stopped working.
Problem Event Name: APPCRASH
Fault Module Name: KERNELBASE.dll
Fault Module Version: 6.1.7601.18839
Exception code: 0eedfade
My question is the following: Why is there a compatibility mode for Windows 7 on Windows 7, and what does it mean to use this mode that could affect my application in the way described above?
I have not been able to find any documentation about this specific compatibility mode.
When you're running Windows 7, the "Windows 7" option appears on the compatibility list when you have Windows 7 SP1 installed. If you don't have SP1 installed, then that option will not appear on the list.
The option makes Windows appear to the program as though it does not have the service pack installed, which may affect the behavior of certain API functions.
I register msado15.dll for my VB6 app in windows XP and app run successfully on windows XP and windows 7.
But when I register msado15.dll for my app in windows 7 then it is not running on both XP and windows 7.
What's the issue in windows 7?
With Windows 7 Service Pack 1, Microsoft changed one or more GUIDs of ADO interfaces. They've released a hotfix that allows programs linked with ADO on Windows 7 to run on Windows 7 and earlier versions.
Install the hotfix, then recompile your program, and it should work fine.
With Windows 7 SP1 I compile my project by adding in references msado15.dll in Microsoft ActiveX data objects 6.0 library. Now my app will run in all Windows 7 versions(32 or 64bit).
For windows XP i just make a .bat file in which i register msado15.dll .I put it in project and it is working successfully in windows xp as well.
On MSDN lot win32 functions contain this statement:
Requirements: Minimum supported client - Windows 2000 Professional.
Is it really necessary to use the pro version, or function works with home version.
I use windows-xp home, and I can run many functions, but one function fails without reason, could be that it fails because I do not use pro version?
There was no "Home" versions of Windows 2000, Professional was the only non-server version released.
If the documentation displays it as the minimum supported version & do not list exceptions for XP, then anything with a minimum of "Windows 2000 Professional" will run on XP Home or Pro.
I have an old VB6 application that depends on MSINET.OCX. I'd like to know if I can distribute this application without registering MSINET OCX component. My target OSes are XP, Vista and Windows 7. Do all of them have this component preinstalled?
See if this information from technet helps you. The short of it seems to be that it does not come preinstalled, it is installed when you install an application that uses it. You will need to include it in your installation.
It's not shipping with the OS. It is however delivered with Visual Basic. You must include it within your application setup. For details on Vista and Win7 support see: Support Statement for Visual Basic 6.0 on Windows Vista, Windows Server 2008 and Windows 7
I have a setup created using Vb6. I am unable to install it under Windows 7. Windows 7 is not registering OCX controls included in the setup.
Same setup works fine under Windows XP and all other previous Microsoft operating systems.
Windows 7 OS is 64 bit.
Also, I have tried all compatibility mode which is available under Windows 7 without much luck.
Unfortunately I don't have source code with me. Otherwise I could have ported entire source to Dot Net.