View Full Version : automatic decompress?
mnsports
03-03-2010, 12:03 PM
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.
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.
mnsports
03-04-2010, 03:22 PM
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?
T3STY
03-04-2010, 04:48 PM
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.
Powered by vBulletin™ Version 4.0.6 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.