Automated install
Moderator: Project members
-
- 500 Command not understood
- Posts: 2
- Joined: 2012-01-30 18:44
- First name: John
- Last name: Pitz
Automated install
Hello,
I am working for a small company that would like to use FileZilla server on a windows 7 embedded machine and I was wondering if there is any way to automate the installation of FileZilla, either by using command line arguments to the installer, or if need be by copying the installation directory? If I need to copy the installation directory how do I get FileZilla to launch on each reboot?
By the way, we need to do this hundreds or thousands of times with each installation identical.
Thank you
I am working for a small company that would like to use FileZilla server on a windows 7 embedded machine and I was wondering if there is any way to automate the installation of FileZilla, either by using command line arguments to the installer, or if need be by copying the installation directory? If I need to copy the installation directory how do I get FileZilla to launch on each reboot?
By the way, we need to do this hundreds or thousands of times with each installation identical.
Thank you
Re: Automated install
The server installer should support the /S argument which turns on silent installation.
-
- 500 Command not understood
- Posts: 2
- Joined: 2012-01-30 18:44
- First name: John
- Last name: Pitz
Re: Automated install
Thank you. I was trying /s. This is working much better.
-
- 500 Command not understood
- Posts: 5
- Joined: 2014-01-13 14:31
Re: Automated install
Can the listening port be modified from the command line installer? or post installation programatically?
What about user account creation from the command line? or post installation programatically?
What about user account creation from the command line? or post installation programatically?
Re: Automated install
Modify the "FileZilla Server.xml" file directly and call "FileZilla Server.exe /reload-config" afterwards.
No support requests over PM! You will NOT get any reply!!!
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org
FTP connection problems? Please read Network Configuration.
FileZilla connection test: https://filezilla-project.org/conntest.php
FileZilla Pro support: https://customerforum.fileZilla-project.org
-
- 500 Command not understood
- Posts: 5
- Joined: 2014-01-13 14:31
Re: Automated install
Thanks for the response, that should work nicely.
I assume that restarting the server (service) would similarly re-import the xml configuration?
I assume that restarting the server (service) would similarly re-import the xml configuration?
-
- 500 Command not understood
- Posts: 5
- Joined: 2014-01-13 14:31
Re: Automated install
When performing a "silent" install /S the Filezilla Sever Interface application is still executed. Is there a way to prevent this?
Additionally, I'm trying to write an automated uninstall. I've decided to use the approach document here:
http://www.codeproject.com/Tips/428199/ ... ly-with-WM
Note that I had to modify the reference code to search through Win32_Service rather than Win32_Product to find "Filezilla Server"
However it appears that neither the installation executable FileZilla_Server-0_9_43.exe nor the FileZilla Server.exe have an invokable /uninstall class. Any suggestions?
Additionally, I'm trying to write an automated uninstall. I've decided to use the approach document here:
http://www.codeproject.com/Tips/428199/ ... ly-with-WM
Note that I had to modify the reference code to search through Win32_Service rather than Win32_Product to find "Filezilla Server"
Code: Select all
Uninstall3Program("FileZilla Server");
//...
public static bool Uninstall3Program(string ProgramName)
{
try
{
ManagementObjectSearcher mos = new ManagementObjectSearcher(
"SELECT * FROM Win32_Service WHERE Name = '" + ProgramName + "'");
foreach (ManagementObject mo in mos.Get())
{
try
{
if (mo["Name"].ToString() == ProgramName)
{
object hr = mo.InvokeMethod("Uninstall", null);
return (bool)hr;
}
}
catch (Exception ex)
{
Console.WriteLine("Failed to uninstall " + ProgramName + " - " + ex.Message);
//this program may not have a name property, so an exception will be thrown
}
}
//was not found...
return false;
}
catch (Exception ex)
{
return false;
}
}
Re: Automated install
To uninstall the FileZilla Server service, call FileZilla Server.exe with the /uninstall parameter.
-
- 500 Command not understood
- Posts: 5
- Joined: 2014-01-13 14:31
Re: Automated install
This function appears to uninstall the service only and not the application assuming the application is not currently running. I would like to uninstall the entire application including service and directory.botg wrote:To uninstall the FileZilla Server service, call FileZilla Server.exe with the /uninstall parameter.
-
- 500 Command not understood
- Posts: 5
- Joined: 2014-01-13 14:31
Re: Automated install
So silly me there's an uninstall.exe inside the FileZilla Server directory which I can call programatically. Since a Microsoft Installer isn't used, FileZilla isn't listed in the Win32_Product class and the previous method cannot be used. I went through the registry to find out how the uninstallation worked and found the following simply solution.
C:\Program Files (x86)\FileZilla Server\Uninstall.exe
I would still like to know if there is a way to prevent the FileZilla Server Interface application from opening upon installation if possible?
C:\Program Files (x86)\FileZilla Server\Uninstall.exe
I would still like to know if there is a way to prevent the FileZilla Server Interface application from opening upon installation if possible?
Re: Automated install
If using silent install, only by modifying the registry after setup.
-
- 500 Command not understood
- Posts: 2
- Joined: 2014-02-17 11:27
Re: Automated install
I'm also trying to build automatic silent installer of FileZilla Server.
Has met the same problem as above during tests.
Running installer with /s option places also FIleZilla Server Interface (FZSI) to Autostart folder. It is not a problem to correct the setting in the Registry afterwards. But the installer also starts FZSI during installation ("Connect to server" dialog window appears).
This event obviously confuses the user, especially if installing FileZilla is only a part of a large installation sript (where user does not care about such "thin" details as "server IP" etc.).
So my questions are:
1. Is there a way to suppress FZSI startup during silent installation procedure?
2. Does FZS installer support /user=all command line option (have seen a mention about that somewhere in FZ forums, but not sure).
Thanks in advance.
Has met the same problem as above during tests.
Running installer with /s option places also FIleZilla Server Interface (FZSI) to Autostart folder. It is not a problem to correct the setting in the Registry afterwards. But the installer also starts FZSI during installation ("Connect to server" dialog window appears).
This event obviously confuses the user, especially if installing FileZilla is only a part of a large installation sript (where user does not care about such "thin" details as "server IP" etc.).
So my questions are:
1. Is there a way to suppress FZSI startup during silent installation procedure?
2. Does FZS installer support /user=all command line option (have seen a mention about that somewhere in FZ forums, but not sure).
Thanks in advance.
Re: Automated install
Kid_Deceiver: No and no. The second one applies to the client's installer.
-
- 500 Command not understood
- Posts: 2
- Joined: 2014-02-17 11:27
Re: Automated install
Thanks for the prompt answer.
I shall try to find out a kind of hack to get rid of FSZI, but have not too much hope to succeed.
I shall try to find out a kind of hack to get rid of FSZI, but have not too much hope to succeed.