Grope For Luna Posted January 15, 2009 Posted January 15, 2009 Has anyone had success preinstalling packages to Server 2008 R2, specifically DesktopExperience? Everything seems to work, no errors, but when I install the image to VMWare, Desktop Experience (and the other packages I preinstalled) isn't installed and it isn't even in the list of features. I did a search for wmplayer in the VMWare system and the files are in WinSxS so they are stored in the image. I'm using the new beta WAIK for Win 7 and 2008 Server R2.<?xml version="1.0" encoding="utf-8"?><unattend xmlns="urn:schemas-microsoft-com:unattend"> <servicing> <package action="configure" permanence="permanent"> <assemblyIdentity name="Microsoft-Windows-Foundation-Package" version="6.1.7000.0" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="" /> <selection name="WirelessNetworking" state="true" /> <selection name="InkSupport" state="true" /> <selection name="HandwritingRecognition" state="true" /> <selection name="DesktopExperience" state="true" /> <selection name="SearchEngine-Server-Package" state="true" /> <selection name="WindowsServerBackup" state="true" /> <selection name="WindowsServerBackupCommandlet" state="true" /> <selection name="NetFx3" state="true" /> </package> </servicing> <cpi:offlineImage cpi:source="wim:E:/server08/sources/install.wim#Windows 7 SERVERSTANDARD" xmlns:cpi="urn:schemas-microsoft-com:cpi" /></unattend>
aviv00 Posted January 15, 2009 Author Posted January 15, 2009 i used dism and preinstall first InkSupport and then desktop xp
Grope For Luna Posted January 15, 2009 Posted January 15, 2009 i used dism and preinstall first InkSupport and then desktop xpI still use the pkgmgr commands which call dism. I assume it works the same way. What do you use to regenerate the catalog? Image manager or dism? I usually get an error when I load the wim into the Image Manager:and sometimes I don't, but the install still doesn't work. Desktop Experience wasn't installed and it wasn't in the list of available features.I used the guide by 7bingo7 and the tool by wnuku and everything seemed to work fine with no reported errors. I did notice this in the logs however:2009-01-14 23:40:10, Info CBS Appl: detect Parent, Package: Microsoft-Windows-MediaPlayer-Package~31bf3856ad364e35~amd64~en-US~6.1.7000.0, Parent: Microsoft-Windows-MediaPlayer-Package~31bf3856ad364e35~amd64~~6.1.7000.0, Disposition = Detect, VersionComp: EQ, ServiceComp: GE, BuildComp: GE, DistributionComp: GE, RevisionComp: GE, Exist: present2009-01-14 23:40:10, Info CBS Appl: detectParent: package: Microsoft-Windows-MediaPlayer-Package~31bf3856ad364e35~amd64~en-US~6.1.7000.0, parent found: Microsoft-Windows-MediaPlayer-Package~31bf3856ad364e35~amd64~~6.1.7000.0, state: Absent2009-01-14 23:40:10, Info CBS Appl: detect Parent, Package: Microsoft-Windows-MediaPlayer-Package~31bf3856ad364e35~amd64~en-US~6.1.7000.0, disposition state from detectParent: Absent2009-01-14 23:40:10, Info CBS Appl: Evaluating package applicability for package Microsoft-Windows-MediaPlayer-Package~31bf3856ad364e35~amd64~en-US~6.1.7000.0, applicable state: Absent2009-01-14 23:40:10, Info CBS Plan: Skipping package since its start state and target state are both absent for package: Microsoft-Windows-MediaPlayer-Package~31bf3856ad364e35~amd64~en-US~6.1.7000.0, current: Staged, pending: Staged, start: Absent, applicable: Absent, targeted: Absent, limit: AbsentThere were "skipping package" entries for all the features i was trying to preinstall. I just managed to load the WIM into Image Manager again and I can't see any of my "preinstalled" features in the list of features. It's almost as if the "preinstalling" process is actually removing them.
aviv00 Posted January 15, 2009 Author Posted January 15, 2009 (edited) DISM.exe /Image:C:\work\wimmount /Enable-Feature /FeatureName:%1echo %ERRORLEVEL% %ERRORLEVEL% %ERRORLEVEL% %ERRORLEVEL% %ERRORLEVEL% %ERRORLEVEL%replace the %1 with the InkSupport and then desktop xpdont use the old pkgmgr but u could use the old wimfilter to mount the wim file Edited January 15, 2009 by aviv00
Grope For Luna Posted January 17, 2009 Posted January 17, 2009 With 2008 Server R2, I've noticed that if I use the Registry Tweak app posted by Wnuku, I can't install any features, and it appears to remove the features I'm trying to install. eg. I run the tweak: install_wim_tweak.exe (with or without the /m option) on a fresh WIMI run the install command: dism.exe /Image:e:\mount /Enable-Feature:WirelessNetworking /LogPath:install-log.txtIt gives me an error:Deployment Image Servicing and Management toolVersion: 6.1.7000.0Image Version: 6.1.7000.0Enabling feature(s)[==========================100.0%==========================]Error: 0x800f080cDISM failed. No operation was performed.For more information, review the log file.I then run a get-featureinfo command: dism.exe /Image:e:\mount /Get-FeatureInfo:WirelessNetworkingand get the same error code [0x800f080c ( CBS_E_UNKNOWN_UPDATE named update not present in package )]:Deployment Image Servicing and Management toolVersion: 6.1.7000.0Image Version: 6.1.7000.0Error: 0x800f080cFeature name WirelessNetworking is unknown. A Windows feature name was not recognized.Use the /Get-Features option to find the name of the feature in the image and try the command again.It doesn't actually remove any files, just the name in the catalog.If I install the features on a fresh WIM without running the tweak, everything installs fine, except for NetFx3 which won't pre-install under any circumstances. After pre-installing the features I want, I save the image and run the tweak, which then allows me to remove packages.
Grope For Luna Posted January 17, 2009 Posted January 17, 2009 Is there any way to regenerate the catalog file without using the Image Manager? I have the 32 and 64bit versions installed on Vista 32 and 64 respectively and it usually fails with this error message. This is the new version with the new WAIK beta.The log created indicates it's a problem with the program, not the image.20090115_3828.txt
aviv00 Posted January 17, 2009 Author Posted January 17, 2009 (edited) DISM.exe /Image:C:\work\wimmount /Enable-Feature /FeatureName:WirelessNetworkingecho %ERRORLEVEL% %ERRORLEVEL% %ERRORLEVEL% %ERRORLEVEL% %ERRORLEVEL% %ERRORLEVEL%here the right cmd to enable feature Edited January 17, 2009 by aviv00
Grope For Luna Posted January 17, 2009 Posted January 17, 2009 I noticed in the package list posted by7bingo7 that some of them have en-US versions as well. Is it necessary to remove both versions of the package? I notice in the Image Manager that the packages/features are duplicated in the language section so every package/feature probably has a en-US counterpart.Microsoft-Windows-FileServer-Package~31bf3856ad364e35~amd64~en-US~6.1.7000.0Microsoft-Windows-FileServer-Package~31bf3856ad364e35~amd64~~6.1.7000.0Microsoft-Windows-WMI-SNMP-Provider-Package~31bf3856ad364e35~amd64~en-US~6.1.7000.0Microsoft-Windows-WMI-SNMP-Provider-Package~31bf3856ad364e35~amd64~~6.1.7000.0
Grope For Luna Posted January 17, 2009 Posted January 17, 2009 DISM.exe /Image:C:\work\wimmount /Enable-Feature /FeatureName:WirelessNetworkingecho %ERRORLEVEL% %ERRORLEVEL% %ERRORLEVEL% %ERRORLEVEL% %ERRORLEVEL% %ERRORLEVEL%here the right cmd to enable featureIt's the same thing, whether you use /FeatureName:WirelessNetworking or just /Enable-Feature:WirelessNetworking . The end result is that I get the Error: 0x800f080c and it's no longer visible in the image. Do you use the reg tweak before you enable features? I thought that was only necessary for removing features, not enabling them. The guide 7bingo7 posted said to apply the tweak before enabling packages, although that was for 2008 Server SP1, not R2. Have you enabled the NetFx3 feature in R2 ?BTW, why do you repeat the %ERRORLEVEL% 6 times? It will only have one value after an operation.
aviv00 Posted January 18, 2009 Author Posted January 18, 2009 (edited) here is my bat filesmaybe u remove it by mistake?use f.bat to see which feather is availableWork.rar Edited January 18, 2009 by aviv00
Grope For Luna Posted January 19, 2009 Posted January 19, 2009 (edited) I'm definitely not removing it by mistake.Applying the registry tweak on a fresh WIM of 2008 Server R2:C:\Program Files\Windows AIK\Tools\x86\Servicing>install_wim_tweak /m-------------------------------------------------Pre-install registry Tweak Tool---------------------for Windows 6.x--------------------------------------------------------Type path to mounted install.wim :e:\mountCreating BKP of registry file... OKMounting registry file... OKEnabilng taking ownership... OKEditing 'Packages' subkeys 391/391 OKEditing 'PackagesPending' subkeys 377/377OKModyfing registry completed sucessfully.-------------------Ending------------------Unmounting key... OKRemoving BKP file... OKGet NetFx3 feature infoC:\Program Files\Windows AIK\Tools\x86\Servicing>dism.exe /Image:e:\mount /Get-FeatureInfo /FeatureName:NetFx3Deployment Image Servicing and Management toolVersion: 6.1.7000.0Image Version: 6.1.7000.0Feature Information:Feature Name : NetFx3Display Name : Microsoft .NET Framework 3.5.1Description : Microsoft .NET Framework 3.5.1Restart Required : PossibleState : DisabledThe operation completed successfully.Enable the feature:C:\Program Files\Windows AIK\Tools\x86\Servicing>dism.exe /Image:e:\mount /Enable-Feature /FeatureName:NetFx3Deployment Image Servicing and Management toolVersion: 6.1.7000.0Image Version: 6.1.7000.0Enabling feature(s)[==========================100.0%==========================]Error: 0x800f080cDISM failed. No operation was performed.For more information, review the log file.No worky! Now if I get feature info...C:\Program Files\Windows AIK\Tools\x86\Servicing>dism.exe /Image:e:\mount /Get-FeatureInfo /FeatureName:NetFx3Deployment Image Servicing and Management toolVersion: 6.1.7000.0Image Version: 6.1.7000.0Error: 0x800f080cFeature name NetFx3 is unknown.A Windows feature name was not recognized.Use the /Get-Features option to find the name of the feature in the image and try the command again.Feature is unknown! This happens to other features as well, if the reg tweak is applied before enabling...A fresh WIM without applying the tweakGet NetFx3feature Info:C:\Program Files\Windows AIK\Tools\x86\Servicing>dism.exe /Image:e:\mount /Get-FeatureInfo /FeatureName:NetFx3Deployment Image Servicing and Management toolVersion: 6.1.7000.0Image Version: 6.1.7000.0Feature Information:Feature Name : NetFx3Display Name : Microsoft .NET Framework 3.5.1Description : Microsoft .NET Framework 3.5.1Restart Required : PossibleState : DisabledThe operation completed successfully.Enable the featureC:\Program Files\Windows AIK\Tools\x86\Servicing>dism.exe /Image:e:\mount /Enable-Feature /FeatureName:NetFx3Deployment Image Servicing and Management toolVersion: 6.1.7000.0Image Version: 6.1.7000.0Enabling feature(s)[===========================98.8%========================= ]Error: 1603Fatal error during installation.Error 1603. The feature is not removed, however. Other features like DesktopExperience install fine Is anyone else using WAIK on 2008 Server R2 ???Edit: If I use the /m option on the registry tweak (removing owner keys in packages pending), then it will remove netfx3 as well as the features listed in the post below. If i don't use the /m option, it will fail but the features will not be removed. Edited January 20, 2009 by Grope For Luna
Grope For Luna Posted January 20, 2009 Posted January 20, 2009 I did a comparison of available features before and after attempting to enable NetFx3 (post registry tweak) and it actuallly removes the following features:Feature Name : RightsManagementServicesFeature Name : RMS-FederationFeature Name : RightsManagementServices-AdminToolsFeature Name : DirectoryServices-DomainControllerFeature Name : DirectoryServices-AdministrativeCenterFeature Name : DirectoryServices-ADAMFeature Name : ActiveDirectory-PowerShellFeature Name : NetFx3Feature Name : WCF-HTTP-ActivationFeature Name : WCF-NonHTTP-ActivationFeature Name : CertificateServicesManagementToolsFeature Name : CertificateServicesFeature Name : WebEnrollmentServicesFeature Name : CertificateEnrollmentPolicyServerFeature Name : CertificateEnrollmentServer
aviv00 Posted January 20, 2009 Author Posted January 20, 2009 good point we should use the reg tweak after enabling
Grope For Luna Posted January 20, 2009 Posted January 20, 2009 (edited) The /m option seems to muck things up on R2 but if you don't use it you can't remove anything so it's kind of pointless. I'm going to try removing stuff from the installed system with dism.Is there any point to removing packages from R2? Even if I remove a bunch of packages, my installation is about the same size as before. The WAIK tools don't really remove anything. The smallest I ever got my installation DVD was ~1.75GB. I tried to use peimg.exe /prep but that failed with an error. The best you can probably do is enable stuff that can be removed with Vlite like QWAVE, InkSupport/Handwritingrecognition, etc. Edited January 20, 2009 by Grope For Luna
Grope For Luna Posted January 21, 2009 Posted January 21, 2009 I just did a VMWare install of Web Server 2008 R2 . I pre-enabled InkSupport, DesktopExperience, WindowsServerBackup and SearchEngine-Server-Package with DISM. After installing, I had to open Regedit, set the owner of the Packages key to Administrators (and give full permissions) and delete the Owner keys but all of the packages I wanted to remove uninstalled without a hitch. I also installed NetFx3 via DISM with no error. If you try to install NetFx3 via the Server Manager, it requires you to install a couple IIS roles but if you do it with DISM it will install without them.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now