The WinReducer Forum
Would you like to react to this message? Create an account in a few clicks or log in to continue.

The WinReducer ForumLog in

FORUM

description[SOLVED] How to protect Ribbon UI apps? Empty[SOLVED] How to protect Ribbon UI apps?

more_horiz
mspaint was not selected to delete, and also was kept in the final system, while it does not work when click it...

Errors are about the dependance of system32\UIRibbon.dll

description[SOLVED] How to protect Ribbon UI apps? EmptyRe: [SOLVED] How to protect Ribbon UI apps?

more_horiz
Hello,

You are right, and this happens if you use "Optimizations - EXPERT - WinSXS Folder Cleanup".

I'm trying to fix it. Thank you for the information about "UIRibbon.dll"...  Smile 

Best Regards.

description[SOLVED] How to protect Ribbon UI apps? EmptyRe: [SOLVED] How to protect Ribbon UI apps?

more_horiz
winterstorm2050 wrote:
Hello,

You are right, and this happens if you use "Optimizations - EXPERT - WinSXS Folder Cleanup".

I'm trying to fix it. Thank you for the information about "UIRibbon.dll"...  Smile 

Best Regards.


Below the code of Winbuild for your reference, maybe useful to fix this bug...

Code:

[Main]
Title=1 - Windows Apps
Type=script
Author=
Description=添加Windows自带的程序和工具
Credits=
Version=040
Download_Level=0
Level=1
Selected=True
Mandatory=False
NoWarning=False
Contact=
Date=2012.06.22
Depend=
Disable=
CertifiedBy=
Certification=
HistoryNotes=

[Variables]

[Interface]
pCheckBox_1="MS Paint",1,3,10,30,300,23,True
pCheckBox_2=Calculator,1,3,10,50,300,23,True
pCheckBox_3=Wordpad,1,3,10,70,300,23,True
pCheckBox_4="XPS Viewer",1,3,10,90,300,23,True
pCheckBox_5="Snipping Tool",1,3,10,110,300,23,True

[process]
If,%pCheckBox_1%,Equal,True, Run,%ScriptFile%, FileCopy_MS_Paint
If,%pCheckBox_2%,Equal,True, Run,%ScriptFile%, FileCopy_Calculator
If,%pCheckBox_3%,Equal,True, Run,%ScriptFile%, FileCopy_Wordpad
If,%pCheckBox_4%,Equal,True, Run,%ScriptFile%, FileCopy_XPS_Viewer
If,%pCheckBox_5%,Equal,True, Run,%ScriptFile%, FileCopy_SnippingTool
If,%pCheckBox_5%,Equal,True, Run,%ScriptFile%, FileCopy_SnippingTool_ink
Run,%ScriptFile%,System_Tweak

[FileCopy_Wordpad]
ReqSys32,IconCodecService.dll
ReqSys32,MFC42u.dll
ReqSys32,UIRibbon.dll
ReqSys32,UIRibbonRes.dll
ReqSys32,WindowsCodecs.dll
ReqSys32,WindowsCodecsExt.dll
If,Not,ExistDir,"%TargetDir%\Program Files\Windows NT", DirMake,"%TargetDir%\Program Files\Windows NT"
DirCopy, "%WinSRC%\Program Files\Windows NT\Accessories", "%TargetDir%\Program Files\Windows NT"

[FileCopy_Calculator]
ReqSys32, calc.exe
//== Fonts for Caculator ===
FileCopy, %iw%\Fonts\seguisym.ttf, %tw%\Fonts
FileCopy, %iw%\Fonts\segoeui.ttf, %tw%\Fonts

[FileCopy_MS_Paint]
ReqSys32,mspaint.exe
ReqSys32,IconCodecService.dll
ReqSys32,MFC42u.dll
ReqSys32,UIRibbon.dll
ReqSys32,UIRibbonRes.dll
ReqSys32,WindowsCodecs.dll
ReqSys32,WindowsCodecsExt.dll
ReqSys32,wiaservc.dll
//
ReqSys32, odbc32.dll

[FileCopy_XPS_Viewer]
ReqSys32, xpsrchvw.exe
ReqSys32, XpsFilt.dll
ReqSys32, XpsGdiConverter.dll
ReqSys32, XpsPrint.dll
ReqSys32, XpsRasterService.dll
ReqSys32, xpsrchvw.xml
ReqSys32, xpsservices.dll
ReqSys32, XPSSHHDR.dll
ReqSys32, xpssvcs.dll
//
//== support files ==
ReqSys32, webservices.dll
ReqSys32, OpcServices.dll
ReqSys32, DWrite.dll
ReqSys32, cryptxml.dll
//
//== XML support file ==
ReqSys32, msxml3.dll
ReqSys32, msxml3r.dll
ReqSys32, msxml6.dll
ReqSys32, msxml6r.dll

[FileCopy_SnippingTool]
ReqSys32, SnippingTool.exe
//
ReqSys32, avrt.dll
ReqSys32, msdrm.dll
ReqSys32, BCP47Langs.dll
ReqSys32, clbcatq.dll
ReqSys32, DWrite.dll
ReqSys32, GdiPlus.dll
ReqSys32, IconCodecService.dll
ReqSys32, UIAnimation.dll
ReqSys32, UIAutomationCore.dll
ReqSys32, Windows.Globalization.dll
ReqSys32, wisp.dll

[FileCopy_SnippingTool_ink]
If,Not,ExistDir,"%targetdir%\Program Files\Common Files",DirMake,"%targetdir%\Program Files\Common Files"
If,Not,ExistDir,"%targetdir%\Program Files\Common Files\microsoft shared",DirMake,"%targetdir%\Program Files\Common Files\microsoft shared"
If,Not,ExistDir,"%targetdir%\Program Files\Common Files\microsoft shared\ink",DirMake,"%targetdir%\Program Files\Common Files\microsoft shared\ink"
//
FileCopy, "%WinSRC%\Program Files\Common Files\microsoft shared\ink\tiptsf.dll", "%targetdir%\Program Files\Common Files\microsoft shared\ink"
FileCopy, "%WinSRC%\Program Files\Common Files\microsoft shared\ink\tpcps.dll", "%targetdir%\Program Files\Common Files\microsoft shared\ink"
FileCopy, "%WinSRC%\Program Files\Common Files\microsoft shared\ink\InkObj.dll", "%targetdir%\Program Files\Common Files\microsoft shared\ink"

[System_Tweak]
//===== Patchs for MSXML3, make Photo Viewer and MsPaint works (No Needed)====
//FileCopy, %BaseDir%\Projects\PE_Extra\Addons\msxmlx.inf, %t32%

description[SOLVED] How to protect Ribbon UI apps? EmptyRe: [SOLVED] How to protect Ribbon UI apps?

more_horiz
Hello,

Excellent finding, and I will have a look ... And it seems that the bug also break the ribbon UI in Explorer. It only load the old UI with menu.

Thank you !

description[SOLVED] How to protect Ribbon UI apps? EmptyRe: [SOLVED] How to protect Ribbon UI apps?

more_horiz
SOLVED IN v1.21 !
privacy_tip Permissions in this forum:
You cannot reply to topics in this forum