Files out of date URGENT!
Hi
I have made a NT VB Service using the ntsvc.ocx active x control...everythiong works just fine. I then make a install package with "Package and deployment" wizard to move everything to another machine for isntall...when I then try to run the created setup.exe the install process detects files that are out of date ??
I get the question if I want the system to automatically fix this for me and also tell me I need to restart machine to be able to proceed..I restart the machine but nothing happens....Is there a way for me to check which files that are out of date ?? I have installed the latest MDAC because I thought that might have an impact but is appears not....
Can someone give me a hint about how to proceed ??
Helmut
Re: Files out of date URGENT!
You could try installing the VB6 runtimes on the PC. I have had this before but some how it fixed itself :)
http://www.microsoft.com/downloads/d...displaylang=en
or
http://support.microsoft.com/kb/q192461/
:)
Re: Files out of date URGENT!
What platform did you create the install on and what platform are you running the install on?
Re: Files out of date URGENT!
I tried to install VB6 runtime but no success.......the Operating system on the machine that created the install package was XP proffesionsl...the OS on the destination machibe is windows 2000...can that be an issue ?
Any other hint for solving the problem ?
br
Helmut
Re: Files out of date URGENT!
Quote:
Originally Posted by helmut2
I tried to install VB6 runtime but no success.......the Operating system on the machine that created the install package was XP proffesionsl...the OS on the destination machibe is windows 2000...can that be an issue ?
Any other hint for solving the problem ?
br
Helmut
Well, Windows 2000 is older than XP Pro so the files that is one it would be older than the files you are grabbing from your OS.
Re: Files out of date URGENT!
It could be a file installed afterwards ;)
Does it say which file is out of date? :)
Re: Files out of date URGENT!
Thats the major problem..it soesnt tell me which file / files ?? Since I installed VB6 runtime...I thought the different OS I'm dealing with should be no problems....
What can I do to get the same version of the files..can I in some way make the install package on the source machine in a different way ??
Greatful for more hints
Helmut
Re: Files out of date URGENT!
You must remove some of the system files from being included in the package before creating the setup.exe when packaging on windows xp and deploying to older os's.
See
http://support.microsoft.com/default...b;en-us;831491
and
http://support.microsoft.com/default...b;en-us;330314
Re: Files out of date URGENT!
You arent installing the CAL.ocx are you? If so remove that because its an absolute nightmare on installers :)
Re: Files out of date URGENT!
No, i dont have that component included...I'm using the ntsvc.ocx control for supporting a custom windows service...
I have now tried to follow the solution according to the microsoft link above..that is
include the files:
OLEPRO32.dll
• OLEAUT32.dll
• ASYCFILT.dll
• STDOLE2.tlb
....and make sure the following files are NOT in my package:
• MSVCRT.dll
• MSVCRT20.dll
• MSVCRT40.dll
• MSVCIRT.dll
• MFC42.dll
• MFC40.dll
Even after this I get the same problem...?? some files are out of date (no idea which files) and when I restart windows which I get prompted to do - the same cycle repeats :(
Helmut
Re: Files out of date URGENT!
Can you now just install it manually? :)
Re: Files out of date URGENT!
helmut2,
This is a common and re-occurring conversation in these forums. Read Installation Problems in my signature and search the forum.
Re: Files out of date URGENT!
Its simple, if you want to deploy the package on win2k you need to create it on the same platform. I have tested your issue. The simple thing you can do over this is grab a win2k machine install VB6 or 5 over it. Take a copy of your source code, create a package on this win2k machine over your exe and then deploy it. Remember you can also deploy this package create on the win2k machine over your exisiting winxp machine too. Try it and let me know. I believe you wont face any out of date issues if you do this :) . Best of luck. :thumb: