[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Change Silent Installation Behavior to Require Restart / Don

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Thu, 16 Jul 2015 19:44:08 +0200

On 16.07.2015 19:06, eric wrote:
> Gavin:
> I am using Windows 7 SP1 as my test environment which is using Windows
> installer 5.0. This supports all of the latest commands for msiexec. I did
> try putting the "/i filename" bit at the very end and it still did not help.
> I have tried setting properties from a transform file which was equally
> unsuccessful. In digging through the MSI logs, the values are being set
> correctly, just not working as I envisioned them to.
>
> Stefan:
> I cannot set the WixUIRMOption=DontUseRM as it is a private property. I
> tried setting this value using a transform before I made my first post and
> it was unsuccessful. Just for fun I tried it from the command line just now
> and it still did not work.

I think you have to set a policy on your computer(s) to disable the
restart manager, because as it says here:
https://msdn.microsoft.com/en-us/library/windows/desktop/aa372466%28v=vs.85%29.aspx

"Silent UI level installations always shut down applications and
services, and on Windows Vista, always use Restart Manager."

So you have to set the "DisableAutomaticApplicationShutdown" policy as
described here:
https://msdn.microsoft.com/en-us/library/aa368298%28v=vs.85%29.aspx
to "2".

But remember: preventing processes from restarting and expecting a
reboot but not automatically reboot leaves the system in an unstable
state because only *some* of the files got replaced, not all. I guess
that's why msi doesn't let you do this easily.
At least with an UI install, the user is aware of the problem - for
silent installs, the user would not know that and I guess that's why
it's not possible to do that.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest interface to (Sub)version control
    /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3127432
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2015-07-16 19:44:07 CEST

This is an archived mail posted to the TortoiseSVN Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.