Results 1 to 2 of 2

Thread: Setup File Issue

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Jan 2009
    Location
    Watch Window(Shift+f9)
    Posts
    1,879

    Question 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.
    Last edited by firoz.raj; Aug 25th, 2009 at 04:48 AM.

  2. #2
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974

    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width