I tried to Update from 6.0.50805 to 50823 and the Installer fails when cleaning up the start menu shortcuts and rolls back to the previous version.
UAC is enabled on my system, my user is a normal domain user, the user running the installer is local admin and the administrators group has full access permissons on the path in question.
I tried to remove all shortcuts from personal and generic start menus, and also disabled the antivirus.
RoyalTS5 has been uninstalled a few weeks ago.
I try to avoid uninstalling and reinstalling at the moment, as i don’t think it will resolve the issue.
Here is the part of the install log, where it fails.
========
Info: Calling custom action RoyalTS.Setup!RoyalTS.Setup.CustomActions.FileSystemActions.RemoveStartMenuShortcut
Info: Exception thrown by custom action:
Info: System.Reflection.TargetInvocationException: Ein Aufrufziel hat einen Ausnahmefehler verursacht. —> System.UnauthorizedAccessException: Der Zugriff auf den Pfad “C:\Users\XXXXXXXXX\AppData\Roaming\Microsoft\Windows\Start Menu\Programme” wurde verweigert.
bei System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
bei System.IO.FileSystemEnumerableIterator1.AddSearchableDirsToStack(SearchData localSearchData) bei System.IO.FileSystemEnumerableIterator1.MoveNext()
bei System.Collections.Generic.List1..ctor(IEnumerable1 collection)
bei System.IO.Directory.GetFiles(String path, String searchPattern, SearchOption searchOption)
bei RoyalTS.Setup.CustomActions.FileSystemActions.RemoveStartMenuShortcut(Session session)
— Ende der internen Ausnahmestapelüberwachung —
bei System.RuntimeMethodHandle.InvokeMethod(Object target, Object arguments, Signature sig, Boolean constructor)
bei System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object parameters, Object arguments)
bei System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object parameters, CultureInfo culture)
bei Microsoft.Deployment.WindowsInstaller.CustomActionProxy.InvokeCustomAction(Int32 sessionHandle, String entryPoint, IntPtr remotingDelegatePtr)
Info: CustomAction RemoveStartMenuShortcut returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
Info: Action ended 07:40:56: InstallFinalize. Return value 3.
======
BYE
Roman