Indigo Rose Software

Professional Software Development Tools

 
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Join Date
    Feb 2010
    Posts
    13

    automatic decompress?

    I made a video program and it is about 300mbs. I want to make it avalible for download but I would like to compress the file in winrar or something that will make the file less then 300mbs and make it automatically decompress/ install to c:/programs and put a shortcut on the desktop if the choose.

    I have AutoPlay Media Studio can I do this with that?

    Thanks for your time.

  2. #2
    Join Date
    Feb 2010
    Posts
    25
    RT(f)M for the follwing:
    ~ Zip.Extract (..)
    ~ Shell.CreateShortcut(..)

    Or use WinRAR to create an SFX (where you can epecify extraction path and shortcut) then then ShellExecute(..) it.

  3. #3
    Join Date
    Feb 2010
    Posts
    13
    Quote Originally Posted by meny View Post
    RT(f)M for the follwing:
    ~ Zip.Extract (..)
    ~ Shell.CreateShortcut(..)

    Or use WinRAR to create an SFX (where you can epecify extraction path and shortcut) then then ShellExecute(..) it.
    Thank you but I should have said I am new to all this. I do not understand what: ~ Zip.Extract (..) ~ Shell.CreateShortcut(..) means? and I do not know what a SFX or ShellExecute(..) is?

  4. #4
    Join Date
    Feb 2009
    Posts
    1,285
    You should use AMS's functions Zip.Extract() to extract files from a zip archive (See the AMS help for more info about Zip.Extract and other functions).
    This means that before playing the video, you have to extract the video file from the archive and then play it.

    IMO, compressing the video in a ZIP file will not save space (from a 300MB you may save about 50MB (+/-) ) and also you'll have to wait a lot before the extraction process finishes extracting. I suggest you to leave the video file unzipped.

Posting Permissions

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