https://bugs.winehq.org/show_bug.cgi?id=38417
Bug ID: 38417 Summary: [EA] Origin self-updater fails to install updates Product: Wine Version: 1.7.40 Hardware: x86 URL: http://www.dm.origin.com/download OS: Linux Status: NEW Keywords: download Severity: normal Priority: P2 Component: -unknown Assignee: wine-bugs@winehq.org Reporter: gyebro69@gmail.com CC: sebastian@fds-team.de Distribution: ---
Created attachment 51271 --> https://bugs.winehq.org/attachment.cgi?id=51271 terminal output
You don't need to have an Origin account to reproduce the problem.
I have this problem both with the Thin Installer (OriginThinSetup.exe) and the 'normal' installer (OriginSetup.exe). When installation of the client is finished it tries to update itself to the latest version. The updated files are downloaded in /drive_c/users/Public/Application Data/Origin/SelfUpdate/StagedUpdate however an error message is shown when Origin tries to perform the update: 'Something went wrong during the installation. Please reinstall Origin'
Re-running Origin.exe from the install directory results in the same error message so the client can't be installed properly.
The updater creates a log file (UpdateTool_Log.txt) which contains lots of these "SetFileAttributes failed.." errors (maybe related to the problem):
[2015/4/15 12:39:18.457] Starting ; Update System 2 ; UpdateTool v9.5.12.2862 [2015/4/15 12:39:18.572] Mutex acquired. [2015/4/15 12:39:18.573] Registry operations [2015/4/15 12:39:18.574] Setting ProgramData permissions succeeded [2015/4/15 12:39:18.585] Origin running at: C:\Program Files\Origin\Origin.exe [2015/4/15 12:39:18.586] Found Origin folder: C:\Program Files\Origin\ [2015/4/15 12:39:18.587] SelfUpdate data location: C:\users\Public\Application Data\Origin\SelfUpdate\StagedUpdate\ [2015/4/15 12:39:18.590] Found valid update data. [2015/4/15 12:39:18.599] FILE_ATTRIBUTE_ARCHIVE: C:\Program Files\Origin\Origin.VisualElementsManifest.xml. Last error: [32] [2015/4/15 12:39:18.600] SetFileAttributes failed.. Last error: [0] [2015/4/15 12:39:18.600] Attempting deletion operation: C:\Program Files\Origin\Origin.VisualElementsManifest.xml. Number of times: [1]. Last error: [0] [2015/4/15 12:39:18.651] FILE_ATTRIBUTE_ARCHIVE: C:\Program Files\Origin\Origin.VisualElementsManifest.xml. Last error: [32] [2015/4/15 12:39:18.652] SetFileAttributes failed.. Last error: [0] [2015/4/15 12:39:18.652] Attempting deletion operation: C:\Program Files\Origin\Origin.VisualElementsManifest.xml. Number of times: [2]. Last error: [0] ...
Tested in wine-1.7.40-129-gf2aa42d on Fedora 21 The same problem persists in Wine 1.7.39/1.7.40
OriginThinSetup.exe sha1: c4a6aae0949c00d45a7adb24f27b308d8ea8eef5