[RESOLVED] warning during install and uninstall (windows XP SP2)
I've installed and uninstalled my programs from several computers so far; none have really had a problem until I just did it on my personal T60. I encountered a few problems and this program is for industry so it really should run flawlessly…. Anyway, immediately after the install is complete, a window opened up with the title “Windows file protection”. This window said, “Files that are required for Windows to run properly have been replaced by unrecognized versions. To maintain system stability, windows must restore original versions to these files. Insert your Windows XP Professional Service Pack 2 CD now.” It then gives three options “Retry” “More information” and “Cancel”. I didn’t have the disk, so I just hit cancel. The computer still runs, so that’s a good thing.
The next error that I encountered was when I went to uninstall the program using the "add/remove Programs" icon from the control panel menu. At that point it told me about three shared files that could be being used by other programs, and i shouldn't delete them because it could cause problems with other programs. (sorry this is verbatim, I didn’t take s creenshot or anything). At this point it gave me an option to “keep”, “remove”, and “remove all” (there might have been one more option, but i can't remember it off the top of my head).
The three files that it referenced are:
C:\Program Files\Common Files\Microsoft Shared\DAO\dao350.dll
C:\WINDOWS\system32\mshflxgd.ocx
C:\WINDOWS\system32\VBSDB.DLL (this one could be wrong, I’m trying to remember off the top of my head).
Anyway, I chose to keep all three files, I figured it couldn’t hurt; lol.
The program was written on a computer with windows professional (built on NT technology) as the operating system. Maybe this is the reason why the DLL’s are different between the machines?
Anyway, is there anyway to distribute my program without these warning messages popping up; I really don’t want to scare our customers.
Like I have said I have installed this program onto about 10 machines, and this is the only one that came up with these warning messages. Even with these messages, the computer stil seems to run fine (I am posting this from said computer). With that all out in the open, if you are feeling bold, download the software and install it. It can be found at http://www.reelex.com/Pages/News%20a...er/service.htm
(In case anyone is curious before they go and install the software, all the program doesis asks the user to input some #’s and then it runs those numbers through a formula and spits out some results. I would get into details, but without any knowledge of the industry it would be painfully boring. I thought such a simple program really wouldn't encounter so many problems...lol
Re: warning during install and uninstall (windows XP SP2)
The problem is with the installation process. You should not include some files in your installation. Please read Installer Problems
Instead of downloading the installation I would like to see the package files you included in your setup. I assume you used PDW. Also I would need to see the vbp, and exe of your package to see what else I could see.
Re: warning during install and uninstall (windows XP SP2)
randem,
i will read the installer problems when i wake up in the morning.
The original program is at work, so the .zip is all i can give you right now. The .zip includes the setup.exe, setup.lst, support folder, and the .cab file.
I can get you the original .exe on monday when i goto work.
I used the packaging and distribution wizard that is part of VB 6.0.
Re: warning during install and uninstall (windows XP SP2)
hey, thanks, that one didn't come up with the warnings during install, and nothing during uninstall either. Also this was the first program i have ever written, so honestly i just did what the wizard told me to do. Any DLL's that are included are included because it selected them. I'm going to read "installer problems" now.
Re: warning during install and uninstall (windows XP SP2)
so basically, the PDW isn't so great, and i should use the inno setup??
Also, do you think the “Files that are required for Windows to run properly have been replaced by unrecognized versions. To maintain system stability, windows must restore original versions to these files. Insert your Windows XP Professional Service Pack 2 CD now.” problem on my computer should be addressed? Would that be under the "Automatic OS updater" link?
Re: warning during install and uninstall (windows XP SP2)
well, i dunno if this was a legitimate way to do this or not....
The forum wouldn't allow me to upload a file with the .vbp extension, so i renamed the file so it had a .vb extension. I suppose you can download it and rename it with the .vbp extension, and then use the file. I hope this works, let me know if there is some other way to do this.
I'll have to wait till tomorrow when my boss is here to "authorize" buying the ********** before trying to fart around with that software.
I guess i am not really sure to proceed from here, how will i decide which files to include. You said that the database files were unnecessary since i wasn't working with any databases. How do i know which ones i should have included, and how would i decide that? will the process be more straightforward with the ********** and innosetup?
Basically, in a nutshell, what should be the first step to take in making my software ready for the end user?
Last edited by scotzur; Jul 23rd, 2007 at 03:07 PM.
Re: warning during install and uninstall (windows XP SP2)
alright, like i said, I just went through the setup process with the wizard and didn't select any additional files to include, anything included are things that the wizard told me to. I will try to make a new install package that doesn't include so much.
Which are the 9 files?
**EDIT:: I think i may have found 10. I'll test.
Last edited by scotzur; Jul 24th, 2007 at 09:52 AM.
Re: warning during install and uninstall (windows XP SP2)
it's not on the website, but how does this installation package look? I un-included that dao350.dll and all associated dll's (10 in total). The program loaded onto my T60 fine (the computer i had issues with the first time) and onto my computer at work (but it always loaded fine there anyway).
I use that MSflexgrid thing, which is often used with databases (i however, did not use any). Could this be the reason that the wizard chose to include all of those files?
Considering the simplicity of my program, and keeping in mind the fact that this will likely be the only software that I am writing for industry using VB (we write mostly for system control using C and Assembler) would you still recommend the innoSetup and **********?
Re: warning during install and uninstall (windows XP SP2)
alright sorry, we're updating our website right now, the new file should be at the original link location that i gave in the first post in about 10 minutes
i didn't know if you would mind if we used your package on our website, but we're updating the website with that package on there now. Thank you very much.
Last edited by scotzur; Jul 24th, 2007 at 02:59 PM.