The Definitive Guide to Windows Installer Technology for System

Total Page:16

File Type:pdf, Size:1020Kb

The Definitive Guide to Windows Installer Technology for System The Definitive Guidetmtm To Windows Installer Technology for System Administrators Darwin Sanoy and Jeremy Moskowitz Introduction Introduction to Realtimepublishers by Sean Daily, Series Editor The book you are about to enjoy represents an entirely new modality of publishing and a major first in the industry. The founding concept behind Realtimepublishers.com is the idea of providing readers with high-quality books about today’s most critical technology topics—at no cost to the reader. Although this feat may sound difficult to achieve, it is made possible through the vision and generosity of a corporate sponsor who agrees to bear the book’s production expenses and host the book on its Web site for the benefit of its Web site visitors. It should be pointed out that the free nature of these publications does not in any way diminish their quality. Without reservation, I can tell you that the book that you’re now reading is the equivalent of any similar printed book you might find at your local bookstore—with the notable exception that it won’t cost you $30 to $80. The Realtimepublishers publishing model also provides other significant benefits. For example, the electronic nature of this book makes activities such as chapter updates and additions or the release of a new edition possible in a far shorter timeframe than is the case with conventional printed books. Because we publish our titles in “real-time”—that is, as chapters are written or revised by the author—you benefit from receiving the information immediately rather than having to wait months or years to receive a complete product. Finally, I’d like to note that our books are by no means paid advertisements for the sponsor. Realtimepublishers is an independent publishing company and maintains, by written agreement with the sponsor, 100 percent editorial control over the content of our titles. It is my opinion that this system of content delivery not only is of immeasurable value to readers but also will hold a significant place in the future of publishing. As the founder of Realtimepublishers, my raison d’être is to create “dream team” projects—that is, to locate and work only with the industry’s leading authors and sponsors, and publish books that help readers do their everyday jobs. To that end, I encourage and welcome your feedback on this or any other book in the Realtimepublishers.com series. If you would like to submit a comment, question, or suggestion, please send an email to [email protected], leave feedback on our Web site at http://www.realtimepublishers.com, or call us at 800-509- 0532 ext. 110. Thanks for reading, and enjoy! Sean Daily Founder & Series Editor Realtimepublishers.com, Inc. i Table of Contents Introduction to Realtimepublishers.................................................................................................. i Chapter 1: Meet Windows Installer: Introduction, Features, and Benefits......................................1 Defining the Need for Windows Installer........................................................................................1 Saved Time and Effort Through Automated Installs...........................................................1 Application and Operating System Stability........................................................................2 The Benefits of Windows Installer and MSI .......................................................................4 Your First Windows Installer Encounter .............................................................................6 Windows Installer Version Numbers...............................................................................................9 What Is Your Windows Installer Version Number?............................................................9 The Internals of Version Numbers.....................................................................................10 Windows Installer Version 2.0 ..........................................................................................10 Windows’ Relationship to Windows Installer...............................................................................12 Windows Installer on Downlevel Clients ..........................................................................13 MSI File Foundations ....................................................................................................................13 Setup or MSI? ....................................................................................................................13 Base Installations, Transforms, and Patches..................................................................................14 Base Installations ...............................................................................................................14 Transforms .........................................................................................................................15 Vendor-Supplied Transform-Generation Tools.....................................................16 Third-Party Transform-Generation Tools..............................................................17 Executing MSIs with Transforms ..........................................................................19 Patches ...............................................................................................................................19 Roadmap for the Rest of the Text..................................................................................................20 Chapter 2: MSI Tools Roundup.....................................................................................................21 Basics of the Repackaging Approach ............................................................................................22 Microsoft’s Offerings.....................................................................................................................22 WinInstall LE.....................................................................................................................23 WinInstall LE Operation........................................................................................23 SMS Installer .....................................................................................................................25 The SMS Installer Repackage Installation Wizard Tool .......................................26 The SMS Installer Watch Tool ..............................................................................27 ii Table of Contents The SMS Installer Script Editor.............................................................................28 Creating MSI Files with the SMS Installer............................................................30 Commercial Third-Party MSI Tools..............................................................................................33 Commercial Third-Party Tools at a Glance.......................................................................33 Wise Package Studio..........................................................................................................34 AdminStudio 3.5................................................................................................................38 Prism Pack .........................................................................................................................40 Added Functionality...........................................................................................................42 Wise Package Studio 4.0 Repackaging Innovations..............................................42 AdminStudio 3.5 Repackaging Innovations ..........................................................43 Shareware and Freeware Third-Party Tools ..................................................................................43 Summary........................................................................................................................................44 Chapter 3: Windows Installer Internals .........................................................................................45 Application Management Meta Data.............................................................................................45 MSI File Format.............................................................................................................................46 Three Streams ....................................................................................................................46 The Database......................................................................................................................46 “Open” File Format............................................................................................................48 How Packages Describe Software Applications and Installation Procedures ...............................48 Software Application Information .....................................................................................49 Identification in Windows Installer .......................................................................49 Component Structure and Attributes .................................................................................50 Component Name ..................................................................................................51 Component Codes..................................................................................................52 Keypaths ................................................................................................................52
Recommended publications
  • Teradici Remote Workstation Card Agent for Windows
    Teradici PCoIP Remote Workstation Card Agent for Windows Documentation Teradici PCoIP Remote Workstation Card Agent for Windows Documentation This documentation is intended for administrators who are installing the Remote Workstation Card Agent for Windows as part of a Teradici Remote Workstation Card system. It assumes thorough knowledge of conventions and networking concepts, including firewall configuration. Although many agent features and settings can be configured using the Windows user interface, some administrative tasks require use of Windows command line tools. Users should be familiar with both cmd and PowerShell. About the PCoIP Remote Workstation Card Agent for Windows The PCoIP Remote Workstation Card Agent for Windows introduces Teradici brokering to a Teradici Remote Workstation Card deployment, allowing the desktop to be managed by Teradici Cloud Access Manager or by third-party brokers like Leostream. A complete PCoIP Remote Workstation Card deployment includes these components: • A physical host machine, which provides the desktop to remote clients. See System Requirements for more information. • A PCoIP Remote Workstation Card installed on the host machine. • The PCoIP Remote Workstation Card software for Windows installed on the host machine. • The Remote Workstation Card Agent for Windows installed on the host machine. About PCoIP Licensing When the Remote Workstation Card Agent for Windows is installed, the Remote Workstation Card can be licensed using a Remote Workstation Card license. With this flexibility, you can
    [Show full text]
  • Guide to Hardening Windows 10 Technical Guide
    NOVEMBER 2020 Guide to Hardening Windows 10 For Administrators, Developers and Office Workers TABLE OF CONTENTS Introduction .......................................................................................................................... 4 Prerequisites ............................................................................................................................ 4 User roles ................................................................................................................................. 4 EFI (BIOS) Configuration ...................................................................................................... 5 To be enabled: ......................................................................................................................... 5 To be disabled: ......................................................................................................................... 5 Windows Defender Firewall .................................................................................................. 6 Enable logging of dropped packets ............................................................................................. 6 Disable enforcement of local rules and disable notifications .......................................................... 7 Block outbound connections by default ....................................................................................... 8 Secure potentially vulnerable protocols ......................................................................................
    [Show full text]
  • List of TCP and UDP Port Numbers
    List of TCP and UDP port numbers From Wikipedia, the free encyclopedia Jump to: navigation, search This is a list of Internet socket port numbers used by protocols of the Transport Layer of the Internet Protocol Suite for the establishment of host-to-host communications. Originally, these port numbers were used by the Transmission Control Protocol (TCP) and the User Datagram Protocol (UDP), but are used also for the Stream Control Transmission Protocol (SCTP), and the Datagram Congestion Control Protocol (DCCP). SCTP and DCCP services usually use a port number that matches the service of the corresponding TCP or UDP implementation if they exist. The Internet Assigned Numbers Authority (IANA) is responsible for maintaining the official assignments of port numbers for specific uses.[1] However, many unofficial uses of both well- known and registered port numbers occur in practice. Contents [hide] y 1 Table legend y 2 Well-known ports: 0±1023 y 3 Registered ports: 1024±49151 y 4 Dynamic, private or ephemeral ports: 49152±65535 y 5 See also y 6 References y 7 External links [edit] Table legend Color coding of table entries Official Port/application combination is registered with IANA Unofficial Port/application combination is not registered with IANA Conflict Port is in use for multiple applications [edit] Well-known ports: 0±1023 The port numbers in the range from 0 to 1023 are the well-known ports. They are used by system processes that provide widely-used types of network services. On Unix-like operating systems, a process must execute with superuser privileges to be able to bind a network socket to an IP address using one of the well-known ports.
    [Show full text]
  • A Dll Required for This Install Could Not Be Run
    A Dll Required For This Install Could Not Be Run Foldable Hannibal saunter anticipatorily and respectably, she reseat her wentletrap overlaid retractively. Which Arne igniting butso cheap berrying that her Dickie instruments triturated flying. her tanists? Analyzed Giovanne still encyst: salt and Circassian Whitby outface quite fervently This product was an option, microsoft distributed dll required dll for could not a install the problem for fixing the table doe Will not a install could be run this dll required for what is solved by multiple rows into boot. How to resolve my case, code and performance cookies and this dll for install a could not be run in. Any solution is required actions, hardware failure and be. If he're running Windows installation as the repair source or sale you're using Windows from a. Thank you for safe prompt response. A DLL required for this installation to complete could not be run. Does this solution from your pc scan with windows installer on target system is this tool in any proposed solutions to use windows updates about how did run a this dll required for could not install be. Reddit on the respective owners in this dll for a required. Set properties are you hate cookies may not a install be run this dll required for instant savings! Could not initialized handler. Your pc and framework, dll could not be able to customize it? Qgis also for this issue, dll required for could not a install it is a time i run. Fix problems installing Chrome Google Chrome Help.
    [Show full text]
  • BVMS - Deployment Guide
    BVMS - Deployment guide Author: Verhaeg Mario (BT-VS/PAS4-MKP) Date: 30 July, 2020 BVMS - Deployment guide 2 of 16 1 Document information 3 1.1 Version history 3 2 Introduction 4 2.1 General 4 3 BVMS Functionality 5 4 System requirements 7 5 Content of the installation package 8 6 Setup process 9 6.1 Installation of the logbook 9 6.2 Firewall configuration 10 6.3 Repair / Modify / Remove 10 6.4 No-touch deployment package 10 7 Patches 11 8 Languages 12 9 Logfiles 13 10 Commandline options 14 11 Examples 16 Copyright Robert Bosch GmbH. All rights reserved, also regarding any disposal, exploration, reproduction, editing, distribution, as well as in the event of applications for industrial property rights. BVMS - Deployment guide 3 of 16 1 Document information Project BVMS 10.1 Reference n/a Version 18 Last modified 30 July 2020 1.1 Version history Date Version Description 2020-02-18 BVMS 10.0.1 Added automatic firewall configuration. 2020-07-21 BVMS 10.1 Updated VC++ runtimes Updated .NET framework version Copyright Robert Bosch GmbH. All rights reserved, also regarding any disposal, exploration, reproduction, editing, distribution, as well as in the event of applications for industrial property rights. BVMS - Deployment guide 4 of 16 2 Introduction This document describes the installation package for BVMS and is version independent. Operating system support of the specific BVMS version is listed in the BVMS release notes. 2.1 General The BVMS installation package is distributed by ZIP file from our product download web page and comes with all components that are required to deploy the BVMS on the target system.
    [Show full text]
  • Installshield Setup.Exe Command-Line Parameters
    InstallShield Setup.exe Command-Line Parameters InstallShield setup.exe files can accept a number of command-line parameters. Using these parameters, administrators can specify details like where to install, if it should reboot the system, or what (if anything) should be displayed during installation. Command-line options that require a parameter must be specified with no space between the option and its parameter. Quotation marks around an option's parameter are required only if the parameter contains spaces. Several of the command-line options apply only to MSI projects or InstallScript projects. What is the difference? InstallScript MSI setups are Windows Installer setups driven by InstallScript, whereas InstallScript setups are written purely in InstallShield Script. This is often revered to as a “legacy setup”. Setup.exe accepts the following command-line parameters regardless of if it is an InstallScript or InstallScript MSI project. Parameter Action InstallScript InstallScript MSI Supported? Supported? /uninst Uninstalls the product Setup.exe /uninst /removeonly Also uninstalls the product, but depending upon how authored it may display the welcome/maintenance dialog Setup.exe /removeonly /r Record the installation to create an ISS answer file which may be used in a silent installation command Setup.exe /r Setup.exe /r /f1”c:\temp\my-answer-file.iss” /s Run the setup silently using a previously created ISS answer file (with the /r parameter). Setup.exe /s Setup.exe /s /SMS Setup.exe /s /f1”c:\temp\my-answer-file.iss” Setup.exe /s /f1”c:\temp\my-answer-file.iss” /f2”c:\temp\my-log-file.iss” /f1 Specifies an alternative response file name and path; by default /s will look for setup.iss in the same directory as the setup executable and /r will create setup.iss in the Windows directory (%windir%).
    [Show full text]
  • Manual Local Installation from the Command Line
    Barracuda Web Security Agent Manual Local Installation from the Command Line https://campus.barracuda.com/doc/6160390/ Local installation from the command line on the remote PC follows the same procedure as Installation using a Windows GPO form the Command Line without using a GPO. You can simply execute a one- line command with options and arguments as shown below to immediately install the Barracuda WSA on the remote computer. To manually install the Barracuda WSA, at the command line, type something like the following, all on one line. Examples using the .msi and .exe setup files follow. BarracudaWSASetup.exe /s /v" /qb SERVICE_MODE=2 SERVICE_URL=10.1.0.51 SERVICE_PORT=8280 WD=1 Table 1. Command line examples with EXE installer File Example command (type all on one line) Comments Type BarracudaWSASetup.exe /s /v” /qb SERVICE_MODE=1 /qb: Shows the basic web .exe AUTH_KEY=11111111111111 interface installation boxes. SERVICE_URL=ple1.proxy.purewire.com SERVICE_PORT=8080 /qn: Doesn’t show web BarracudaWSASetup.exe /s /v” /qn /lvmo SERVICE_MODE=1 interface installation boxes. AUTH_KEY=11111111111111 /lvmo denotes level of SERVICE_URL=ple1.proxy.purewire.com SERVICE_PORT=8080 logging.(1) /qn: Doesn’t show web BarracudaWSASetup.exe /s /v” /qn SERVICE_MODE=1 interface installation boxes. AUTH_KEY=11111111111111 USER_MODE=1: Doesn’t SERVICE_URL=ple1.proxy.purewire.com SERVICE_PORT=8080 show the icon in system tray USER_MODE=1 (silent operation). /qn: Doesn’t show web interface installation boxes. BarracudaWSASetup.exe /v” /qn SERVICE_MODE=1 Removing /s makes the AUTH_KEY=11111111111111 InstallShield Wizard come up SERVICE_URL=ple1.proxy.purewire.com SERVICE_PORT=8080 and show the “preparing to install” process.
    [Show full text]
  • Performing Silent Installations and Uninstallations
    AdminStudio Tips & Tricks Performing Silent Installations and Uninstallations By Robert Dickau Principal Technical Training Writer Abstract A silent, or unattended, installation is one that displays no feedback to the end user. This article provides an overview of how to perform silent installation and uninstallation of products installed with Windows Installer-based installers. Please note: This article also includes information on how to perform silent installation and uninstallation of InstallScript-based installers, although it is strongly recommended that you repackage InstallScript-based installers into MSIs before deploying them to your environment. Windows Installer (MSI) Installations Part of every Windows Installer-based installation is the MSI database. (In your repackaging settings in AdminStudio, you can specify whether data files should be compressed within the MSI database or stored externally to it as compressed cabinet files or an uncompressed directory structure.) The Windows command-line executable for processing MSI databases is msiexec.exe, which is located in a target system's System folder. To see a list of command- line switches supported by the Windows Installer executable, you can enter the command msiexec in a Command Prompt window or the Run box. The following figure shows the help window for a recent version of the Windows Installer engine. ©2008 Acresso Software Inc. and/or InstallShield Co. Inc. All rights reserved. 1 of 6 AS_SilentInstalls_Sep08 AdminStudio Tips & Tricks As described in the msiexec.exe help message, you can use the /i switch to perform an installation. A typical command for performing an installation is the following: msiexec /i SampleApp.msi This is the same command used by the operating system when a user double-clicks an MSI file icon.
    [Show full text]
  • Planning for Internet Explorer and the IEAK
    02_Inst.fm Page 15 Monday, October 16, 2000 9:40 AM TWO 2Chapter 2 Planning for Internet Explorer and the IEAK LChapter Syllabus In this chapter, we will look at material covered in the Planning section of Microsoft’s Implementing MCSE 2.1 Addressing Technical Needs, Rules, and Policies and Supporting Microsoft Internet Explorer 5 by using the Internet Explorer Administration Kit exam MCSE 2.2 Planning for Custom (70-080). After reading this chapter, you should be Installations and Settings able to: MCSE 2.3 Providing Multiple • Identify and evaluate the technical needs of business Language Support units, such as Internet Service Providers (ISPs), con- tent providers, and corporate administrators. MCSE 2.4 Providing Multiple Platform Support • Design solutions based on organizational rules and policies for ISPs, content providers, and corporate MCSE 2.5 Developing Security Strategies administrators. • Evaluate which components to include in a custom- MCSE 2.6 Configuring for Offline ized Internet Explorer installation package for a given Viewing deployment scenario. MCSE 2.7 Replacing Other Browsers • Develop appropriate security strategies for using Internet Explorer at various sites, including public MCSE 2.8 Developing CMAK kiosks, general business sites, single-task-based sites, Strategies and intranet-only sites. 15 02_Inst.fm Page 16 Monday, October 16, 2000 9:40 AM 16 Chapter 2 • Planning for Internet Explorer and the IEAK • Configure offline viewing for various types of users, including gen- eral business users, single-task users, and mobile users. • Develop strategies for replacing other Internet browsers, such as Netscape Navigator and previous versions of Internet Explorer. • Decide which custom settings to configure for Microsoft Outlook Express for a given scenario.
    [Show full text]
  • MICROSOFT WINDOWS Early Versions Main Articles: Windows 1.0
    MICROSOFT WINDOWS Early versions Main articles: Windows 1.0, Windows 2.0, and Windows 2.1x Windows 1.0, the first version, released in 1985 The history of Windows dates back to September 1981, when Chase Bishop, a computer scientist, designed the first model of an electronic device and project "Interface Manager" was started. It was announced in November 1983 (after the Apple Lisa, but before the Macintosh) under the name "Windows", but Windows 1.0 was not released until November 1985.[5] Windows 1.0 achieved little popularity and was to compete with Apple's own operating system. Windows 1.0 is not a complete operating system; rather, it extends MS-DOS. The shell of Windows 1.0 is a program known as the MS- DOS Executive. Components included Calculator, Calendar, Cardfile, Clipboard viewer, Clock, Control Panel, Notepad, Paint, Reversi, Terminal and Write. Windows 1.0 does not allow overlapping windows. Instead all windows are tiled. Only modal dialog boxes may appear over other windows. Windows 2.0 was released in December 1987 and was more popular than its predecessor. It features several improvements to the user interface and memory management.[citation needed] Windows 2.03 changed the OS from tiled windows to overlapping windows. The result of this change led to Apple Computer filing a suit against Microsoft alleging infringement on Apple's copyrights.[6][7] Windows 2.0 also introduced more sophisticated keyboard shortcuts and could make use of expanded memory. Windows 2.1 was released in two different versions: Windows/286 and Windows/386. Windows/386 uses the virtual 8086 mode of Intel 80386 to multitask several DOS programs and the paged memory model to emulate expanded memory using available extended memory.
    [Show full text]
  • Vista General
    SVRRETIRO.ELRETIROCC.LOCAL Remote Computer Audit :: 19/02/2015 10:04:10 Vista General Item Value Computer Name SVRRETIRO Domain Name ELRETIROCC Site Name Default-First-Site-Name Roles Workstation, Server, SQL Server, Primary Domain Controller Description Operating System Microsoft Windows 2008 R2 Server Standard (full installation) 64-bit Manufacturer HP Model ProLiant ML350 G6 Serial Number MXQ2170303 Asset Tag Number Of Processors 1 Processor Description Intel(R) Xeon(R) CPU E5645 @ 2.40GHz Total Memory 6144MB Total Hard Drive 2379GB Display 1600 x 900 pixels, 65536 colours BIOS Version HP - 2 User Account administrador System Uptime 14 Days, 19 Hours, 26 Minutes Local Time 2015-02-19 10:03:48 19/02/2015 10:05:41 1/110 SVRRETIRO.ELRETIROCC.LOCAL Top Software instalado Active Setup Name Version Installed .NET Framework 2,0,50727,0 .NET Framework 2,0,50727,1 .NET Framework 2,0,50727,1 .NET Framework 2,0,50727,1 .NET Framework 2,0,50727,1 .NET Framework 4,0,30319,0 .NET Framework 4,0,30319,0 19/02/2015 10:05:41 2/110 SVRRETIRO.ELRETIROCC.LOCAL Active Directory Service Interface 5,0,00,0 Yes Address Book 7 6,1,7601,17514 Yes Applying Enhanced Security Configuration 8,0,7100,0 Yes Applying Enhanced Security Configuration 8,0,7100,0 Yes Browsing Enhancements 11,0,9600,17501 Yes DirectDrawEx 4,71,1113,0 Yes Dynamic HTML Data Binding 11,0,9600,17501 Yes Google Chrome 24,0,0,0 Yes HTML Help 6,3,9600,17501 Yes Internet Explorer Core Fonts 11,0,9600,0 Yes Internet Explorer Help 11,0,9600,17501 Yes Internet Explorer Setup Tools 11,0,9600,17501
    [Show full text]
  • List of TCP and UDP Port Numbers
    List of TCP and UDP port numbers From Wikipedia, the free encyclopedia Jump to: navigation, search In computer networking, the protocols of the Transport Layer of the Internet Protocol Suite, most notably the Transmission Control Protocol (TCP) and the User Datagram Protocol (UDP), but also other protocols, use a numerical identifier for the data structures of the endpoints for host-to- host communications. Such an endpoint is known as a port and the identifier is the port number. The Internet Assigned Numbers Authority (IANA) is responsible for maintaining the official assignments of port numbers for specific uses.[1] Contents [hide] y 1 Table legend y 2 Well-known ports: 0±1023 y 3 Registered ports: 1024±49151 y 4 Dynamic, private or ephemeral ports: 49152±65535 y 5 See also y 6 References y 7 External links [edit] Table legend Color coding of table entries Official Port/application combination is registered with IANA Unofficial Port/application combination is not registered with IANA Conflict Port is in use for multiple applications [edit] Well-known ports: 0±1023 According to IANA "The Well Known Ports are assigned by the IANA and on most systems can only be used by system (or root) processes or by programs executed by privileged users. Ports are used in the TCP [RFC793] to name the ends of logical connections which carry long term conversations. For the purpose of providing services to unknown callers, a service contact port is defined. This list specifies the port used by the server process as its contact port. The contact port is sometimes called the well-known port."[1] Port TCP UDP Description Status 0 UDP Reserved Official When running a server on port 0, the system will run it on a random 0 TCP UDP port from 1-65535 or 1024-65535 depending on the privileges of Official the user.
    [Show full text]