Silent Install Mariadb 10.6 on Windows without HeidiSQL - window

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

Related

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.

MSI not upgrading when ran under system account

I am running an MSI on a remote machine using PsExec using this command:
psexec -accepteula \\$(remote-machine-fqdn) -s cmd /c "msiexec.exe /qn /I $(path-to-msi) /Lv $(path-to-log-file)"
This works fine the first time, in that installs the application.
However, subsequent runs (and this is being run as part of a CI build in TFS) causes multiple versions of the application to appear in 'Add and Remove Programs'. If I run the installers myself (log on to the server, click on the MSI, etc.), then it upgrades correctly so the problem does not appear to be in installer itself.
I think the problem is to do with running as the system account (the -s switch in the PsExec command), but I can see no reason why this should be happening. Anyone seen this before?
Try passing ALLUSERS=1 public property to msi while fresh and upgrade installations.

Squid proxy - Windows silent/automated installation

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:\

how to make an existing msi package unattended install

Sorry for the newbie-ish question, but for all my years, I've never dealt with windows installation except as a user and I'm not sure how to start this.
I have two 3rd party packages to install. One I know is msi based but the other I have not found out yet. It comes with a setup.exe and a wrapper.exe - which we use to install.
Both installation prompt the user for language and a number of various options.
I need to wrap or do something to make these unattended installations.
I may be able to get some property information and I've read Silent installation of a MSI package - is that how I go about doing this? There will be a boat load of properties.
Basically, how do I go about wrapping the setup.exe and building / providing some type of response file.
thanks,
jon
Try this procedure to test if the setup is an MSI:
In the folder where your setup.exe is located, hold down shift, and right click in an empty space. Click "Open new command window here".
Type in setup.exe /a and let the setup start. This should launch an "admin install" if the setup.exe is an MSI setup at all. If you see a way to specify a path, define one and press next. This should now extract all files from within the setup.exe exposing the MSI file.
Once you have the MSI file extracted, it can in most cases be installed via a standard msiexec.exe command line like this: msiexec.exe /i setup.msi
To learn how to install an MSI file silently, check this thread:
How to interactive a silently installing msi? (Progress data and cancel it)
Just one final question: are you delivering these setups as a product, or are you trying to install to your work network or similar?
If those wrapper/setup programs don't have a silent mode then the whole process can't be silent. As far as the MSI files are concerned, the msiexec command line stuff is what you need, including specifying properties on the command line, such as TARGETDIR- if the default is wrong, and TRANSFORMS= assuming the language choice is a transform choice. If you turn on Windows Installer logging policy (or the wrappers let you create a verbose log) you'll see what command lines the wrappers use, so duplicate them except you'd add a /qn type of option to make them silent. If they require elevation to admin to install you'd have to launch them from an admin prompt because a silent install won't ask for elevation on UAC systems.

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