Hi guys,

I have completed one project and have created a setup file also. I have taken help from one of you guys and corrected a setup error, about "DllSelfRegisterEx" to "DllSelfRegister". But now the problem is after complition of installation, i get the following error message during installation to ANOTHER system. It works fine on which VB is installed. I get this;
The filebeing copied is not newer than the file currently on your system.
It is recommended that you kep your existing file.
File No : c:\windows\System32\expsrv.dll
Description : 'Visual Basic for Applicatioin Runtime-Expression service'
Your version '6.0.72.9589'
Do you want to keep the file?
YES NO NotoALL

To top it all, after installation is successfully completed, I dont see the program from the start menu!!!
And also please read this messages which i found in C: drive of the system i have installed on.

%% PLEASE DO NOT MODIFY OR DELETE THIS FILE! %%
%% This file contains information about the installation of an application. %%
%% It will be used to automatically remove all application components from your computer if you choose to do so. %%


NOTE: Beginning of the bootstrapper section

*** ERROR: Unable to create a directory named 'C:'
*** DURING THIS ACTION: CreateDir: "C:"

CONFIG: Title: "Chan System"

*** ERROR: Unable to create a directory named 'C:'
*** DURING THIS ACTION: CreateDir: "C:"

*** ERROR: Unable to create a directory named 'C:'
*** DURING THIS ACTION: CreateDir: "C:"

ACTION: RegKey: "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion", "SharedDLLs"

ACTION: SystemFile: "C:\WINDOWS\system32\VB6STKIT.DLL"
(File was not found or was an older version -- new file copied)

ACTION: SystemFile: "C:\WINDOWS\SYSTEM32\COMCAT.DLL"
(File currently on disk was already up to date)

ACTION: SystemFile: "C:\WINDOWS\SYSTEM32\MSVCRT40.DLL"
(File currently on disk was already up to date)

ACTION: SystemFile: "C:\WINDOWS\SYSTEM32\STDOLE2.TLB"
(File currently on disk was already up to date)

ACTION: SystemFile: "C:\WINDOWS\SYSTEM32\ASYCFILT.DLL"
(File currently on disk was already up to date)

ACTION: SystemFile: "C:\WINDOWS\SYSTEM32\OLEPRO32.DLL"
(File currently on disk was already up to date)

ACTION: SystemFile: "C:\WINDOWS\SYSTEM32\OLEAUT32.DLL"
(File currently on disk was already up to date)

*** ERROR: Unable to create a directory named 'C:'
*** DURING THIS ACTION: CreateDir: "C:"

*** ERROR: Unable to create a directory named 'C:'
*** DURING THIS ACTION: CreateDir: "C:"

ACTION: SystemFile: "C:\WINDOWS\system32\msvbvm60.dll"
(File was not found or was an older version -- new file copied)

ACTION: DllSelfRegister: "C:\WINDOWS\SYSTEM32\COMCAT.DLL"

ACTION: TLBRegister: "C:\WINDOWS\SYSTEM32\STDOLE2.TLB"

ACTION: DllSelfRegister: "C:\WINDOWS\SYSTEM32\OLEPRO32.DLL"

ACTION: DllSelfRegister: "C:\WINDOWS\SYSTEM32\OLEAUT32.DLL"

ACTION: DllSelfRegister: "C:\WINDOWS\SYSTEM32\msvbvm60.dll"

NOTE: End of the bootstrapper section

NOTE: Now spawning the main Setup program 'Setup1.exe'....

ACTION: CreateDir: "C:\Program Files\Project1"

ACTION: SharedFile: "C:\Program Files\Project1\Library.mdb"
(File was not found or was an older version -- new file copied)

ACTION: SharedFile: "C:\WINDOWS\system32\RDOCURS.DLL"
(File currently on disk was already up to date)

ACTION: SharedFile: "C:\WINDOWS\system32\MSRDO20.DLL"
(File was not found or was an older version -- new file copied)

ACTION: SharedFile: "C:\WINDOWS\system32\MSSTDFMT.DLL"
(File was not found or was an older version -- new file copied)

ACTION: SharedFile: "C:\WINDOWS\system32\MSBIND.DLL"
(File was not found or was an older version -- new file copied)

ACTION: SharedFile: "C:\WINDOWS\system32\MSDBRPTR.DLL"
(File was not found or was an older version -- new file copied)

