Where file extension msu windows 7 is unpacked. Types of installers and their keys for silent installation. How to tell if Install Shield was used to package the installer

Configuring UltraVNC Connecting to a server Installing and configuring an UltraVNC SC (Single Click) repeater - remote assistance without first installing an UltraVNC server
UltraVNC is a great remote assistance solution. The connection is made directly to the Windows console session, i.e. you always see on the screen what the user of the remote computer sees. Using the repeater utility (repeater), you can configure access to servers on a local network located behind a NAT router, while only one port needs to be forwarded on the router. It can also be used for presentations. The program is free. UltraVNC installation. First you need to download the distribution kit, drivers and repeater (if needed).
Official website of UltraVNC: http://www.uvnc.com/
Download section: http://www.uvnc.com/download/
At the time of writing, the latest version is 1.0.8.2 . You can only download the client. Both win32 and x64 versions are available.
Latest drivers from...

Setting up forwarding in IIS in pictures Download the URL Rewrite module and install itGo to IIS. Select the desired site. On the right, select " URL rewriting"In the window that opens, press RMB and select the item:" "In the window that opens, press RMB and select" Add an override schema". Enter a name for the scheme (any). The override scheme window will open. Next, RMB =>" Add Mapping Entry" and enter the source address and the destination address. Note: Source address must be relative and destination must be absolute Back to the window View Override Schemas". press RMB and select the item" Add rules"Choosing a Template" Rule with override schema"Install Rule action selection: Redirect. Select Override Schema: The schema you just created. We press OK. All is ready.

You must first install Lamp-server. Since Ubuntu 7.04, LAMP can be installed using Tasksel. To do this, you need to run the command: sudo tasksel install lamp-serverDuring installation, a password for the MySQL database administrator will be requested. Do not forget to install the php5-ldap php5-imap modules. sudo apt-get install php5-ldap php5-imapLdap module will start working immediately after restarting Apache ( sudo/etc/init.d/apache2 restart), but the imap module is disabled by default. Therefore, it must be enabled with the php5enmod imap command. I recommend that you also install phpMyAdmin Installing from a repositorysudo apt-get install glpi During installation, the database will be configured ( will ask for the MySQL administrator password and ask you to set a password for the glpi user).After that, a window will appear asking you to enter through the browser at http://host_name/glpiAfter clicking on this link, the glpi web interface will open. For the first login, use: Login: glpiPassword: glpi Manual installation(not tested on newer versions) For N…

Updates for the Windows operating system are released as packages with the extension MSU or CAB. In the event that the regular functionality of the Windows Update service (Windows Update) does not work (specially disabled), the cumulative updates or security updates necessary for the system can be downloaded and installed manually offline. In this article, we will show you how to download and install updates in MSU and CAB format in Windows 10.

Where to download the Windows Update MSU file

Microsoft initially releases its updates and patches in the format CAB file. It is in this form that your computer receives updates from Microsoft update servers or a local server. For more convenient manual distribution of individual updates by customers through the Microsoft Update Catalog, these CAB files are packaged in a special format MSU(Microsoft Update Standalone Package).

How to extract CAB file from MSU update package

In some cases, when the Windows Update service used by the wusa utility does not work correctly (try executing first), you cannot install the update in MSU format. In this case, you can manually unpack the MSU package, extract the update CAB file from it, and manually install it on the system.

To unpack the MSU package into the C:\Temp\kb4056887 directory (the directory must first be created), run the following command:

expand _f:* "C:\Temp\windows10.0-kb4056887-x64.msu" C:\Temp\kb4056887

Microsoft(R) File Expansion Utility Version 10.0.10011.16384
Copyright (c) Microsoft Corporation. All rights reserved.
Can't open input file: _f:*.
Adding C:\Temp\kb4056887\WSUSSCAN.cab to Extraction Queue
Adding C:\Temp\kb4056887\Windows10.0-KB4056887-x64.cab to Extraction Queue
Adding C:\Temp\kb4056887\Windows10.0-KB4056887-x64-pkgProperties.txt to Extraction Queue
Adding C:\Temp\kb4056887\Windows10.0-KB4056887-x64.xml to Extraction Queue
Expanding Files….
Expanding Files Complete…
4 files total.

As you can see, 4 types of files appeared in the directory:

  • .xml file (Windows10.0-KB4056887-x64.xml) - contains msu package metadata and is used by Wusa.exe
  • .cab file (Windows10.0-KB4056887-x64.cab - one or more) - directly the archive with the Windows update
  • *pkgProperties.txt file (Windows10.0-KB4056887-x64-pkgProperties.txt) - contains package properties (release date, architecture, package type, KB reference, etc.)

