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: How to unzip a file and install its contents as part on an installation
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
‎Feb 29, 2008
06:35 AM
How to unzip a file and install its contents as part on an installation
I have an InstallScript project that requires a Zipped file to be unzipped and installed as part of the installation, how do I do this?
(7) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 29, 2008
08:37 AM
Why do you want to do that though? InstallShileds by its own nature, zipped all your files anyway.
If you want to do it for security reasons (e.g. hide something from hackers), that will never work.
If you want to do it for security reasons (e.g. hide something from hackers), that will never work.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 29, 2008
11:33 AM
The files that are zipped are Adobe Help files. Adobe has changed the way their dynamic links now work so unless the files are zipped, the links incorrectly reference the path on the build machine.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 03, 2008
11:14 AM
The only good way of accomplishing this would be to include an unzip utility in the installation and launch it against the installed zip files (they could also be stored in Support Files), or, try to find an open source zip API and include it in as a built DLL you can call from your script.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 25, 2008
02:51 AM
I'm having the same issue but I need to extract file paths longer than 8 characters and all the dos utilities I can find only extract short paths and cut off the longer pathnames. can anyone help with a good utility that supports long paths?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 25, 2008
08:39 AM
You can try creating a self extracting executable of the zip file. And then execute the exe to extract it. If you have winzip installed, right click the zip file and convert it to and exe file.
Do let me know if it works.
Cheers,
Rajeev
Do let me know if it works.
Cheers,
Rajeev
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 26, 2008
01:51 AM
Thanks Rajeev,
I am able to do this but I really need to be able to extract a zip file as well as our customers will be adding a simple zip file to easily customise the install?
Any ideas?
I am able to do this but I really need to be able to extract a zip file as well as our customers will be adding a simple zip file to easily customise the install?
Any ideas?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jun 26, 2008
03:28 AM
As joshstachnij said
I wrote just such a C DLL a couple of years ago and still use it regularly in my installations today.
Try the following link for an example
http://www.wischik.com/lu/programmer/zip_utils.html
try to find an open source zip API and include it in as a built DLL you can call from your script
I wrote just such a C DLL a couple of years ago and still use it regularly in my installations today.
Try the following link for an example
http://www.wischik.com/lu/programmer/zip_utils.html
![](/skins/images/D60DF682EA37BF37032955CE10F3F0BB/responsive_peak/images/icon_anonymous_message.png)