COMPUTER- Setup-Kommandos

zurück zur Startseitezurück zu Computer

 

 

 

 

Installationskommandos

%WinDir%\sysnative\Dism.exe /Online /Disable-Feature /FeatureName:MediaCenter /FeatureName:TabletPCOC /FeatureName:WindowsGadgetPlatform /NoRestart
%WinDir%\sysnative\DISM.exe /Online /Enable-Feature /FeatureName:NetFx3
msiexec /i "install_flash_player_16_plugin.msi" TRANSFORMS=custom.mst ALLUSERS=2 /qn /l*v %windir%\Logs\Flash16P-msi-inst.log
msiexec /x {1D55DE93-486D-40F7-88F3-CF08578F82AA} /qn /l*v %windir%\Logs\Flash16P-msi-deinst.log
setup.exe /S /v"/qn REBOOT=ReallySuppress /l*v %windir%\Logs\HP-Hotkey-msi-inst.log"
powershell.exe -ExecutionPolicy Bypass -NoLogo -NonInteractive -NoProfile -WindowStyle Hidden -File .\_Install.ps1
REG.EXE DELETE "HKLM\SOFTWARE\Microsoft\Key" /v Schluessel /f >>%LOG% 2>&1
REG.EXE ADD "HKLM\SOFTWARE\Microsoft\Key" /v Schluessel /t REG_SZ /d Datum /f >>%LOG% 2>&1

RegKeys per Batch fuer Active Setup

* * * * * R e R E M 3 2 o r 6 4 B i t K e y * * * * *

Set ActiveSetupRegKey="HKLM\SOFTWARE\Wow6432Node\Microsoft\Active Setup\Installed Components\###AsYouWantToCallIt"
Set ActiveSetupRegKey="HKLM\SOFTWARE\Microsoft\Active Setup\Installed Components\###AsYouWantToCallIt"


* * * * * R e g K e y s t o w r i t e * * * * *

reg add %ActiveSetupRegKey% /ve /t REG_SZ /d "###ANameOfThis-NoOtherFunction" /f
reg add %ActiveSetupRegKey% /v "IsInstalled" /t REG_DWORD /d "1" /f
reg add %ActiveSetupRegKey% /v "Locale" /t REG_SZ /d "DE" /f
reg add %ActiveSetupRegKey% /v "StubPath" /t REG_SZ /d "###CompletePathToExecutabelOrThometingElse" /f
reg add %ActiveSetupRegKey% /v "Version" /t REG_SZ /d "1,0" /f
reg add %ActiveSetupRegKey% /v "DontAsk" /t REG_DWORD /d "2" /f

Deinstallation per WMI

WMIC product GET name

WMIC product WHERE name="software name" CALL uninstall

WMIC product WHERE "name LIKE 'software name%'" CALL uninstall