Installing the update cab file in Windows 10

There are two ways to install the update CAB file obtained from the MSU package.

The most universal way to install an update from a CAB file is the utility DISM.exe. The install command might be:

DISM.exe /Online /Add-Package /PackagePath:c:\Temp\kb4056887\Windows10.0-KB4056887-x64.cab

Deployment Image Servicing and Management tool
Version: 10.0.10240.16384
Image Version: 10.0.10240.16384
Processing 1 of 1 - Adding package Package_for_KB4056887~31bf3856ad364e35~amd64~~10.0.1.0
[==========================100.0%==========================]
The operation completed successfully.

Note. Notice how quickly the package is installed via DISM compared to the speed of installing the update from the MSU file.

If you want to install the CAB package in silent mode and suppress the prompt to restart the computer after installing the update, the DISM command will be:

start /wait DISM.exe /Online /Add-Package /PackagePath: c:\Temp\kb4056887\Windows10.0-KB4056887-x64.cab /Quiet /NoRestart

In Windows 8 and Windows 7, you can install the update through the package manager Pkgmgr. Team:
start /w Pkgmgr /ip /m:c:"c:\Temp\kb4056887\Windows10.0-KB4056887-x64.cab"

Note. In Windows 10 / Windows Server 2016, the PkgMgr.exe package manager is no longer supported. When you run it, you get a warning about the need to use DISM.exe to manage packages.

Note: The PkgMgr.exe has been deprecated. Please update your scripts to use dism.exe to extract, install, uninstall, configure and update features and packages for Windows.

Note. Note that Windows language packs (MUI) are also distributed in CAB format. However, you cannot use the DISM command to install them. Instead, you need to use a separate utility to install new languages ​​on your system. lpksetup.exe.

These instructions for manually installing cumulative (if you don't remember what it is, read the article about systems) and any other Windows updates apply to all supported OS versions: Windows 10 / 8.1 / 7 and Windows Server 2016 / 2012 / R2 / 2008 / R2 .

Recently, in the news about fresh cumulative updates, we began to give links where you can download .cab or .msu files of these assemblies. In this article we will understand why they are needed and how to use them.

What are CAB and MSU files

In Windows 10, there are several file formats that are used to update certain system components. It:

  • ESD files. They are an encrypted and highly compressed ISO image. Used to install major updates (assemblies in which not only the index changes, but also the main number). With their help, you can, for example,.
  • CAB or MSU files. They are, one might say, archives. Used to install minor updates - cumulative updates, security updates, Adobe Flash Player updates, and so on.

All mechanisms for working with these files are built into the system. It is them that the Update Center uses - it simply downloads the desired file, and then automatically does what is described in this instruction. The disadvantages of this approach are the inability to install any updates offline, which some users need from time to time.

I note right away that in Windows 10, the CAB or MSU file of some kind of cumulative update also contains all previous cumulative updates! There is no need to first, for example, install assembly 14393.187, then - .189, then - .222. It is enough to immediately install the latest package.

Where to download the Windows 10 update MSU file

How to install CAB and MSU

  1. Download the CAB or MSU file.
  2. Move it to a folder with some short path. That is, it is better that the path to the file be, for example, C:\CAB\update.cab, but not C:\Users\Public\Downloads\Folder\CAB Files\CabFile1\update.cab.

Installing the cab files

Installing MSU files

With them, everything is a little easier. They can be installed even by double-clicking on them. But there is a way to do this through the console.

Hello dear readers.
Today, as I promised you, I will tell you about the most popular tools that create software installers.
Many of them are very simple, so they can be used not only by programmers and software manufacturers, but also by those who want to assemble the installer with their own hands.
However, the assembly of installation packages is not the topic of this article, the topic of my article is: what main keys are supported by certain installers, how to use them, and how to determine which installer is used for a particular program.

InstallShield

I'll start with the most voluminous, most beloved by large commercial software developers. InstallShield is a powerful professional tool for creating reliable installation packages.

With the help of Project Assistant, the developer goes through all the stages of creating an installer step by step. No training is required, all the basic features of InstallShield X Express can be learned within less than one day. Full integration with the Visual Studio .NET development environment, support for .NET, Linux, Web services and mobile applications.

You can meet him very often in paid products, for example:

As a rule, such installers do not cause difficulties, it is enough to run them with the “S” key, and the program will be installed in silent mode.
Note: If the “wait” parameter does not work, try using the “SMS” key
Example:

Start /wait setup.exe /s /sms

How to tell if Install Shield was used to package the installer

We open the file properties, on the “Details” tab in the “Description” and “Original file name” items, as a rule, the value “setup.exe” will be indicated, and in the “Product Name”: “InstallShield”.
In addition, running such an installer for a normal installation, as a rule, you will encounter such words:
InstallShield Wizard
Welcome to InstallShield Wizard for xxxxxxx
The InstallShield(R) Wizard will install, etc.

Naturally, all this can be written in English.

Windows Installer Service (*.msi)

Well, what can I say about this ... Windows Installer Service (MSI) technology is the de facto standard in the world of system administrators involved in the distribution and support of software for desktop and server versions of Windows. The MSI format is supported by all major configuration management systems (Microsoft SCCM, CA Unicenter, and many others), and for some software distribution systems, it is even the only supported format.

All installers packaged with the Windows Installer have the “*.msi” extension.
Program examples:

This type of installer supports the following options for silent installation:
"qb" and "QN".
When using the "QB" key, the installation progress will be displayed, but no questions will be asked to the user, nor will the "Cancel" button be displayed.
Example:

Start setup.msi /qb

Next key: "qn"
When using this key, the installation process will be completely hidden. Installation progress will also not be displayed.
Example:

Start setup.msi /qn

It should be noted that some programs require a computer restart after installation. To avoid this, use the properties (REBOOT=ReallySuppress) by enclosing it in quotes along with the key.
Example:

Start setup.msi "/qb REBOOT=ReallySuppress"

Using the InstallShield *.msi extension

Starting with version 7, InstallShield can create files with the "*.msi" extension. they, in turn, can be separate files and in conjunction with setup.exe,
For example as OBI
The latter, in turn, are of two types:
"InstallScript MSI" and "Basic MSI". InstallScript MSI uses traditional InstallShield keys. Basic MSI is a separate interesting story.
To automatically install an application using the Basic MSI, you need to specify the "/s /v"…" switches. The ellipsis must be replaced with keys that must be passed directly to the Windows Installer (msiexec). In other words, if you want to install the application completely invisibly and avoid rebooting, then use this command

Start setup.exe /s /v"/qn REBOOT=ReallySuppress"

Windows Update Offline Installer *.msu

Due to the fact that this information is often required, I edited the article :-), adding the keys for *.msu to it as well.
msu are offline Windows update installers. Once you download updates, you can install them even without the Internet and you won’t have to download them again.
All of these installers have an *.msu extension and support the following command line switches.

