Deployment of project problem, downward support from XP to 2K

i have an application developed using visual basic 6 sp4. i used the package and deployment wizard of visual studio. i was able to create the deployment package using a winXP sp2 OS. when i was trying to install it on a win2K server this error appeared:

"Setup cannot continue because some files are out of date on your system. Click OK if you would like setup to update these files for you now. you will need to restart windows before you can run setup again. Click cancel to exit setup without updating system files."

being a good follower, i clicked ok and waited, then another message appeared saying there is a need to reboot the system, and i did so. after the reboot, i ran the setup again and the same error message above appeared again. tried it again but it still didi not work. apparently my friends who develop and package in a WinXP OS have the same problem. what we did was to package the program in win98 or win2k. is there something wrong with VS6 running in winXP that it cant support lower OS versions? can anyone help me. i would like to be able to make a single package that will run on all OSs made by microsoft. winXP downward and win98 upward. tnx in advance.

[1245 byte] By [Reg2880] at [2008-2-21]
# 1
Wow, there are not many people around anymore on our product team who have experience with PDW anymore! But, I think I've heard a bit of this one, so I have an idea.

I think what has happened is that PDW had detected a dependency that is under System File Protection. It has packaged that file, and then on the W2K system, tried to update it, but detected a failure as the file is write only.

However, your app written in VB6 doesn't NEED that file to be the XP version, the 2K version is just fine. So, packaging on the downlevel OS has PDW selecting the lower versioned dependency, which doesn't get replaced on XP.

Another option, however, would be to try to use Visual Studio Installer at:
http://msdn.microsoft.com/vstudio/downloads/tools/vsi11/default.aspx

It's newer than PDW, and generates Windows Installer files, that just might work better for you, and it integrates with Visual Studio 6. There are a few more people here who are familiar with that tool and it's technologies than PDW, but to be honest, it's a (supported) legacy product at this point. Smile

Hope this hepls.

DavidGuyerMS at 2007-9-9 > top of Msdn Tech,Visual Basic,Visual Basic IDE...