- Jul
- 512
- 10
I'm trying to automate my environments as much as possible — including the automation of rolling out common programs I use.
Is there a winget command to install TCC?
Is there a winget command to install TCC?
By registering with us, you'll be able to discuss, share and private message with other members of our community.
SignUp Now!copy https://jpsoft.com/downloads/v32/tcmd.exe
tcmd.exe /qn
@SETLOCAL
@ECHO OFF
:: File: winget.btm
:: Created: 2024-09-09
:: _4ver: 32.10
:: _winver: 10.0
iff %_x64 eq 1 then
iff %_admin eq 1 then
iff %_elevated eq 1 then
:: NEXT SENTENCE
else
echo Note that this .BTM was tested on a 64-bit version of Windows,
echo as Administrator,
echo from an elevated process.
echo.
echo You are running the following;
echo _x64: 1
echo _admin: 1
echo _elevated: 1
pause
endiff
endiff
endiff
:: Drive R:\ is a 2GB RAMDrive
if isdir r:\temp set temp=r:\temp
iff %1 eq edit then
tcedit %_batchname
quit
endiff
iff %1 eq view then
view %_batchname
quit
endiff
set Show=N
set Source=https://jpsoft.com/downloads/v32/tcmd.exe
iff %1 eq show .and. %2 eq tcmd then
if exist tcmd.exe del /q tcmd.exe
echo Copying %Source
copy /g %Source
Gosub Show
set Show=Y
endiff
iff %1 eq install .and. %2 eq tcmd then
if exist tcmd.exe del /q tcmd.exe
echo Copying %Source
copy /g %Source
Gosub Show
set YorN=N
input /k"YyNn" Install Take Command (Y/N): %%YorN
iff %YorN eq Y then
echo Silently installing Take Command
::tcmd.exe /qn
endiff
if exist tcmd.exe dir tcmd.exe
else
iff %Show eq Y then
:: NEXT SENTENCE
else
winget.exe %$
endiff
ENDLOCAL
quit
:Show
echo Company Name : %@verinfo[tcmd.exe,CompanyName]
echo File Description : %@verinfo[tcmd.exe,FileDescription]
echo File Version : %@verinfo[tcmd.exe,FileVersion]
echo Internal Name : %@verinfo[tcmd.exe,InternalName]
echo Legal Copyright : %@verinfo[tcmd.exe,LegalCopyright]
echo Legal Trademarks : %@verinfo[tcmd.exe,LegalTrademarks]
echo Original Filename : %@verinfo[tcmd.exe,OriginalFilename]
echo Product Name : %@verinfo[tcmd.exe,ProductName]
echo Product Version : %@verinfo[tcmd.exe,ProductVersion]
echo Build : %@verinfo[tcmd.exe,Build]
Return
R:\>winget show tcmd
Copying https://jpsoft.com/downloads/v32/tcmd.exe
https://jpsoft.com/downloads/v32/tcmd.exe => R:\tcmd.exe
1 file copied
Company Name : JP Software
File Description : Take Command 32 Installer
File Version : 32.10.21.0
Internal Name : tcmd
Legal Copyright : Copyright (C) 2024 JP Software
Legal Trademarks :
Original Filename : tcmd.exe
Product Name : Take Command 32
Product Version : 32.10.21.0
Build :
R:\>winget install tcmd
Copying https://jpsoft.com/downloads/v32/tcmd.exe
https://jpsoft.com/downloads/v32/tcmd.exe => R:\tcmd.exe
1 file copied
Company Name : JP Software
File Description : Take Command 32 Installer
File Version : 32.10.21.0
Internal Name : tcmd
Legal Copyright : Copyright (C) 2024 JP Software
Legal Trademarks :
Original Filename : tcmd.exe
Product Name : Take Command 32
Product Version : 32.10.21.0
Build :
Install Take Command (Y/N):y
Silently installing Take Command
Volume in drive R is unlabeled Serial number is 2874:bb5f
Directory of R:\tcmd.exe
2024-09-09 11:16 78,195,584 tcmd.exe
::tcmd.exe /qn
tcmd.exe /qn
I have two people above saying it's possible, but neither have provided an example invocation that works.
While I appreciate claims that an answer to my problem exists, I'm actually looking for the actual answer, and the above claims don't actually bring me any closer to it
i.e. what is the msiexec command? how is it installed in sandbox?
I'm looking for a command that downloads it and installs it, like winget. Maybe that part wasn't clear.
It seems that Joe has provided a script to do what you want (download it and then use the MSIEXEC options to autoinstall).
I was not aware that the community could request that TCC be added to the winget repository.
It would appear that progress is being made for winget to install tcmd.exe,
as the winget install has been validated manually.
Ref: New package: JPSoft.tcmd version 33.0.18.0 by Dragon1573 · Pull Request #191690 · microsoft/winget-pkgs
View attachment 4664
R:\>winget search tcmd
Name Id Version Match Source
---------------------------------------------------------------------
Total Commander Ghisler.TotalCommander 11.03 Moniker: tcmd winget
Take Command 33 JPSoft.tcmd 33.0.18.0 winget
R:\>winget install JPSoft.tcmd
Found an existing package already installed. Trying to upgrade the installed package...
A newer version was found, but the install technology is different from the current version installed. Please uninstall the package and install the newer version.
Volume in drive C is unlabeled Serial number is acb2:6a48
Directory of C:\Program Files\JPSoft\*
2024-10-29 20:14 <DIR> .
2024-10-29 20:14 <DIR> ..
2022-12-06 19:45 <DIR> CMDebug28
2023-06-14 19:46 <DIR> CMDebug30
2024-02-05 14:55 <DIR> CMDebug31
2024-04-21 12:13 <DIR> CMDebug32
2024-09-23 17:19 <DIR> CMDebug33
2024-10-29 20:11 <DIR> TCC_RT_21
2022-11-22 8:52 <DIR> TCC_RT_28
2023-02-26 13:01 <DIR> TCC_RT_29
2023-06-19 19:16 <DIR> TCC_RT_30
2024-02-05 14:54 <DIR> TCC_RT_31
2024-05-22 14:31 <DIR> TCC_RT_32
2024-10-20 18:09 <DIR> TCC_RT_33
2023-02-12 11:50 <DIR> TCMD24
2022-11-18 10:15 <DIR> TCMD28
2023-06-20 9:39 <DIR> TCMD29
2024-02-25 8:49 <DIR> TCMD30
2024-02-12 11:40 <DIR> TCMD31
2024-09-13 20:09 <DIR> TCMD32
2024-11-15 8:53 <DIR> TCMD33
C:\Program Files\JPSoft\TCMD33