VB Setup

I've made my own Installation program
We don't use the VB setup wizard, because our installation is very specific

To run a VB-application, windows needs MSVBVM50.DLL at least
My question is how can i copy this dll to the winsys directory without using a dos-batch file or something
Who is Participating?
kesonlineConnect With a Mentor Commented:
The MSVBVM50.DLL can be in the same directory as your VB installer program - your program will find it there, and then you can copy in to WinSys for the main program to use.
with the command "Filecopy" ?

dont forget to temp install Regsvr32.exe so you can register your dll
Cloud Class® Course: Microsoft Azure 2017

Azure has a changed a lot since it was originally introduce by adding new services and features. Do you know everything you need to about Azure? This course will teach you about the Azure App Service, monitoring and application insights, DevOps, and Team Services.

gaAuthor Commented:
When i want to use filecopy i need VB and VB needs msvbvm50.dll
You can write a tiny Setup.Exe in C, that will copy the rtl and register it, and run your setup program.
why not use the setup.exe that comes with vb..Write your own cutdown version of setup1.exe in VB to do what you want...and you have all the functionality of VB..Failing all this you could edit the setup1.exe (.vbp) that also comes with VB, to do your specific jobs.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.