Silent Mode not working

339 views
Skip to first unread message

Christopher McAtackney

unread,
Jan 8, 2013, 11:55:06 AM1/8/13
to dotneti...@googlegroups.com
Hi,

I've built a bootstrapper for my MSI using version 2.2.727.0 of dotNetInstaller, but I'm unable to get "silent" mode working.

Whenever I use the following command line;

<myBootStrapper>.exe /q

..then the UI for my MSI appears. I had expected /q to work like the silent mode for msiexec - am I mistaken in believing this?

Thanks for any help you can give,
Chris

Daniel Doubrovkine

unread,
Jan 8, 2013, 12:00:26 PM1/8/13
to dotneti...@googlegroups.com
Please collect the log with /log /logfile install.log. See what the command is used to launch your MSI.
--

dB. | Moscow - Geneva - Seattle - New York
dblock.org - @dblockdotorg

Christopher McAtackney

unread,
Jan 9, 2013, 4:56:01 AM1/9/13
to dotneti...@googlegroups.com
Hi Daniel,

Here's the output from the log;

2013-01-09 09:29:15 Silent mode: automatically starting install
<snip>
2013-01-09 09:29:15 Executing: msiexec /i "C:\Users\chris\AppData\Local\Temp\{467198F3-91C3-4E93-8B8D-6A07AF7ADFAB}\MySetup.msi"

So, it does report that it is going to run a silent install, but the msiexec command doesn't run with the appropriate switch (/qn).

Is there any reason why this might be the case?

Thanks,
Chris

Daniel Doubrovkine

unread,
Jan 9, 2013, 10:49:50 AM1/9/13
to dotneti...@googlegroups.com
DNI thinks you're in silent mode, good.

How is this MSI component configured? I bet you it's a cmd component with msiexec written by you in the configuration. DNI's MSI components automatically get the right parameters.

Post your config please if this doesn't help.

Christopher McAtackney

unread,
Jan 9, 2013, 11:47:01 AM1/9/13
to dotneti...@googlegroups.com
Hi again Daniel,

I took a look at my configuration and noticed this attribute;

cmdparameters_silent="" 

Am I correct in saying that I should put "/qn" in as the value of this parameter? I tried this and it seemed to do the trick, the MSI installed silently.

Thanks for all your help, much appreciated.

Chris

Daniel Doubrovkine

unread,
Jan 9, 2013, 12:53:39 PM1/9/13
to dotneti...@googlegroups.com
Yes, although you should not use a cmd component to run MSIs. Add your MSI as an "msi" component and it will take care of itself.

Christopher McAtackney

unread,
Jan 15, 2013, 8:26:15 AM1/15/13
to dotneti...@googlegroups.com
Ok, will take that under consideration - thanks for your help Daniel!
Reply all
Reply to author
Forward
0 new messages