R – Installer for .NET 2.0 application for Windows 98

.net-2.0netsetup-projectvisual-studio-2008windows

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?

Best Answer

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?