[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
And then the second page break down contains a link that says “download the REELEX packaging program.zip” or the URL for it is http://www.reelex.com/Attached%20Fil...%20Program.zip
(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.
Again, the vbp will have to wait until monday.
In the mean time, thanks for the prompt help.
Re: warning during install and uninstall (windows XP SP2)
Ok, I just created an Installation package and will test it on my VM XP Machine. I'll let you know...
Re: warning during install and uninstall (windows XP SP2)
Re: warning during install and uninstall (windows XP SP2)
I also noticed that you have database dll's in your deployment but you use no database. Why do you need those files?
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)
I would use Inno Setup and **********.
And no, You have other issues improper installation, files etc... Only aproper installation with proper file will cure that.
You did read underneath my avatar...;)
Re: warning during install and uninstall (windows XP SP2)
ok, i'm at work now. Would you still like to see the VBP?
Re: warning during install and uninstall (windows XP SP2)
1 Attachment(s)
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?
Re: warning during install and uninstall (windows XP SP2)
No you are supposed to zip it, but we'll see...
Re: warning during install and uninstall (windows XP SP2)
So why do you have the reference
Microsoft DAO 3.51 Object Library - (dao350.dll)
in your project, you don't use a database? This seems unnecessary.
Your PDW Setup.lst has you putting in 9 files you don't need.
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.
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 **********?
EDIT:: The zipped up file was still too big, i found some free online hosting though, so here is the link; let me know if this works:
http://www.yourfilelink.com/get.php?fid=361098
**Worked for me
Re: warning during install and uninstall (windows XP SP2)
None of these files are needed
Code:
[email protected],$(WinSysPath),,$(Shared),6/18/98 2:00:00 AM,89360,6.0.81.69
[email protected],$(WinSysPathSysFile),,,4/13/99 12:00:00 AM,407312,3.51.623.0
[email protected],$(WinSysPathSysFile),$(DLLSelfRegister),,4/24/98 12:00:00 AM,252176,3.51.623.0
[email protected],$(WinSysPathSysFile),,,9/26/03 9:12:38 PM,380957,6.0.72.9589
[email protected],$(WinSysPathSysFile),,,9/26/03 9:12:31 PM,30749,6.0.1.9431
[email protected],$(WinSysPathSysFile),,,4/24/98 12:00:00 AM,123664,3.51.623.0
[email protected],$(WinSysPathSysFile),,,4/24/98 12:00:00 AM,24848,3.51.623.0
[email protected],$(WinSysPathSysFile),$(DLLSelfRegister),,4/13/99 12:00:00 AM,1045776,3.51.623.4
[email protected],$(MSDAOPath),$(DLLSelfRegister),$(Shared),4/27/98 12:00:00 AM,570128,3.51.1608.0
Yes, I would still recommend ********** and Inno Setup.
I already gave you something that worked that did not have all those files included.
Re: warning during install and uninstall (windows XP SP2)
Sorry, I don't go to those online hosting sites to search thru the ads and the links for the download.
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
:blush: 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.