Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Windows] Silent install of ownCloud Client 2.0.1 exits with error code 1223 #3831

Closed
feltel opened this issue Sep 15, 2015 · 25 comments
Closed
Assignees
Labels
p2-high Escalation, on top of current planning, release blocker sev1-critical type:bug
Milestone

Comments

@feltel
Copy link

feltel commented Sep 15, 2015

Running setup ownCloud Client for Windows 2.0.1 in silent mode (/S switch) returns error code 1223 upon completion of setup. 2.0.0 setup produces the same error. ownCloud Client 1.8.4.5267 was the last version with working silent setup.

Other than previous versions of ownCloud client I´m not able to do an silent install without getting error code 1223. The install seems to be complete and usable (all files are installed, start menu entries, ...) but running the setup with /S ends with this:

C:\Users\some.user>echo %errorlevel%
0

C:\Users\some.user>start /wait w:\owncloud-client\CLIENT_DATA\setup\ownCloud-setup.exe /S

C:\Users\some.user>echo %errorlevel%
1223

In the above example I´m running the setup while I´m logged in into my workstation (Win 8.1 x64). OPSI, my software deployment tool of choice runs installations as SYSTEM user but installing latest ownCloud client produces the same setup error.

@phil-davis
Copy link
Contributor

Note for reference: https://msdn.microsoft.com/en-us/library/windows/desktop/ms681383%28v=vs.85%29.aspx
Windows system error code 1223 is:
ERROR_CANCELLED
1223 (0x4C7)
The operation was canceled by the user.

@dragotin
Copy link
Contributor

Hmm, ok, thanks.

@danimo
Copy link
Contributor

danimo commented Sep 15, 2015

@dragotin Why close? If the operation is silent it was by definition not closed by the user...

@danimo danimo reopened this Sep 15, 2015
@CroniC-
Copy link

CroniC- commented Sep 15, 2015

Same problem here. Is there any workaround?

@Jofagi
Copy link

Jofagi commented Sep 15, 2015

I have the same problem on Win10 x64.

I get the error regardless of whether I'm overwriting an existing installation or uninstalling first and then running the installer.

I have another system with Win7 x64 where I don't recall having these problems.

@guruz guruz changed the title Silent install of ownCloud Client 2.0.1 exits with error code 1223 [Windows] Silent install of ownCloud Client 2.0.1 exits with error code 1223 Sep 16, 2015
@guruz guruz added this to the 2.0.2-next milestone Sep 16, 2015
@guruz guruz added the type:bug label Sep 16, 2015
@danimo
Copy link
Contributor

danimo commented Sep 17, 2015

@Jofagi This is not a Windows 10 issue. We did some changes in the installer recently. This may be a bug in those changes.

@dragotin dragotin added the p2-high Escalation, on top of current planning, release blocker label Sep 28, 2015
@danimo danimo added the ReadyToTest QA, please validate the fix/enhancement label Oct 7, 2015
@danimo
Copy link
Contributor

danimo commented Oct 7, 2015

Please test with nightly builds >= 5523

@Jofagi
Copy link

Jofagi commented Oct 7, 2015

It's fixed for me. Thank you very much!

start /wait ownCloud-2.0.2.5523-nightly20151007-setup.exe /S
>echo %errorlevel%
0

@Dianafg76 Dianafg76 removed the ReadyToTest QA, please validate the fix/enhancement label Oct 8, 2015
@Dianafg76
Copy link

@danimo I tested this issue on WINDOWS 8, and for my is not working, when I write the command (start /wait c:......\ownCloud-2.0.2.5523-nightly20151007-setup.exe /S), I see this error
screen shot 2015-10-08 at 08 53 25

I try with this version ownCloud-2.0.2.5513-nightly20151005-setup.exe, and ejecute the command, I can't see the error. But if I ejecute the command:

echo %errorlevel%
1223

@Dianafg76
Copy link

@danimo On WINDOWS 10 it is working OK

@dragotin
Copy link
Contributor

dragotin commented Oct 8, 2015

@Dianafg76 are you sure about the nightly build version in your Win8 test? @danimo said Please test with nightly builds >= 5523 but you mentioned an older version in #3831 (comment)

@Dianafg76
Copy link

@dragotin, @danimo I try with those two version ownCloud-2.0.2.5523-nightly20151007-setup.exe and ownCloud-2.0.2.5524-nightly20151008-setup.exe, and it is not working

@danimo
Copy link
Contributor

danimo commented Oct 8, 2015

so we need to enable magic defines after all, ARG... No idea which ones...

@feltel
Copy link
Author

feltel commented Oct 9, 2015

I can confirm that using the latest nightly build silent setup is now working as expected and does not produce error 1223 anymore.

@danimo
Copy link
Contributor

danimo commented Oct 9, 2015

@Dianafg76 Please try build 5529 (about to show up).

@Dianafg76
Copy link

@danimo I tested this issue with Desktop v ownCloud-2.0.2.5529-nightly20151009-setup.exe and is not working
I see the same error
screen shot 2015-10-09 at 14 44 25

@danimo
Copy link
Contributor

danimo commented Oct 9, 2015

@Dianafg76 Please retry with 5531.

@Dianafg76
Copy link

@danimo I tested again this issue on WINDOWS 8 with Desktop v ownCloud-2.0.2.5533-nightly20151010-setup.exe, and v ownCloud-2.0.2.5538-nightly20151013-setup.exe and is not working :(

screen shot 2015-10-13 at 09 13 18

@Dianafg76
Copy link

@danimo I tested this issue with different version:

WINDOWS version

Windows version OK NOK
Windows 7 Home Premium OK
Windows 8.1 Pro OK
Windows 2008 R2 Enterprise NOK
Windows 10 OK

@CroniC-
Copy link

CroniC- commented Oct 15, 2015

Tested on Win7 Pro x64

2015-10-15 08_13_06-administrator_ c__windows_system32_cmd exe - start _wait owncloud-2 0 2 5542-ni

The "Unable to elevate" error

@Dianafg76
Copy link

I tested again this issue with Desktop v ownCloud-2.0.2.5544-nightly20151015-setup.exe, on Windows 2008 and it installed OK

@dragotin
Copy link
Contributor

build ownCloud-2.0.2.5544-nightly20151015-setup.exe contains a patch that fixes this problem for @Dianafg76 test cases. @CroniC- if you could verify that would be great.

@dragotin dragotin added the ReadyToTest QA, please validate the fix/enhancement label Oct 15, 2015
@Dianafg76
Copy link

@CroniC- Can you test with this version: http://download.owncloud.com/desktop/daily/ownCloud-2.0.2.5544-nightly20151015-setup.exe, please?
Thanks

@CroniC-
Copy link

CroniC- commented Oct 15, 2015

Tested again on Win7 Pro x64 - It's working now!
2015-10-15 10_42_53-administrator_ c__windows_system32_cmd exe

@Dianafg76 Dianafg76 added approved by QA and removed ReadyToTest QA, please validate the fix/enhancement labels Oct 15, 2015
@Dianafg76
Copy link

@CroniC- Thanks !!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
p2-high Escalation, on top of current planning, release blocker sev1-critical type:bug
Projects
None yet
Development

No branches or pull requests

8 participants