I want to install a specific Windows Update file (.msu) on a device which is running on Windows 7 embedded. The msu file is available and the automated installation is running the right commands, but I have a problem:
On the device, the Windows update service is disabled. This is a requirement from the device image, this service should not be activated (not even for the time of the installation). If I try to install the msu file without this service, an error occurs "The service cannot be started, either because it is disabled or ...".
My question is : Does anyone know a possibility to install a msu file without having the Windows Update Service enabled?
From comment:
Using DISM.exe works if the right command is used.
Additionally, it is important that MSU files cannot be installed using DISM.exe with /Online mode.
You have to unpack the msu file, the resulting *.cab file can then be installed using DISM.exe without enabled Windows update service. See How to use DISM to install a hotfix from within Windows
I'll quote the blog post here:
The purpose of this blog is to give you the steps to install a hotfix
(or any other “package”) on the currently running operating system
using the Deployment Image Servicing and Management (DISM) command.
...
The command-line switch to install a package is “/Add-Package.”
... the file name is “Windows6.1-KB976571-v2-x64.msu.”
... you would assume that following
syntax would work:
DISM.exe /Online /Add-Package /PackagePath:c:\kb976571\Windows6.1-KB976571-v2-x64.msu
You will see the following snippet if you review the file
c:\windows\logs\dism\dism.log:
...
2010-09-02 20:33:58, Error DISM DISM Package Manager: PID=7116
DISM does not support installing MSU files online. –
CMsuPackage::Install(hr:0x80070032)
...
The answer is found in defining what a Microsoft Update Standalone
Package (MSU) file is and how you would do this in the previous
command-line tool, Package Manager (Pkgmgr.exe).
You had to extract the contents of a MSU file and instead use the .CAB
file of the package in order to install or uninstall using the Package
Manager tool
(http://support.microsoft.com/default.aspx?scid=kb;EN-US;940410).
So try this approach:
...
Use the following command to extract the contents of the MSU file:
Expand –F:* c:\kb976571\Windows6.1-KB976571-v2-x64.msu c:\temp\976571
... multiple files, which included the Windows6.1-KB976571-v2-x64.cab
file.
Now try the following command:
...
DISM.exe /Online /Add-Package /PackagePath:c:\temp\976571\Windows6.1-KB976571-v2-x64.cab
... (or) ...
start /wait DISM.exe /Online /Add-Package /PackagePath:c:\temp\976571\Windows6.1-KB976571-v2-x64.cab /Quiet /NoRestart
Related
While I am trying to install MSU manually in the windows 2019 server, I am getting one error like
"The update is not applicable to your computer". Because some alternative KB has been installed already. So it's not allowed to install the MSU that I want to install. It's fine.
But when I am trying to install the same MSU through PowerShell by below mentioned PowerShell commend I am not getting any error log. I need a script to show the error log; if its any error. It has to skip this MSU installation. Experts please help me one this. I am looking forward to hear from you.
Start-Process -FilePath "$env:SystemRoot\System32\wusa.exe" -ArgumentList "C:\MicrosoftEdge_KB\windows10.0-kb4520062-x64.msu /quiet /norestart" -Wait
I am trying to find information about running the exe installer at OpenLDAP for Windows. The forum has little info and the installation documentation only describes the UI based install.
It seems like the exe is wrapping 2 msi files: The main installation msi and the kerberos msi.
To get them I used 7zip to extract the OpenLDAPforWindows_x64.exe installer. I then copied and renamed the folloinwg following files:
OpenLDAPforWindows_x64\.rsrc\BIN\229 -> OpenLDAPforWindows_2.4.42_x64.msi
OpenLDAPforWindows_x64\.rsrc\BIN\231 -> kfw-4.0.1-amd64.msi
I can then call each of them separately from the command line.
For example to call the kerberos installer with logging (allows to get the properties that can get passed to the installer when running it silently, eg: KERBEROSDIR):
msiexec /i kfw-4.0.1-amd64.msi /log kerberos_inst.log
To call the OpenLDAP installer silently while setting a custom install directory:
msiexec /i OpenLDAPforWindows_2.4.42_x64.msi /qn /log openldapd_inst.log INSTALLLOCATION="F:\CustomOpenLdap\"
I'm trying to install the package of Microsoft Visual C++ Redistributable as my xampp apache module cannot be installed. The installation take a very long time to complete. What should I do? Is this common and is all I have to do is wait?
They are dead stuck with this setup progress as the indication
Processing: Windows7_MSU_X64
To install the Visual C++ 2015 Redistributable, you do not need to remove or uninstall the previous versions.
Refer to the error message, you can have a look at the installation log file and search ‘error’, if you can find the error message about Windows6.1-KB2999226-x64.msu, check this similar issue and have a try with the following to troubleshot this issue:
Download the update KB2999226 for your OS edition from here: Update for Universal C Runtime in Windows and before it, since your OS is windows 7, make sure SP1 is installed.
Manually install the KB2999226 as below:
Find the Windows6.1-KB2999226-x64.msu from the folder C:\ProgramData\Package Cache\xxxxx\packages\Patch\x64, which you can the path from the installation log
Create a folder named ‘XXXX’ in that and execute following commands from Admin command prompt
wusa.exe Windows6.1-KB2999226-x64.msu /extract:XXXX
DISM.exe /Online /Add-Package /PackagePath:XXXX\Windows6.1-KB2999226-x64.cab
vc_redist.x64.exe /repair
If you have no idea about the installation log, you can go to %temp% and order by ‘Date modified’, then you should find the installation log, or you can use http://aka.ms/vscollect to gather the installation logs. After using it, you will find vslogs.zip under %temp% folder then upload the file to https://onedrive.live.com/ and share the link here.
I first tried a clean boot and that didn't work so I opened up the task manager to see what other processes I might kill while it was stuck at "Processing: Windows7_MSU_X64" I killed the process titled "windows update standalone installer" and the install completed successfully the moment I killed that process.
Okay, I found the solution for my stucked installation. I updated my Windows manually using wsusoffline tools as my Windows can't seem to update with the usual ways.
Install wsusoffline and select all update for Windows (Windows 7 for me). Make sure to choose the folder to save your update.
Wait for the update to be downloaded
Install the update
Install the MV C++ Redistributable again
Done!
I finally can install my Xampp Apache module and access to the localhost.
I'd like to install the Visual Studio 2013 Update 4 Remote Tools on a Windows 2012R2 Server running IIS 8.5. This is a pretty simple process outlined here: https://msdn.microsoft.com/en-us/library/bt727f1t.aspx
The problem I have is that the server I'm trying to installing this on is a Server Core, meaning, there is no GUI. The Remote Tools application is an exe that only installs via GUI.
I've tried to install it with PowerShell and it just hangs. I'm also not able to find the Remote Tools in Web Platform Installer to install it that way. Extensive Googling has turned up nothing.
Does anyone know how to install the Visual Studio Remote Tools on a Server Core so that I can debug on my DEV server? Any advice is appreciated.
Create a .bat file and enter the below. (not PowerShell) (Or just at the command line.)
rtools_setup_x64.exe" /install /quiet
word...
You don't have to install remote tools. Just copy msvsmon.exe, from your local Visual Studio installation. Then start it from remote powershell silently:
Start-Process -FilePath .\msvsmon.exe -ArgumentList '/nosecuritywarn /port:4022 /silent' -Verb runAs
Don't forget to open firewall port.
Turns out that you can simply remote into the Core server. When you do so, you'll get a command prompt only. From there, CD to the directory where the remote tools install file is. Execute the file by typing the file name at the command prompt, ie: rtools_setup_x64.exe.
This will run the installer, with a GUI, on the Core server. Its that simple, I didn't think you'd be able to get the install wizard on a Core server, however you do.
When I am installing SQL Server 2008 R2 on Windows 8.1 there was an error saying download and install .net framework 3.5 (including 2.0 and 1.0)
And when I'm trying to install .net framework 3.5 from command prompt with following command,
C:\Windows\system32>DISM /Online /Enable-Feature /FeatureName:NetFx3 /All
/Limit Access /Source:c:\Windows\Logs\DISM\dism.log
I got the error
Deployment Image Servicing and Management tool
Version: 6.3.9600.16384
Image Version: 6.3.9600.16384
Enabling feature(s)
[===========================65.8%====== ]
Error: 0x800f081f
The source files could not be found.
Use the "Source" option to specify the location of the files that are required to restore the feature. For more information on specifying a source location, see http://go.microsoft.com/fwlink/?LinkId=243077.
Please help me.......
.NET framework 3.5 and 4.5 are parts of windows 8. so you have to add it using the windows features as described below :
go to your control panel -> Programs and features -> Turn windows features on or off
tick the check box .NET framework 3.5
some time the two KB not show up. the only way to uninstall those two KB is download tools from https://support.microsoft.com/en-us/kb/3005628
after remove those two KB. the 0x800f081f will gone.
In my case I had to update with latest patches (optionals also) the Operating System.
Then I added the W2012 dvd to disk D
And finally run the command (as administrator):
dism /online /enable-feature /featurename:NetFX3 /all /Source:D:\sources\sxs /LimitAccess