/quiet - Quiet mode without user interaction. All windows will be hidden. If a reboot is required after the update, it will be done.

/norestart - Use this switch with quiet to avoid rebooting.

/warnrestart - When used with quiet, will warn that a restart will be performed.

/promptrestart - When used with quiet, you will be prompted to restart the computer.

/forcerestart - When used with quiet, a so-called force restart will be performed, i.e., all applications will be forcibly closed and the computer will restart.

/log - Specifies logging and the path to the log file.

Start c:\updates\kb3456246.msu /quiet /norestart /log:update.log

Inno Setup

An excellent, free tool for creating installers that supports scripts in the PASCAL language, is quite easy to learn and easy to use.
Inno setup can register libraries and ActiveX components, create encrypted installers, change the registry, and launch external applications, but this is only a small part of what Inno Setup can do, even too small….
It should be noted that the help system is quite well written and supported by numerous examples.

Inno Setup is not inferior to many systems for creating installers, and leaves some of them far behind in terms of convenience and capabilities, although it is free, in truth, I like it more than all those listed in this article, which helped me out many times.

Recently, Inno Setup has been increasingly used to create installation packages, not only by developers of free programs, but also by commercial products, for example:

Hmm, I signed it, I'll talk about the main thing.

Inno Setup supports two main keys for silent installation, they are "SILENT" and "VERYSILENT".
Example:

Start setup.exe /verysilent
Start setup.exe /silent

Sometimes there is a small problem: a window pops up asking if you want to continue the installation. To hide this window, use the "SP-" key.
Example:

Start setup.exe /VERYSILENT /SP-

How do I know if Inno Setup is being used to package a program?

Run the installer, in the window that opens, open the system menu (ALT + SPACE "Space")
Select "ABOUT Setup" or "About",
A window will open with the following text:
About Setup
Inno Setup version 5.4.0 (a)Copyright (C) 1997-2010 Jordan RussellPortions Copyright (C) 2000-2010 Martijn LaanAll rights reserved.Inno Setup home page:http://www.innosetup.com/RemObjects Pascal Script home page :http://www.remobjects.com/psInno Setup Preprocessor home page:http://ispp.sourceforge.net/
OK

Nullsoft Scriptable Install System (NSIS)

