问题
How can an automatic installer for .NET 2.0 application be created for Windows 98?
I mean for application and also for .NET 2.0 if missing.
I tried to do it by creating a setup project for Visual Studio 2008, but I didn't succeed. I installed IE6 SP1 manually, but Installer still crashed. Windows Installer 2.0 is installed. It's impossible to install Installer 3.0 there. I unchecked Installer at Setup Project prerequisites, but still it's not possible to install the application - the error message says that it requires a newer version of Windows.
How can this be resolved?
回答1:
Do not use Visual Studio 2008 if you intend to deploy to Windows 9x or ME. VS2008 does not support these operating systems anymore, and if you're stuck with them you should use VS2005 or earlier. Also see this question: Does Visual Studio 2008 support windows 98?
回答2:
According to this article Win98 is supported for 2.0
http://msdn.microsoft.com/en-us/library/aa480241.aspx why not just getting the redistributable from Microsoft?
http://www.microsoft.com/downloads/details.aspx?FamilyID=0856EACB-4362-4B0D-8EDD-AAB15C5E04F5&displaylang=en
回答3:
According to MS here, Windows Installer 3.0+ is not available for Windows 98.
Running Installer 3.1 setup manually on Windows 98 fails with the message
Missing entry point for NtOpenProcessToken function
回答4:
You need to manually update the machine to windows installer 3.x first. Then it should go.
来源:https://stackoverflow.com/questions/310246/installer-for-net-2-0-application-for-windows-98