TSVNCache.exe process left running during attempted upgrades, causing failed upgrades and not rolling back changes leaving no version installed

28 views
Skip to first unread message

hkystar35

unread,
Oct 16, 2018, 2:33:10 PM10/16/18
to TortoiseSVN
Recently updated approximately 250 users with a silent install of TortoiseSVN 10.10.1.28295 using just the normal MSI params of "/QN /L*v $logpath".

Most machines were running version 1.9.7.27907.

During the install, the MSI failed due to not having permission to the "C:\Program Files\TortoiseSVN\bin" even while running as SYSTEM. Further research led me to https://dandar3.blogspot.com/2012/04/tortoisesvn-installation-insufficient.html from way back in 2012 regarding the TSVNCache.exe process locking that folder. Testing it out on my users showed this to be the cause; once TSVNCache.exe was killed, the original silent script worked as expected.

Can this process be killed or gracefully closed from within the installer MSI to mitigate this behavior?


MSI Log exerpt:
MSI (s) (08:A0) [14:49:04:105]: Product: TortoiseSVN 1.10.1.28295 (64 bit) -- Error 1303. The installer has insufficient privileges to access this directory: C:\Program Files\TortoiseSVN\bin. The installation cannot continue. Log on as administrator or contact your system administrator.
Error 1303. The installer has insufficient privileges to access this directory: C:\Program Files\TortoiseSVN\bin. The installation cannot continue. Log on as administrator or contact your system administrator.

Stefan

unread,
Oct 16, 2018, 2:36:50 PM10/16/18
to TortoiseSVN


On Tuesday, October 16, 2018 at 8:33:10 PM UTC+2, Nicolas Wendlowsky wrote:
Recently updated approximately 250 users with a silent install of TortoiseSVN 10.10.1.28295 using just the normal MSI params of "/QN /L*v $logpath".

Most machines were running version 1.9.7.27907.

During the install, the MSI failed due to not having permission to the "C:\Program Files\TortoiseSVN\bin" even while running as SYSTEM. Further research led me to https://dandar3.blogspot.com/2012/04/tortoisesvn-installation-insufficient.html from way back in 2012 regarding the TSVNCache.exe process locking that folder. Testing it out on my users showed this to be the cause; once TSVNCache.exe was killed, the original silent script worked as expected.

Can this process be killed or gracefully closed from within the installer MSI to mitigate this behavior?

Actually, it *is* closed. But due to the fact that it automatically starts again if any explorer process fetches an overlay icon from TSVN, this usually doesn't last.

What you have to do is to make the silent install ignore open processes and just proceed:


Reply all
Reply to author
Forward
0 new messages