Nullsoft Scriptable Install System (NSIS) is a program designed for easy and fast creation of professional installation packages. The program allows software developers to create a compressed win32 exe file, with the ability to check its integrity. Has no limit on the number of files included in the distribution. Uninstall function is supported. Built-in own virtual machine turns this product into a full-fledged professional tool.
Examples:

Installers created with the free NSIS run with the “S” key.
Example:

Start setup.exe /S

Be careful, the key must be in uppercase, otherwise it may simply not work.
You can use the “D” key to specify the installation directory.
Example:

Start setup.exe /S /D=c:\myprogram

How to determine the use of NSIS

All installers created with NSIS have a very similar interface, study the installation process of Winamp carefully and you will be able to easily determine if NSIS is being used.

WISE Installer

After digging around on the Internet, here is what a beautiful description I found for him:
Wise for Windows Installer allows professional developers to quickly create reliable Microsoft packages using the latest Windows Installer technologies from Microsoft. The unique features of Wise for Windows Installer help both small and large development teams create installation packages for any type of platform, including workstations and handheld computers, application and web servers, and mobile devices Windows Mobile, Windows CE, Pocket PC, Microsoft . NET Compact Framework, Palm OS and smartphones.

The Wise Installation Studio program allows you to effortlessly create application installation packages for the Windows Vista operating system, 64-bit versions of Windows and the Windows Mobile 5 mobile platform. This package supports the Windows Installer (MicrosoftI) format, and also has its own format - WiseScript (. EXE).

Users will also be able to take advantage of the innovative Altiris Software Virtualization Solution technology implemented in Wise Installation Studio, which allows you to create virtual application archives (.VSA) and ensures that there are no conflicts between the products you install.

In addition, the new version of Wise Installation Studio integrates with Nalpeiron's PRO-Tector Standard package. This solution allows developers to create test versions of software products and provides reliable protection of intellectual property from illegal use.

But that's bad luck, it seems the project died ...
oh well, let's not talk about sad things ...

Installers created with WISE Installer accept the standard "S" key.
Example:

Start setup.exe /S

I don't know what type the installer is or I can't determine its type

In this case, use the "s" key, as a rule it works.
Example:

Start setup.exe /s

Manufacturers of software and drivers that provide a unique installer generally adhere to this standard.

Sometimes a situation arises when the cause of blue screens of death is the installation of the next update from Microsoft. It often happens that there is no time to figure out who is to blame, one of the driver developers (say antivirus), who didn’t take something into account, or did something wrong, or the Microsoft developers themselves, we just need to work in the system. There are several ways to uninstall installed updates.

Method 1: Uninstalling updates through the Add/Remove Programs snap-in

We go into the snap-in installation, remove programs, you can through the interface (Start / Control Panel / Add or Remove Programs), you can run appwiz.cpl through the command line. Select "View installed updates" on the left

There is an installation date column by which you can sort these updates and remove the one you need.

Method 2. Through the command line

Using the wusa command (only works for Windows 7, Server 2008 R2).

You need to run cmd.exe or far.exe with admin rights and execute

wusa /uninstall /kb:update id (where update id is the KB update number, for example wusa /uninstall /kb:2511250)

Method 3. Use wusa and the downloaded update

Download the required update from Microsoft Download Center and save it to some directory, for example c: emp. Run cmd.exe or far.exe with administrator rights and run the following command:

wusa /uninstall (full hotfix path)

For example:

wusa /uninstall C:TempWindows6.1-KB980302-x86.msu

Then the delete dialog box will appear.

Method 4: Use PKGMGR

1. You need to download the update you want to remove from Microsoft Download Center and save to some directory like c:emp.

2. Run cmd.exe or far.exe with administrator rights. Execute on command line

3.expand -f:* (update name).msu (destination folder)

The command will unpack the msu file and save the source files in the destination folder

4. Create another empty directory like c:emp123

5. Run the command

start /w pkgmgr /m: (full hotfix name).cab /up /s: c:emp123

Where full hotfix name is the destination folder from step 3

Removing service packs

A separate topic is the removal of service packs. For this you need:

1. Download the service pack you want to remove from Microsoft Download Center and save to some temporary directory like c:emp

2. Run cmd.exe or far.exe with the necessary administrator rights.

3. Run a command

(service pack name)/x: (destination folder)

For example,

C:TempWindows6.0-KB936330-X86.exe /x:C:Temp2

All service pack files will be extracted to c:emp2 directory

4. You must select a separate empty directory, for example c: emp3

5. You need to execute the command

start /w pkgmgr /m: (full service pack name).cab /up /s: c:emp3

Post Views: 535

CATEGORIES

POPULAR ARTICLES

2022 "minomin.ru" - A site about computers and working on the Internet