ACTION: SharedFile: "C:\Program Files\Common Files\DESIGNER\MSDERUN.DLL"
(File was not found or was an older version -- new file copied)

ACTION: SharedFile: "C:\WINDOWS\system32\VB5DB.DLL"
(File was not found or was an older version -- new file copied)

ACTION: SystemFile: "C:\WINDOWS\system32\MSREPL35.DLL"
(File was not found or was an older version -- new file copied)

ACTION: SystemFile: "C:\WINDOWS\system32\MSRD2X35.DLL"
(File currently on disk was already up to date)

ACTION: SystemFile: "C:\WINDOWS\system32\expsrv.dll"
(File was not found or was an older version -- new file copied)

ACTION: SystemFile: "C:\WINDOWS\system32\vbajet32.dll"
(File was not found or was an older version -- new file copied)

ACTION: SystemFile: "C:\WINDOWS\system32\MSJINT35.DLL"
(File currently on disk was already up to date)

ACTION: SystemFile: "C:\WINDOWS\system32\MSJTER35.DLL"
(File currently on disk was already up to date)

ACTION: SystemFile: "C:\WINDOWS\system32\MSJET35.DLL"
(File was not found or was an older version -- new file copied)

ACTION: SharedFile: "C:\Program Files\Common Files\Microsoft Shared\DAO\DAO350.DLL"
(File was not found or was an older version -- new file copied)

ACTION: SharedFile: "C:\WINDOWS\system32\TABCTL32.OCX"
(File was not found or was an older version -- new file copied)

ACTION: SharedFile: "C:\WINDOWS\system32\MSCAL.OCX"
(File was not found or was an older version -- new file copied)

ACTION: SharedFile: "C:\WINDOWS\system32\DBGRID32.OCX"
(File was not found or was an older version -- new file copied)

ACTION: SharedFile: "C:\Program Files\Project1\Project1.exe"
(File was not found or was an older version -- new file copied)

ACTION: DllSelfRegister: "C:\WINDOWS\system32\MSRDO20.DLL"

ACTION: DllSelfRegister: "C:\WINDOWS\system32\MSSTDFMT.DLL"

ACTION: DllSelfRegister: "C:\WINDOWS\system32\MSBIND.DLL"

ACTION: DllSelfRegister: "C:\WINDOWS\system32\MSDBRPTR.DLL"

ACTION: DllSelfRegister: "C:\Program Files\Common Files\DESIGNER\MSDERUN.DLL"

ACTION: DllSelfRegister: "C:\WINDOWS\system32\MSRD2X35.DLL"

ACTION: DllSelfRegister: "C:\WINDOWS\system32\MSJET35.DLL"

ACTION: DllSelfRegister: "C:\Program Files\Common Files\Microsoft Shared\DAO\DAO350.DLL"

ACTION: DllSelfRegister: "C:\WINDOWS\system32\TABCTL32.OCX"

ACTION: DllSelfRegister: "C:\WINDOWS\system32\MSCAL.OCX"

ACTION: DllSelfRegister: "C:\WINDOWS\system32\DBGRID32.OCX"

ACTION: ShellLink: "$(Programs)", "Chan System"

ACTION: ShellLink: "$(Programs)", "Chan"

ACTION: RegKey: "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion", "App Paths\Project1.EXE"

ACTION: RegValue: "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths\Project1.EXE", ""


Would you guys kindly help me to correct this error. I hope its not from my end.

Thanks in advance.

Chanthung

and also how do we refresh a DataReport. As i add new report, data is not displayed, but only after i stop and start the project will it show... can any one plz show me the code..?

DataReport2.Orientation = rptOrientLandscape
DataReport2.Show

chanthung

and also how do we refresh a DataReport. As i add new report, data is not displayed, but only after i stop and start the project will it show... can any one plz show me the code..?

DataReport2.Orientation = rptOrientLandscape
DataReport2.Show

chanthung

Hi chang,
Try using timer control and set some delay time before executing datareport2.show statement.

this will solve your problem,

Regarding your previous error I hope some basic input error while installation might have took place. At very first line it is telling unable to create a directory named "C:" so pls try reinstallation give the parameters correctly install in some other drive other than C:
give the installation directory name correctly. and revert.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.