-
Setup File Issue
i simple want one batch file to register.some ocx file.if user will click the
register.bat.automatic msmask32.ocx,comctl32.ocx.will be copied into
System 32 folder.no need to make setup file.and after that it say
Code:
Regsvr32 msmask32.ocx 'at Dos promt .
regsver32 comctl32.ocx
Kindly let me know the idea .Any help would be highly appreciated.
-
Re: Setup File Issue
Thread moved to the 'Application Deployment' forum - which is where questions about installing/distributing your software belong
Even if you fix the mistakes in what you are trying to do, it will be unsafe and unreliable.
There are several things involved in setting up the files etc that your program needs, registering the ocx files is not good enough (and is sometimes really bad).
There are many things that you should be taking into account (such as versions which are already installed, user permissions, etc), many of which cannot be done from a batch file - which is why packaging tools don't use them.
I don't know why you are trying to avoid creating a package, but whatever the reason it can almost certainly be done in a better and easier way with a package.
I recommend using Visual Studio Installer (see the FAQs at the top of this forum), as it is well designed and easy to use - and creates MSI files which may suit your reasoning.