.
This commit is contained in:
parent
43b7a2317f
commit
42779f3b27
@ -1,12 +1,12 @@
|
|||||||
@echo off
|
@echo off
|
||||||
|
|
||||||
set CONF=config\firefox
|
set CONFIG=config\firefox
|
||||||
set SCRIPTS=..\scripts
|
set SCRIPTS=..\scripts
|
||||||
set SOFTWARE=..\software
|
set SOFTWARE=..\software
|
||||||
set MSI=firefox-setup.msi
|
set EXE=firefox-setup.exe
|
||||||
|
|
||||||
if NOT EXIST %SOFTWARE%\%MSI% (
|
if NOT EXIST %SOFTWARE%\%EXE% (
|
||||||
echo ERROR: %SOFTWARE%\%MSI% not found!
|
echo ERROR: %SOFTWARE%\%EXE% not found!
|
||||||
exit /b
|
exit /b
|
||||||
)
|
)
|
||||||
|
|
||||||
@ -27,13 +27,15 @@ set BITWARDENTARGET={446900e4-71c2-419f-a6a7-df9c091e268b}.xpi
|
|||||||
echo ####### %0 #######
|
echo ####### %0 #######
|
||||||
|
|
||||||
@echo on
|
@echo on
|
||||||
msiexec /i %MSI% /passive
|
cd %SOFTWARE%
|
||||||
|
firefox-setup.exe /S /MaintenanceService=false /TaskbarShortcut=false /RegisterDefaultAgent=false
|
||||||
|
timeout /T 10
|
||||||
@echo off
|
@echo off
|
||||||
cd %SCRIPTS%
|
cd %SCRIPTS%
|
||||||
|
|
||||||
rem copy config ...
|
rem copy config ...
|
||||||
copy /Y %CONF%\local-settings.js %FIREFOXBASE%\defaults\pref
|
copy /Y %CONFIG%\local-settings.js %FIREFOXBASE%\defaults\pref
|
||||||
copy /Y %CONF%\mozilla.cfg %FIREFOXBASE%
|
copy /Y %CONFIG%\mozilla.cfg %FIREFOXBASE%
|
||||||
|
|
||||||
echo disabling FireFox updates (all users) ...
|
echo disabling FireFox updates (all users) ...
|
||||||
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Mozilla\Firefox" ^
|
reg add "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Mozilla\Firefox" ^
|
||||||
|
@ -11,9 +11,9 @@ Get-AppxPackage -AllUsers |
|
|||||||
Remove-AppxPackage
|
Remove-AppxPackage
|
||||||
|
|
||||||
Get-AppxProvisionedPackage -online |
|
Get-AppxProvisionedPackage -online |
|
||||||
where-object {$_.name -notlike "*calc*"} |
|
where-object {$_.displayname -notlike "*calc*"} |
|
||||||
where-object {$_.name -notlike "*store*"} |
|
where-object {$_.displayname -notlike "*store*"} |
|
||||||
where-object {$_.name -notlike "*terminal*"} |
|
where-object {$_.displayname -notlike "*terminal*"} |
|
||||||
Remove-AppxProvisionedPackage -online
|
Remove-AppxProvisionedPackage -online
|
||||||
|
|
||||||
# make sure that the calculator is installed ...
|
# make sure that the calculator is installed ...
|
||||||
|
@ -42,7 +42,7 @@ echo.
|
|||||||
|
|
||||||
echo BGinfo ...
|
echo BGinfo ...
|
||||||
mkdir %TOOLS%\bginfo 2>nul
|
mkdir %TOOLS%\bginfo 2>nul
|
||||||
move /Y %T%\bginfo\Bginfo64.exe %TOOLS%
|
move /Y %T%\bginfo\Bginfo64.exe %TOOLS%\bginfo
|
||||||
copy /Y config\config.bgi %TOOLS%\bginfo
|
copy /Y config\config.bgi %TOOLS%\bginfo
|
||||||
rd /S /Q %T%\bginfo 2>nul
|
rd /S /Q %T%\bginfo 2>nul
|
||||||
echo.
|
echo.
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
https://ftp.mozilla.org/pub/firefox/releases/85.0.2/win64/en-US/Firefox%20Setup%2085.0.2.msi firefox-setup.msi
|
https://ftp.mozilla.org/pub/firefox/releases/85.0.2/win64/en-US/Firefox%20Setup%2085.0.2.exe firefox-setup.exe
|
||||||
https://addons.mozilla.org/firefox/downloads/file/3726657/1password_password_manager-1.23.1-fx.xpi 1password-addon.xpi
|
https://addons.mozilla.org/firefox/downloads/file/3726657/1password_password_manager-1.23.1-fx.xpi 1password-addon.xpi
|
||||||
https://addons.mozilla.org/firefox/downloads/file/3714988/bitwarden_free_password_manager-1.48.1-an+fx.xpi bitwarden-addon.xpi
|
https://addons.mozilla.org/firefox/downloads/file/3714988/bitwarden_free_password_manager-1.48.1-an+fx.xpi bitwarden-addon.xpi
|
||||||
https://addons.mozilla.org/firefox/downloads/file/3719054/ublock_origin-1.33.2-an+fx.xpi ublockorigin-addon.xpi
|
https://addons.mozilla.org/firefox/downloads/file/3719054/ublock_origin-1.33.2-an+fx.xpi ublockorigin-addon.xpi
|
||||||
|
|
@ -11,5 +11,9 @@ GOTO END
|
|||||||
:USAGE
|
:USAGE
|
||||||
echo "usage: %0 <FILENAME>"
|
echo "usage: %0 <FILENAME>"
|
||||||
|
|
||||||
|
echo.
|
||||||
|
dir /B %SOURCES%\*.esd %SOURCES%\*.wim
|
||||||
|
echo.
|
||||||
|
|
||||||
:END
|
:END
|
||||||
|
|
||||||
|
@ -1,5 +0,0 @@
|
|||||||
@echo off
|
|
||||||
set MNT=c:\TEMP\WIM
|
|
||||||
|
|
||||||
dism /Image:%MNT% /Get-Packages /Format:Table
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user