Hp Pen Settings source has Setup.exe and some loose files/folders. Setup is already having /S command for silent install.
Source also contains ImageSetup.bat file which has below commandline for execution:-
_______________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________
:AppOnly
echo Installing Wacom Settings App Package
:: Install Wacom Components Settings App
if %RS23%==1 (
if %OSbits%==32 (
Dism /Online /Add-ProvisionedAppxPackage /PackagePath:.\App\f68412a806db47479bf8cbb694d42723.appxbundle /DependencyPackagePath:.\App\Microsoft.NET.Native.Framework.1.3_1.3.24201.0_x86__8wekyb3d8bbwe.appx /DependencyPackagePath:.\App\Microsoft.NET.Native.Runtime.1.4_1.4.24201.0_x86__8wekyb3d8bbwe.appx /DependencyPackagePath:.\App\Microsoft.VCLibs.140.00.UWPDesktop_14.0.25426.0_x86__8wekyb3d8bbwe.appx /DependencyPackagePath:.\App\Microsoft.VCLibs.140.00_14.0.25426.0_x86__8wekyb3d8bbwe.appx /LicensePath:.\App\f68412a806db47479bf8cbb694d42723_License1.xml
)
if %OSbits%==64 (
Dism /Online /Add-ProvisionedAppxPackage /PackagePath:.\App\f68412a806db47479bf8cbb694d42723.appxbundle /DependencyPackagePath:.\App\Microsoft.NET.Native.Framework.1.3_1.3.24201.0_x86__8wekyb3d8bbwe.appx /DependencyPackagePath:.\App\Microsoft.NET.Native.Runtime.1.4_1.4.24201.0_x86__8wekyb3d8bbwe.appx /DependencyPackagePath:.\App\Microsoft.VCLibs.140.00.UWPDesktop_14.0.25426.0_x86__8wekyb3d8bbwe.appx /DependencyPackagePath:.\App\Microsoft.VCLibs.140.00_14.0.25426.0_x86__8wekyb3d8bbwe.appx /DependencyPackagePath:.\App\Microsoft.NET.Native.Framework.1.3_1.3.24201.0_x64__8wekyb3d8bbwe.appx /DependencyPackagePath:.\App\Microsoft.NET.Native.Runtime.1.4_1.4.24201.0_x64__8wekyb3d8bbwe.appx /DependencyPackagePath:.\App\Microsoft.VCLibs.140.00.UWPDesktop_14.0.25426.0_x64__8wekyb3d8bbwe.appx /DependencyPackagePath:.\App\Microsoft.VCLibs.140.00_14.0.25426.0_x64__8wekyb3d8bbwe.appx /LicensePath:.\App\f68412a806db47479bf8cbb694d42723_License1.xml
)
)
if %RS23%==0 (
if %OSbits%==32 (
Dism /Online /Add-ProvisionedAppxPackage /PackagePath:.\App\f68412a806db47479bf8cbb694d42723.appxbundle /DependencyPackagePath:.\App\Microsoft.NET.Native.Framework.1.3_1.3.24201.0_x86__8wekyb3d8bbwe.appx /DependencyPackagePath:.\App\Microsoft.NET.Native.Runtime.1.4_1.4.24201.0_x86__8wekyb3d8bbwe.appx /DependencyPackagePath:.\App\Microsoft.VCLibs.140.00.UWPDesktop_14.0.25426.0_x86__8wekyb3d8bbwe.appx /DependencyPackagePath:.\App\Microsoft.VCLibs.140.00_14.0.25426.0_x86__8wekyb3d8bbwe.appx /LicensePath:.\App\f68412a806db47479bf8cbb694d42723_License1.xml /Region:All
)
if %OSbits%==64 (
Dism /Online /Add-ProvisionedAppxPackage /PackagePath:.\App\f68412a806db47479bf8cbb694d42723.appxbundle /DependencyPackagePath:.\App\Microsoft.NET.Native.Framework.1.3_1.3.24201.0_x86__8wekyb3d8bbwe.appx /DependencyPackagePath:.\App\Microsoft.NET.Native.Runtime.1.4_1.4.24201.0_x86__8wekyb3d8bbwe.appx /DependencyPackagePath:.\App\Microsoft.VCLibs.140.00.UWPDesktop_14.0.25426.0_x86__8wekyb3d8bbwe.appx /DependencyPackagePath:.\App\Microsoft.VCLibs.140.00_14.0.25426.0_x86__8wekyb3d8bbwe.appx /DependencyPackagePath:.\App\Microsoft.NET.Native.Framework.1.3_1.3.24201.0_x64__8wekyb3d8bbwe.appx /DependencyPackagePath:.\App\Microsoft.NET.Native.Runtime.1.4_1.4.24201.0_x64__8wekyb3d8bbwe.appx /DependencyPackagePath:.\App\Microsoft.VCLibs.140.00.UWPDesktop_14.0.25426.0_x64__8wekyb3d8bbwe.appx /DependencyPackagePath:.\App\Microsoft.VCLibs.140.00_14.0.25426.0_x64__8wekyb3d8bbwe.appx /LicensePath:.\App\f68412a806db47479bf8cbb694d42723_License1.xml /Region:All
)
)
_______________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________
If you want this to be customised as per OS then you can pick only required lines for execution.
Basically this installs three drivers and one AppX package.
Installation Command : -
If using Setup.exe then Installation command is Setup.exe /S
If customising bat file and putting in powershell script then pick required lines and use the same command, you need to change only path.
Uninstallation Command:-
"C:\WINDOWS\System32\DriverStore\FileRepository\wtabletserviceisd.inf_amd64_18b44bbfd8c8efa2\WTabletServiceISD.exe" /uninstall
Above command will ask for Yes/No confirmation which is not complete silent.
You can uninstall those drivers & AppX package individually. Use below powershell to uninstall Appx Package. Drivers can be uninstalled using dpinst64.exe as shown below.
dpinst64.exe /u scriptDirectory\64\WacExtension_HP.inf /S
dpinst64.exe /u scriptDirectory\64\WacHIDRouterISD.inf /S
dpinst64.exe /u scriptDirectory\64\WTabletServiceISD.inf /S
$App = get-appxProvisionedPackage -online | Where {$_.DisplayName -eq "WacomTechnologyCorp.HPPenSettings" }
Remove-AppxProvisionedPackage -AllUsers -Online -PackageName $App.PackageName
Vendor has release new version which gets updated if you install new version.
Hope it helps, please add if something new comes in this software.
View inventory records anonymously contributed by opt-in users of the K1000 Systems Management Appliance.