This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: Extracting files from a zip file during install
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 30, 2010
03:47 PM
Extracting files from a zip file during install
We have a new install project that requires the installation of ApacheDS LDAP and Apache Tomcat. Our developement team would perfer the install to simply use the .zip files that are supplied by Apache and extract them during install instead of the install using the supplied Apache install setup .exe files and calling them as prerequisites.
Since there is no built in functionality in IS 2011 to extract .zip files during install and we are not guaranteed that the user's machines will have an unzip application on their machine that can be called to extract the files we have to supply our own.
So has anyone done this? Are there any recommended extraction applications that we can use in a custom action that can be triggered to extract the files/folders in the .zip files to the correct locations where the files are suppose to be installed/extracted to?
We need a tool that is free and can be called within a custom action.
Any suggestions would be appreciated.
Thanks,
Since there is no built in functionality in IS 2011 to extract .zip files during install and we are not guaranteed that the user's machines will have an unzip application on their machine that can be called to extract the files we have to supply our own.
So has anyone done this? Are there any recommended extraction applications that we can use in a custom action that can be triggered to extract the files/folders in the .zip files to the correct locations where the files are suppose to be installed/extracted to?
We need a tool that is free and can be called within a custom action.
Any suggestions would be appreciated.
Thanks,
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 01, 2010
01:26 AM
You can use 7za.exe executable for unpacking your zip files. 7za.exe is a part of 7Zip tool (freeware) (http://www.7-zip.org)
You can easily unpck it by using command line in Custom Action:
7za.exe x "" -o -y
You can easily unpck it by using command line in Custom Action:
7za.exe x "
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Oct 01, 2010
02:30 PM
They want you to use the ZIP file? Well that seems very odd to me. If you extract the files, place them in a folder and run them that decomplicates things a lot and when you create the installer you can make the installer itself compressed if you are looking to save xfer time.
I'm just completely confused as to how keeping them in the zip makes it better.
I think your developers haven't really thought this out - or just don't understand installations.
But - I understand there may be some esoteric reason for this. Enlighten me...
I'm just completely confused as to how keeping them in the zip makes it better.
I think your developers haven't really thought this out - or just don't understand installations.
But - I understand there may be some esoteric reason for this. Enlighten me...
![](/skins/images/D60DF682EA37BF37032955CE10F3F0BB/responsive_peak/images/icon_anonymous_message.png)