Jump to content

VB6 Project

Recommended Posts

Hi I am new to autoit, i am trying to create an auto updating software installer. If got that bit sorted but im stuck on the installer .exe files. I need to basically do what the vb6 bootstrapper toolkit does. Install dll files but some are shared, some are system, some are self registering etc. I am trying to replicate what is shown in the lst file:

[bootstrap Files]

File1=@VB6STKIT.DLL,$(WinSysPathSysFile),,,7/15/00 12:00:00 AM,101888,

File2=@COMCAT.DLL,$(WinSysPathSysFile),$(DLLSelfRegister),,5/31/98 12:00:00 AM,22288,4.71.1460.1

File3=@stdole2.tlb,$(WinSysPathSysFile),$(TLBRegister),,8/4/04 12:00:00 PM,17920,3.50.5014.0

File4=@asycfilt.dll,$(WinSysPathSysFile),,,8/4/04 12:00:00 PM,65024,5.1.2600.2180

File5=@olepro32.dll,$(WinSysPathSysFile),$(DLLSelfRegister),,8/4/04 12:00:00 PM,83456,5.1.2600.2180

File6=@oleaut32.dll,$(WinSysPathSysFile),$(DLLSelfRegister),,8/4/04 12:00:00 PM,553472,5.1.2600.2180

File7=@MSVBVM60.DLL,$(WinSysPathSysFile),$(DLLSelfRegister),,2/23/04 12:00:00 AM,1386496,

That is the boot strap files in needs initially, Then my program files and then these files:

File27=@MSSTDFMT.DLL,$(WinSysPath),$(DLLSelfRegister),$(Shared),2/23/04 12:00:00 AM,119808,

File28=@MSHFLXGD.OCX,$(WinSysPath),$(DLLSelfRegister),$(Shared),3/8/04 11:00:00 PM,440352,

File29=@MSFLXGRD.OCX,$(WinSysPath),$(DLLSelfRegister),$(Shared),3/9/04 12:00:00 AM,260880,

File30=@MSINET.OCX,$(WinSysPath),$(DLLSelfRegister),$(Shared),3/9/04 12:00:00 AM,132880,

File31=@TABCTL32.OCX,$(WinSysPath),$(DLLSelfRegister),$(Shared),3/9/04 12:00:00 AM,224016,

File32=@MSCOMCTL.OCX,$(WinSysPath),$(DLLSelfRegister),$(Shared),3/9/04 12:00:00 AM,1081616,

File33=@COMDLG32.OCX,$(WinSysPath),$(DLLSelfRegister),$(Shared),3/9/04 12:00:00 AM,152848,

File34=@MSCOMCT2.OCX,$(WinSysPath),$(DLLSelfRegister),$(Shared),3/9/04 12:00:00 AM,662288,

File35=@RICHED32.DLL,$(WinSysPathSysFile),,,5/7/98 12:00:00 AM,174352,4.0.993.4

File36=@RICHTX32.OCX,$(WinSysPath),$(DLLSelfRegister),$(Shared),3/9/04 12:00:00 AM,212240,

File37=@FM20.DLL,$(WinSysPath),$(DLLSelfRegister),$(Shared),3/17/05 9:39:56 PM,1146320,11.0.6550.0

File38=@dao360.dll,$(MSDAOPath),$(DLLSelfRegister),$(Shared),8/4/04 12:00:00 PM,561179,3.60.8618.0

File39=@MSWORD9.OLB,$(WinSysPath),,$(Shared),3/17/99 10:42:02 PM,548864,

File40=@EXCEL9.OLB,$(WinSysPath),,$(Shared),3/19/99 9:00:32 PM,638976,

File41=@wshom.ocx,$(WinSysPath),$(DLLSelfRegister),$(Shared),8/4/04 12:00:00 PM,98304,

File42=@msvcrt.dll,$(WinSysPathSysFile),,,8/4/04 12:00:00 PM,343040,7.0.2600.2180

File43=@scrrun.dll,$(WinSysPath),$(DLLSelfRegister),$(Shared),8/4/04 12:00:00 PM,151552,

I am just copying the file using filecopy(), how do i make the files self register (or do they, as the name suggests, register on their own!) also how do i make them shared?

WHen i run the vb toolkit setup the program works, when i do it my way i get errors.

HELP!! Im so stuck, i can answer any questions any one has, i am just so desperate to work this out! I have tried manually registering the dll's and that made no difference!

Link to comment
Share on other sites

yes all except the silent switch. My nw installer puts all the same files in the same place as the vb installer, so i guess im just not registering them correctly? I dont want to use the vb installer because it requires too much user intervention, giving the option to remove dll etc. I also use runas to elivate security level. Th lst file shows all what i need to do, and i thought i was doing that! But still the program doesnt work!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Create New...