Skip to content

Commit

Permalink
Improved compacting arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
RinMinase committed Nov 20, 2017
1 parent 88d185f commit 4c4f75a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions winsxs & installer compressor.bat
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ takeown /f "%windir%\winsxs" /r

icacls "%windir%\winsxs" /grant "%userdomain%\%username%":(F) /t

compact /c /s:"%windir%\winsxs" /i
compact /c /s:"%windir%\winsxs" /a /i /f /exe:lzx

icacls "%windir%" /restore "%windir%\winsxs.acl"

Expand All @@ -35,6 +35,6 @@ sc config TrustedInstaller start= demand
echo Compressing "Windows\Installer" Folder

@echo on
compact /s:"%windir%\installer" /c /a /i
compact /c /s:"%windir%\installer" /a /i /f /exe:lzx

pause

0 comments on commit 4c4f75a

Please sign in to comment.