David Schwartz David Schwartz 1 1 silver badge 3 3 bronze badges. This appears to have been taken from helpnet. This is really the best answer because it resolves how to specify the install directory for any application. Use log. Uwe Keim Moscow Boy Moscow Boy 1, 3 3 gold badges 14 14 silver badges 13 13 bronze badges.
Colibri Colibri 12 12 silver badges 16 16 bronze badges. This worked for me as well. What property name you use depends largely on what tool was used to build the MSI file. Also, make sure to use fully qualified paths.
Otherwise it may fail with a warning saying that it "could not access network location". Unheilig Shibiraj Shibiraj 4 4 silver badges 9 9 bronze badges. Sharvin K Sharvin K 3 3 silver badges 10 10 bronze badges. Shawn J. Molloy 2, 3 3 gold badges 38 38 silver badges 57 57 bronze badges. Sign up or log in Sign up using Google.
Sign up using Facebook. Sign up using Email and Password. Post as a guest Name. Download Microsoft Edge More info. Contents Exit focus mode. Is this page helpful? Please rate your experience Yes No. Any additional feedback? Submit and view feedback for This product This page.
View all page feedback. In this article. Specifies there's no UI during the installation process, except for a final dialog box at the end.
While every MSI leans on a universal structure for sending commands to the Windows Installer, every installation is obviously different. Installing Adobe Acrobat, for example, requires an entirely different set of questions than does installing Microsoft Exchange.
This final switch identifies those specific characteristics that are unique to each MSI installation by name and value, and enables you to set them at the command line. So, for example, if you wanted to install the Adobe Flash Player to your desktop and had the correct MSI available, you might do so with the following syntax:. Where did that come from? As I mentioned earlier, each MSI has its own custom name and value pairs that answer questions the installation requires.
Those pairs might identify an install folder, or add a license key, or in this case instruct the installer to prevent a post-installation reboot. The hard part with these name and value pairs, as you can surmise, is in discovering what they actually are. One published method to do this requires downloading the Orca database editor from Microsoft. This database editor has the ability to peer into an MSI to identify its characteristics.
It can also edit those characteristics as a highly-advanced function, although doing so is an exceedingly complex activity. In fact, even getting the Orca software requires multiple steps. NET Framework 4. Once downloaded, install the SDK's debugging tools.
Double-click this file to install it to your management desktop. Once within Orca, you can open an MSI and peer around to locate its custom settings.
Remember that MSIs are above all big databases of content and configurations that apply files to disk drives and keys and values to registries.
Orca exposes these databases for what they really are. Inside every MSI is a table called Property. That table identifies all the properties that are tagged to an installation. The name and value pairs discussed above are in fact properties along with their values as seen in Orca. Its value defaults to Yes. For this one, change its value to No. Just about any property you see in this table can be adjusted at the command line as you execute msiexec to kick off an installation.
While this method is the comprehensive approach, it is also the time-consuming approach. Another alternative is to simply search the Internet for clues that others have found. A popular website that contains installation hints for many common software packages is www.
A growing number of software companies also recognize the need to provide silencing information about their installation packages. A second alternative is to find a software repackaging solution that handles much of this work for you.
These solutions incorporate a range of tactics to gather the necessary silencing and customization information with the goal of presenting it in meaningful ways. MSI packaging solutions can be found by many third-party companies with a range of price points and feature sets.
One final element of MSI installations merits discussion. This element consolidates a series of property changes and other MSI reconfigurations into a single file. An MST, or transforms file, is commonly used when an MSI's configuration database requires large scale changes to prepare itself for installation. Rather than requiring you to enter a long list of alterations at the command line, a transforms file consolidates changes into a single file that is invoked at the command line.
Creating your own transforms typically requires the use of a software.
0コメント