-
Hello all. I am curious to know if anyone has written an installation program or at least a program which copies files to a location (Program Files) and then copies *.dll(s) to the system location.
All I need to do is copy 5 dll(s) to the system directory (WINNT or WINDOWS depending on machine) and then register them (regsvr32).
My partner and I would rather come up with our own program then use the package and deployment wizard. Any tips or examples are greatly appreciated.
Arty and Jeff
-
I see this is your second post, so I'll try to offer some wisdom:
Don't try to re-invent the wheel.
You can edit the project that PD Wizard uses, or use an install tool with scripting like InstallShield. I'm sure you can do whatever you're trying to do through one of those two routes.
If you're set on doing it yourself, though:
1. Determine the OS
2. Copy the shortcuts
3. Copy the system files
4. Shell regsvr32
John
-
Shulax26, Before you register the DLL/OCX or etc... you need to consider that the PC may not have all the VB runtime library that your setup wizards need. (MSVBVM60.dll). Hence you need to resolved this by take alook in the VB package & Deplotment setup.lst:
[Bootstrap Files]
[email protected],$(WinSysPathSysFile),,,3/26/99 12:00:00 AM,101888,6.0.84.50
[email protected],$(WinSysPathSysFile),$(DLLSelfRegister),,5/31/98 12:00:00 AM,22288,4.71.1460.1
[email protected],$(WinSysPathSysFile),$(TLBRegister),,11/18/99 11:04:00 AM,17920,2.40.4277.1
[email protected],$(WinSysPathSysFile),,,11/18/99 11:04:00 AM,147728,2.40.4277.1
[email protected],$(WinSysPathSysFile),$(DLLSelfRegister),,11/18/99 11:04:00 AM,164112,5.0.4277.1
[email protected],$(WinSysPathSysFile),$(DLLSelfRegister),,11/18/99 11:04:00 AM,598288,2.40.4277.1
[email protected],$(WinSysPathSysFile),$(DLLSelfRegister),,8/9/99 12:12:04 AM,1384448,6.0.84.95
Perhaps, you also need to include all this file before you really can register the DLL by Shell the regsvr32 or using Win32 API ShellExecute to do it.
regards,
Chris.C