A new Flexera Community experience is coming on November 25th. Click here for more information.
One of the daily challenges of IT Pros is to achieve reliable software deployments. A lot of work goes into preparing a software package to achieve this challenge. Of the various tasks involved in preparing a software package for deployment, easily the most important are to figure out how to install the software silently and how to implement desired customizations. This generally boils down to one of two ways: repackaging or wrapping.
A common question here is which method to select (repackaging or wrapping). The simple answer is “it depends”. It is not recommended to adopt one single method for all your packages. Depending on the package and certain other factors you will have to choose the right method to get the best results. What does “it depends” mean? What is it dependent on? We will try to answer these questions throughout this article to help you develop a good understanding of the various factors that you might want to consider before choosing a method for any given application deployment.
Let’s get started with a simple definition of each of these methods:
Repackaging is a method where a package format, generally a legacy EXE setup file, is converted to a different, more flexible package format like MSI. Such is traditionally done by installing the setup file, monitoring and capturing its changes during installation and bundling those changes detected into a desired output package format like MSI or MSIX or App-V.
Wrapping is a method in which the vendor installer package is delivered along with a script, could be Batch, VBScript, PowerShell or even Wise Script. Execution of this script leverages any command line support to run the vendor installer packages silently and may also include user facing messages and customizations (by making further changes before and/or after the silent installation of the application.
Let’s dig into each more closely...
Repackaging
During repackaging, most commonly, a legacy (EXE) setup file is converted to a more open and flexible format like MSI, App-V or the new MSIX in order to achieve silent installation and/or to add customizations. We will not get into the details of ‘How to Repackage’ in this article, but I do provide links to AdminStudio help documents for more details on how to repackage using AdminStudio.
I would recommend repackaging be strongly considered if you should encounter the below situations:
Wrapping
Wrapping has gained popularity over time. One of the reasons as I see is that the software installers have over time started providing command line switches not just for silent installation but for additional customizations too. When you have such a good support of command line switches, it makes it possible to have better control over installations by leveraging such command lines switches in wrapping thus, at times, making wrapping a preferred option over repackaging. Also, tools like PowerShell App Deployment Toolkit have added to the popularity of wrapping by making it lot easier to wrap.
I would recommend you consider wrapping if you encounter any of the below scenarios:
How to Repackage/Wrap using AdminStudio
AdminStudio has been the industry leading tool for Repackaging for more than a decade. While the product is an expert tool for repackaging, we have established above that repackaging is not always the appropriate option. For certain packages, wrapping might yield you best results, therefore AdminStudio also provides capabilities to facilitate the wrapping process. There are two ways of wrapping in AdminStudio – using PowerShell script and Wise Script. AdminStudio provides you with standard template scripts for wrapping, so you don’t have to spend a lot of your time writing a script to get started. As mentioned earlier, we will not get into the details of how to repackage or wrap in this article, instead I will leave you with some helpful links from AdminStudio product documentation:
For information on single package repackaging using Repackager tool, click here
For how to automatically repackage a of batch of installers using Automatic Application Converter (AAC), click here
For details on our PowerShell wrapping support (using the App Deploy PowerShell Toolkit), click here
For details on how we support use of Wise Script Editor for wrapping (which is ideal for those not comfortable with scripting), click here
If run into any scenario outside the guidance provided above, we would love to hear about such here in the comments. If you have a situation AdminStudio could help with that we have not covered, we might as well consider it as product enhancement!
Thanks @bkelly for giving the final touch to this article!