Squid proxy - Windows silent/automated installation - windows

Is there a way to install Squid proxy on window silently?
It's an msi installer, and I tried the silent install option for msi
https://blogs.technet.microsoft.com/ilikesql_by_dandyman/2013/03/10/how-to-install-a-msi-file-unattended/
/qn
/quiet
It did install partially and did not work.
Does anyone know the right way to do this? Is there a command line installer? something like apt-get in linux? or chocolatey? anything that works wil be helpful.
Thanks.

This works
MSIEXEC /i squid.msi /qn /log install_log.txt ROOTDRIVE=C:\

Related

tesseract silent installation through powershell

I am trying to install Tesseract-OCR application on a windows server through powershell but I cannot find any switches for silent install. Anyone done this before or know how to do this?
Add /S argument to silently install it.
Command will be like this:
tesseract.exe /S

iisnode msi file doesn't install in preferred location

I have msi file for iisnode, my machine is winx64. I want to install iisnode in preferred location. When I run the msi file it is installed, by default at C:\programFiles
I want to install in different location, because, TFS server will be deploying and replacing artifact inside the iisnode\www. It is not good idea to have replacing contents inside C:programFiles.
I tried msiexec.exe /a yarn-1.10.1.msi TARGETDIR=C:\cygwin64\home but didn't succeed,I have in the pic below (installation package cannot be opened)
If anyone have suceeded in installing msi file in different location when customization doesn't exist will be great, thank you
Firstly, I'm not sure why your screenshot specifies an /a switch for an administrative installation? You want to use /i instead for a normal installation.
Use this command line (/qb for a 'basic' user interface, or change to /qn for a silent installation):
msiexec /i yarn-1.10.1.msi INSTALLDIR=c:\cygwin64\home /qb
Not sure if you are trying to install the app or creating administrative installation?
but the above mentioned error suggests that the yarn-1.10.1.msi is not available in C:\iisnode1 folder. Could you please check that once.

Silent Install Mariadb 10.6 on Windows without HeidiSQL

By default, mariadb comes with HeidiSQL, so HeidiSQL is automatically installed when installing Mariadb silently on Windows. https://mariadb.com/kb/en/library/installing-mariadb-msi-packages-on-windows/#silent-installation
There is an option to remove the HeidiSQL if I install with UI, but I am not sure how to do with silent-installation. Can anyone help me to unselct HeidiSQL in silent-installation process?
Thank you
pass following properties to msiexec /i
ADDLOCAL=ALL
REMOVE=HeidiSQL
Example:
msiexec /i mariadb-10.3.9-winx64.msi ADDLOCAL=ALL REMOVE=HeidiSQL /L*V log.LOG /q /passive
HeidiSQL is a normal MSI feature, you do not need transforms or such.
If you have an option to remove something with UI, you can do that also with commandline.
It's pretty straightforward - create a response transform for the GUI installation with HeidiSQL deselected. Then, apply the transform to the existing MSI via the command line.
There are lots of guides on how to create a response transform using different tools; here's some video guide: https://youtu.be/-Thj8rK-Wok

Windows 7 embedded

Due to turn windows features on or off is blank, so I need to install IIS using command line, How can I install default IIS using command line?
I have found a solution to it. See: http://reboot.pro/topic/16383-windows-embedded-standard-7-add-packages-on-a-live-image/
Basically you need to get the .cab package from the installation dvd and then feed it to DISM, like: DISM.exe /online /Add-Package /PackagePath:C:\Temp /NoRestart
Have you try to use the optionalfeatures command? Are you administrator on the computer?
Also you can try the DISM if the above doesn't work for you.

installation using msi.exec open help options every time

I have been trying to install a msi file using cmd. The command looks like
C:\Windows\system32>msiexec.exe -q -i "Installer.msi"
But every time I run this the window for help options is opened for msi instead of running the installer. What could be the problem?
First, you need to specify the full path to the MSI file. Also, the command line is really picky if you are specifying anything else, and sometimes it doesn't like spaces between value=proprtyname. Those errors will give you the help screen because you got the syntax wrong in some way.
Note that the MSI file will not install successfully in silent mode if it requires elevation. It won't ask for the elevation prompt if you are in silent mode. That means you should try the command line install from an elevated prompt.
I think msiexec.exe /i installer.msi /qn should work.
See here for a similar thread on serverfault: https://serverfault.com/questions/30068/silent-install-of-msi/67001#67001
To deal with the complicated msiexec.exe command line interface, try this free tool from Installation tool developer Altiris: http://www2.wise.com/filelib/WICLB.exe - broken link resurrected from Wayback machine. Seeing as the tool was freeware I assume that is legal.
Please run the download by virustotal.com for safety.
Here is a screenshot:

Resources