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
- :
- Extracting zip through installscript installer
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
‎Jul 24, 2015
08:29 AM
Extracting zip through installscript installer
Hi,
We have some metadata files which are required by our application at runtime. These files are generated after installer creation and we do not want to include them in installer and do the rebuilding. we want to pass them as a zip and extract them at a specified location via installshield installer.
Can anyone help me on how this can be done?
Thanks in advance!!!!!!:)
We have some metadata files which are required by our application at runtime. These files are generated after installer creation and we do not want to include them in installer and do the rebuilding. we want to pass them as a zip and extract them at a specified location via installshield installer.
Can anyone help me on how this can be done?
Thanks in advance!!!!!!:)
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 14, 2015
06:56 PM
You didn't state which OS you are deploying too, but if you are using WinXP or higher you can use the native OS tools to extract files with a VBS script see - http://www.aspfree.com/c/a/Windows-Scripting/Compressed-Folders-in-WSH/
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 14, 2015
07:09 PM
Pratik Tayde wrote:
Hi,
We have some metadata files which are required by our application at runtime. These files are generated after installer creation and we do not want to include them in installer and do the rebuilding. we want to pass them as a zip and extract them at a specified location via installshield installer.
Answer depends on the OS you are deploying to.
You could use a 3rd party tool like 7zip and use the command line options to extract the files from your SUPPORTDIR,
or you could use a VBS script or another tool, to call the native compression functionality in WinXP and above (see http://www.aspfree.com/c/a/Windows-Scripting/Compressed-Folders-in-WSH/
From Windows 8 on, .Net Framework 4.5 is installed by default, so you could call System.IO.Compression.ZipArchive, see http://stackoverflow.com/a/26843122/71312