|
-
Apr 4th, 2000, 04:29 PM
#1
Thread Starter
Hyperactive Member
Hi!
I have to produce a DOS batch file to install my VB project. It must run with no user intervention. It has to install the .exe file, a bunch of data files, and all the .dll`s and .ocxs etc into the correct place.
My project was created on 9x, but must be installed on an NT system. I have no idea how to go about this!
Usually i would use the Package and Deployment thingy, which seems to work ok, but definately requires user intervention. Mainly of the `this file is older than an existing file - keep existing file` form.
How would i make this check myself?
Also, it appears that .dll`s need registering on an NT system, whereas on a 9x system you just copy them into windows/system. Am i right in thinking that this means i can put the .dll`s where i want, and that the registering system (using RegSvr32) lets NT know where it is? It would be better for me to do that, as then there would be no problems with me accidentally overwriting NT system dlls, assuming they share the same names. But you dont register .oxc`s , do you? So where should they go?
Are there any websites that cover this sort of thing? Or can the Package and Deployment program be made to run without any intervention? If so, would it know to register the dlls after detecting it was being installed on an NT system!
Basically, HELP!!!! 
Thanks,
Alex.
-
Apr 4th, 2000, 05:55 PM
#2
Hyperactive Member
Complete code of the setup1.exe comes with VB (search for Setup1.vbp), you can completely modify it and let it run without a user needing to do something...
One big BUT.. if the user hasn't the vb6 runtime dll's, or has an out of date OLE dll stuff, you must reboot before continueing the setup.
As far as I know, there's no difference between setup for 9x and NT: both need to have dll's and ocx's registered, best place to put them is in the system dir, although custom dll's and ocx's can be placed in the appdir, as long as they are registered.
-
Apr 4th, 2000, 10:19 PM
#3
Thread Starter
Hyperactive Member
cheers - well, it helped, i now know you can add a /s switch for silent operation.
Are there any docs for the package and deployment wizard? I`m using a custom control (textcontrol), and it complains i`m missing a dll, and i`ve no idea how to include it. the dll is used by an ocx file! Help! I dont get it! Usually i just dive in an try and puzzle things out, and i`m usually successful (maybe after asking a question here if its a toughy) but i just dont get it! When i tried to fudge it, it still created the cab files, but asked for disk 0 of 3! disk 0? no, i have disks 1 to 3, no disk 0! is this a bug? probably not....
Help!
Alex.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|