Autoplay & DivX3.11

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • hacker_on_fire
    Digital Video Expert
    Digital Video Expert
    • Mar 2002
    • 517

    Autoplay & DivX3.11

    I got my divX avi's but i have seen lots of launcher, but they dont work.

    I need the code to open a .exe file, (which will open a laucher i made).

    Also the 'register DivX' does not seem to work for DivX3.11. It says instillation failed. I can only install it by right clicking and pressing install. However how would i make my laucher install the codec.
    MAY THE FORCE BE WITH YOU

    How 2 post questions correctly
    Look here before posting questions
  • benderman
    Digital Video Specialist
    Digital Video Specialist
    • Nov 2001
    • 770

    #2
    I'm not sure what your problem is, but maybe you only need to write a autorun.inf if you use windows:

    [AutoRun]
    open=cdmenu.exe
    icon=cd.ico

    Maybe it also works this way (not on all windows versions):

    [AutoRun]
    open=movie.avi
    icon=cd.ico

    You could also use:

    [AutoRun]
    open=cdmenu.html
    icon=cd.ico

    and write a simple HTML-file that allowes you to start the movie and install the codec.
    don't trust in guides

    Comment

    • hacker_on_fire
      Digital Video Expert
      Digital Video Expert
      • Mar 2002
      • 517

      #3
      thanks for telling me ow to lauch a cd menu. However the second part of my post was confusing.

      What i meant was when my cd menu atuolauched it self, and you wanted to install the codec, it wouldn't as when it tried, it said 'instillation failed'. So is there any other file that (.exe) i can run of my cd menu that would install the codec, as the 'registar_DivX' does not work.
      MAY THE FORCE BE WITH YOU

      How 2 post questions correctly
      Look here before posting questions

      Comment

      • benderman
        Digital Video Specialist
        Digital Video Specialist
        • Nov 2001
        • 770

        #4
        Seems more to be a problem with your programming language. read the documentation again.

        Maybe you can solve it with an batch-program (*.bat).

        [cdmenu.bat]

        cdmenu.exe
        if errorlevel==1 register_divx.exe
        cdmenue.bat

        if you end your cdmenue and produce an exit-error (=1) when clicking on "install DivX" you start the installation from a batch-file while the cdmenu.exe is totally closed and would cause no problem. I don't know exactly if it works like shown above, cause it's a long time since my last batch-prog.
        don't trust in guides

        Comment

        • hacker_on_fire
          Digital Video Expert
          Digital Video Expert
          • Mar 2002
          • 517

          #5
          the thing is the cd menu is not the cause of the problem. As if you run the 'register_DivX' file on its own in windows it will ask if i want to start the instillation. However when i do click yes it says instillation failed. So the only way i installed it was by right clicking on the DivX.inf and choosing install.

          But the thing is i need to find a way so that my laucher is able to install it (prehaps by using the right click method).
          MAY THE FORCE BE WITH YOU

          How 2 post questions correctly
          Look here before posting questions

          Comment

          • benderman
            Digital Video Specialist
            Digital Video Specialist
            • Nov 2001
            • 770

            #6
            Now your problem might become a little bit clearer for me. You can execute the *.inf file with this command line:

            C:\WINDOWS\rundll.exe setupx.dll,InstallHinfSection DefaultInstall 132 DivX.inf

            You will also find that commands with Regedit under "HKEY_CLASSES_ROOT -> inffile ->shell -> ...".
            don't trust in guides

            Comment

            • hacker_on_fire
              Digital Video Expert
              Digital Video Expert
              • Mar 2002
              • 517

              #7
              thanks, the command for win2k is %SystemRoot%\System32\rundll32.exe setupapi,InstallHinfSection DefaultInstall 132 %1

              but do you know of any program that allows me to incorporate this command into it.
              MAY THE FORCE BE WITH YOU

              How 2 post questions correctly
              Look here before posting questions

              Comment

              • benderman
                Digital Video Specialist
                Digital Video Specialist
                • Nov 2001
                • 770

                #8
                Same way as you started "register_DivX.exe " from your launcher before. rundll32 is also an exe. Same procedure.
                don't trust in guides

                Comment

                • hacker_on_fire
                  Digital Video Expert
                  Digital Video Expert
                  • Mar 2002
                  • 517

                  #9
                  i tried this on the laucher i am using, but it is not a valid command. Do you know of any app that allows me to use this command
                  MAY THE FORCE BE WITH YOU

                  How 2 post questions correctly
                  Look here before posting questions

                  Comment

                  • hacker_on_fire
                    Digital Video Expert
                    Digital Video Expert
                    • Mar 2002
                    • 517

                    #10
                    ok i downloaded mpeg4cd which includes the divx 3.11 codec that installs properly

                    so i used that

                    Thanx for all the help!!
                    MAY THE FORCE BE WITH YOU

                    How 2 post questions correctly
                    Look here before posting questions

                    Comment

                    Working...