Is there any way to do a silent install?

May 30, 2008
80
0
Gerakas, Greece
Mostly, I find the update process is too interactive (even with option /u). Is there a way to download e.g. tcmdx64.exe and run it silently? Preferably with some way to change some of the options (e.g. I don't want a desktop icon)
 
May 30, 2008
80
0
Gerakas, Greece
If you run the installer with the /? argument, it will display the available options (include a silent installation). There is no way to specify individual installation options like the desktop icon (Windows installer limitation).

I'm fairly sure it's not a "Windows Installer" limitation - I've seen quite a few MSIs which allow for passing parameters that change their behavior. For example, in Python's installer you can pass a parameter TARGETDIR (for python.org) or INSTALLDIR (for ActiveState), which defines the directory where it will be installed. It *may* be an "Advanced Installer" limitation, but MSIs are extremely versatile.
 
May 30, 2008
80
0
Gerakas, Greece
Update: The command line parameters do not seem to do anything.

I'm running these:
Code:
tccle.exe /exenoui
tccle.exe /exebasicui
and the result is exactly the same as if I didn't use these parameters (i.e. the full UI is displayed, and I have to press "next" each time)
 
May 30, 2008
80
0
Gerakas, Greece
It's not a TCC/LE question, it's the same thing with the full Take Command. I was just using TCC/LE so I wouldn't install and uninstall Take Command so many times to find out if anything worked! :)

Anyway, I think I have my own answer now - although it's not as easy as it should be (as the *.exe installer doesn't seem to be passing the parameters to the actual *.msi - although I'm still researching this)

It's a three step process (for now):

  1. Extract all the files:
    Code:
    tcmd.exe /extract:%_cwds
    (I'm using the 32-bit installer because I don't want to uninstall the program I'm already running :))
  2. Code:
    move E915408\*
    (normally I would search for the first directory etc)
  3. Execute this:
    Code:
    msiexec /i tcmd.msi /quiet /log tcmd.log AI_DESKTOP_SH=0
The procedure mainly works (I did just now install TCMD 32-bit without any icon on the desktop), but there are a couple of snags:

  1. The extraction is done interactively, so I must manually wait for it to finish.
  2. After the installation, the "thank you" page pops up.
 
Jan 15, 2017
7
0
I appreciate this thread is old, but the installation options seem to be the same so it doesn't seem to be inappropriate to append to it now...

I'm trying to pass an MSI Option to set the installation folder, but no matter what format I use I am just getting an error message about "This package can only be run from a bootstrapper"

upload_2017-7-27_7-5-48.png


The specific command I ran to get that error was:

tcc-rt.exe "/i "tcc-rt.x64.msi" Targetdir="c:\tcc-rt""​

I get exactly the same error if I extract the tcc-rt.exe package to a folder and try to run the tcc-rt.x64.msi file directly, so this error doesn't "look" like it's an invalid MSI Option, but more like the MSI package is not being allowed to be run at all.

If I run it without the quotes around the MSI parameters, then nothing happens, so it seems the entire command line is simply ignored as "in error".

If I run it with angled brackets (as possibly suggested by the command line help?), it is generates an error, I assume because it thinks I'm trying to parse commands in some way...

The command line options help screen is unusefully ambiguous on the required format for parsing the MSI Options...any chance someone can provide me with an example of exactly how I should be formatting this line? Ideally, how to pass the required installation folder!!

upload_2017-7-27_7-12-3.png


Or is there a better/different way to set a custom installation folder?

I do need to run this from the command line with no user interaction...thanks in advance!!
 
Jan 15, 2017
7
0
Not sure if this logfile helps - this is when running the extracted msi:

msiexec /i "tcc-rt.x64.msi" Targetdir="c:\tcc-rt"​
 

Attachments

  • failed-install.zip
    8.6 KB · Views: 65
Jan 15, 2017
7
0
Thanks - that's exactly what I'm asking...how do I do that as the help is non-existent? It just says <msioptions>?

I've given examples of how I'm trying to pass the MSI options...perhaps you could review those or pass me back working examples?

I only extracted the files to see if I got a different result...but I didn't...
 
Jan 15, 2017
7
0
I'm sorry if I'm not explaining myself well.

I want to set the TCC-RT installation folder via an installation command line option - please can you give me a working example of how to do this?

I am aware that the MSI options have to be passed to the TCC-RT setup but I cannot work out how as the TCC-RT installer help file is too vague.

This is what I tried:

tcc-rt.exe "/i "tcc-rt.x64.msi" Targetdir="c:\tcc-rt""​

But this generated the following error:
upload_2017-7-27_7-5-48-png.1591


I assume that I am passing the MSI option incorrectly...please can you provide me with a working example of how to pass an MSI option to the TCC-RT setup application?
 
Jan 15, 2017
7
0
Charles - Thanks - I had already tried this command with/without the "extra" quotation marks...without the quotation marks (as you have written) nothing happens at all - no dialogue, no error and no installation...nada...

With the quotation marks, at least it is giving me some feedback even if it is the error message above.

Can I check if this has worked on your computer? Perhaps I need to check this on another system?
 

rconn

Administrator
Staff member
May 14, 2008
12,344
149
I'm sorry if I'm not explaining myself well.

I want to set the TCC-RT installation folder via an installation command line option - please can you give me a working example of how to do this?

I am aware that the MSI options have to be passed to the TCC-RT setup but I cannot work out how as the TCC-RT installer help file is too vague.

This is what I tried:

tcc-rt.exe "/i "tcc-rt.x64.msi" Targetdir="c:\tcc-rt""​

I assume that I am passing the MSI option incorrectly...please can you provide me with a working example of how to pass an MSI option to the TCC-RT setup application?

Assuming that you want to install TCC-RT in the "c:\tcc-rt" directory (and not in "c:\pogram files"):

tcc-rt.exe /qn APPDIR=c:\tcc-rt
 
Aug 3, 2016
376
9
Netherlands
Mostly, I find the update process is too interactive (even with option /u). Is there a way to download e.g. tcmdx64.exe and run it silently? Preferably with some way to change some of the options (e.g. I don't want a desktop icon)

Some good news, some bad ..

Yes unattended installation of tcmd.exe is absolutely possible.

I figured it out some time ago and managed to create a silent install of tcmd.exe, with the possibility to set all the installation options: intsallation folder, Everything options, file associations, shortcuts, suppression of Welcome message (IE window), connection to Advanced Installer website and what have you. Worked fine.

So it is possible. The not so good news (for you): after playing with it, I deleted everything ... (I don't need it; it was just some fun)
And I'm not going to do this exercise again (the installer script is rather a mess; it took me well over an hour to figure out all the options)

Hopefully someone else can help you out.
 
Similar threads
Thread starter Title Forum Replies Date
noahcoad How to? Prevent web url from opening after silent install Support 0
fishman@panix.com 27.00.17 x64 will not install for me!! Support 4
Joe Caverly Here-Document on new Install Support 21
S 32-bit Take Command v22 install for thumb drive Support 1
Roedy install fail Support 9
A Reinstalling TCC-RT 21.01.57 triggers a new install instead of update/reinstall Support 3
R Portable install with v21 - why did it not work? Support 3
G How to? Unable to install TCMD 21 under Win2012R2 Support 5
samintz Build 38 Install issue Support 5
N Cannot install Support 2
fishman@panix.com Version 21.23 fails to install Support 4
Seven Update / install issue with 20.0.20.10.32 take command Support 7
keithg1964 TCC RT Install Files Support 1
fishman@panix.com Once again the Can't Install bug bites... Support 2
Roedy missing English.dll, failed install Support 2
T Beta - duplicate install Support 7
J How to? 20beta: How to install x86 on x64 Support 2
fishman@panix.com 19.10.51 will not install for me Support 1
A Latest TCC/LE install broken Support 1
M How to? Take Command\TCC install problem... Support 2
H New Install; Everything setup issues Support 9
fishman@panix.com 19.02.37 Does Not Install For Me Support 2
D V19 fails to install on Win7-64bit, installer says: Support 2
Alpengreis [TC 19.0 Beta 22/23] Install/Update-"Problems" Support 4
bwawsc2 Can't install updates to TCMD x64 Support 5
fishman@panix.com 18.00.31 would not install for me Support 5
M How to? Run TCC from Windows Install DVD... Support 2
T Everything install forced (sometimes) Support 2
vefatica Build 28 install Support 8
S How to? Remote Install Support 1
I Take Command 18 x64 Install Hang Support 2
vefatica Build 14 install Support 3
T Clean install - squeaky clean Support 14
Alpengreis [TC 17.x] Install with "option /u" failed Support 5
vefatica Update to current install dir? Support 8
S Install TC 17.00.37 x64 expires immediately & invalidates registered TCmd v16.03.55 Support 3
CWBillow TCMD v16 won't install Support 6
C Build 34 install error Support 4
jbanaszczyk TCMD 16 Install - download folder Support 2
samintz Can't install 15.01.54 on Win7 x64 Support 6
L 15.01.54 won't install on Windows 8.1 x86 Support 2
MickeyF gpf when trying to use tcc.exe on standalone install Support 0
S How to? Install TCMD for ALL users Support 5
D New 64-bit install goes to Program Files x86 Support 3
C Install Issue with 3rd Party Privelege Escalation Support 2
S How to? Install from same installer copy after cancelling previously Support 6
F How to install 64-bit after having installed 32-bit on Win7 Support 2
Peter Bratton Observations on v15 install Support 4
vefatica Install two minor versions Support 4
Roedy WAD Minor long-standing install problems Support 6

Similar threads