cj32 Posted April 2, 2007 Posted April 2, 2007 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,6.0.84.50 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,6.0.97.82 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,6.1.97.82 File28=@MSHFLXGD.OCX,$(WinSysPath),$(DLLSelfRegister),$(Shared),3/8/04 11:00:00 PM,440352,6.0.88.4 File29=@MSFLXGRD.OCX,$(WinSysPath),$(DLLSelfRegister),$(Shared),3/9/04 12:00:00 AM,260880,6.1.97.82 File30=@MSINET.OCX,$(WinSysPath),$(DLLSelfRegister),$(Shared),3/9/04 12:00:00 AM,132880,6.1.97.82 File31=@TABCTL32.OCX,$(WinSysPath),$(DLLSelfRegister),$(Shared),3/9/04 12:00:00 AM,224016,6.1.97.82 File32=@MSCOMCTL.OCX,$(WinSysPath),$(DLLSelfRegister),$(Shared),3/9/04 12:00:00 AM,1081616,6.1.97.82 File33=@COMDLG32.OCX,$(WinSysPath),$(DLLSelfRegister),$(Shared),3/9/04 12:00:00 AM,152848,6.1.97.82 File34=@MSCOMCT2.OCX,$(WinSysPath),$(DLLSelfRegister),$(Shared),3/9/04 12:00:00 AM,662288,6.1.97.82 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,6.1.97.82 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,9.0.0.2717 File40=@EXCEL9.OLB,$(WinSysPath),,$(Shared),3/19/99 9:00:32 PM,638976,9.0.0.2719 File41=@wshom.ocx,$(WinSysPath),$(DLLSelfRegister),$(Shared),8/4/04 12:00:00 PM,98304,5.6.0.8820 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,5.6.0.8820 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!
mrbond007 Posted April 2, 2007 Posted April 2, 2007 did you use this command : Regsvr32 /s VB6STKIT.DLL Projects : Space Regain - Memory Fusion - PWGT - Chip-ITGames : BrainPain - BrainPain Director's Cut - ProSpeed Games Pack (New)Vista vs XP : the forbidden fight
cj32 Posted April 2, 2007 Author Posted April 2, 2007 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!
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now