Setup program fails in Win2000. HELP!
Hello everyone,
I have created a program in VB6 on a windows XP Professional machine. In the office I have multiple platforms (XP, and Windows 2000). When I create the package deployment using the wizard in VB on my XP machine, I can successfully install the program on other XP machines.
However when I try to install the program on Windows 2000 machines, the setup prompts me for updating system files and reboot. When I say Yes, the program updates the files, reboots, but the software is not finally installed.
Any help will be much apprecciated.
Thanks and best regards,
Ral
[627 byte] By [
rglezq] at [2007-11-11 8:08:56]

# 2 Re: Setup program fails in Win2000. HELP!
Hi,
I faced similar problem.I overcame it by using 'Visula Installer' to create setup files,which omits unnecessary files. The setup file created occupies less space also.
# 3 Re: Setup program fails in Win2000. HELP!
Thanks. I installed the Visual Studio Installer and the setup program that I made runs well and install the software correctly. But there is a problem during installation on a Win2000 machine regarding a .ocx file. Although the installation completes, the following error appears in the midst of it:
"Error 1931. Windows Installer service couldn't update the system file C:\WINNT\system32\wshom.ocx because it is protected by Windows. It is possible that you have to update the Operating System for the program to work correctly."
On the other side, my app gets to be installed completly but when I run it then the following error comes up:
"Runtime Error '430'
This class doesn't admit Automation or the expected interface"
It seems them that the problem lies in the wshom.ocx file (Windows Script Host Object Model) including the class "IWshShell_Class" which I used in the program to wait for anoter app to terminate. This works properly on any Win Xp Pro Machine but not on Win2000.
Would you please help me solve this problem?
Thanks in advance.
Ral
rglezq at 2007-11-11 17:28:02 >
