Create a silent setup with Visual Studio 2010
-
Hey guys, I've created an application which I want to install on a server (Windows Server 2008 R2). I want the setup to run unattended and since the setup is being started from a Windows Service I cannot have any GUI components. Thus in fact, I want a silent setup. The MSI is here already. Executing is from a command prompt with the /? parameter, gives me a dialog window with all possible parameters. If I choose the /silent parameter, the software is not installed. If I choose the /passive parameter (unattended) Windows Server 2008 shows me a security box 'Do you want to allow the following program from an unknown publisher to make changed to this computer'. How can I create a MSI file which fully supports silent installs on Windows Server 2008 (and Windows 7) ? Thanks guys, Eduard
.: I love it when a plan comes together :. http://www.zonderpunt.nl
-
Hey guys, I've created an application which I want to install on a server (Windows Server 2008 R2). I want the setup to run unattended and since the setup is being started from a Windows Service I cannot have any GUI components. Thus in fact, I want a silent setup. The MSI is here already. Executing is from a command prompt with the /? parameter, gives me a dialog window with all possible parameters. If I choose the /silent parameter, the software is not installed. If I choose the /passive parameter (unattended) Windows Server 2008 shows me a security box 'Do you want to allow the following program from an unknown publisher to make changed to this computer'. How can I create a MSI file which fully supports silent installs on Windows Server 2008 (and Windows 7) ? Thanks guys, Eduard
.: I love it when a plan comes together :. http://www.zonderpunt.nl
The command line options for MsiExec have a silent /q option (no UI) - http://support.microsoft.com/kb/314881[^]
The funniest thing about this particular signature is that by the time you realise it doesn't say anything it's too late to stop reading it. My latest tip/trick
-
The command line options for MsiExec have a silent /q option (no UI) - http://support.microsoft.com/kb/314881[^]
The funniest thing about this particular signature is that by the time you realise it doesn't say anything it's too late to stop reading it. My latest tip/trick
Yes I Know that, as you read my question, the problem is that when the setup is running in 'silent mode', my software is not installed. It seems you have to have some kind of GUI in order to accept the UAC message. My question is if there is any way to get the setup going with automatic acceptance of the UAC message or something. I understand there is no way to get rid of the UAC message, but maybe there is some kind of parameter accepting the UAC message (/q /uac=accept or something)...
.: I love it when a plan comes together :. http://www.zonderpunt.nl