Bug (?) in installer command line switches

Message boards : Questions and problems : Bug (?) in installer command line switches
Message board moderation

To post messages, you must log in.

AuthorMessage
Tgellan

Send message
Joined: 6 Jul 09
Posts: 2
Luxembourg
Message 25896 - Posted: 6 Jul 2009, 8:03:23 UTC

Hi,

I'm trying to install boinc using the command line switches as found at http://boinc.berkeley.edu/wiki/Creating_custom_installers .

Here's the exact string I'm using:
boinc_6.6.36_windows_intelx86.exe /s /v"/qn ENABLEPROTECTEDAPPLICATIONEXECUTION=1 ENABLESCREENSAVER=0 ENABLEUSEBYALLUSERS=0 "

Problem is, it will NOT install as a service using this string. If I run the same settings using the GUI, it does install as a service. :-(

Any idea what I miss?

Thankss
ID: 25896 · Report as offensive
Profile Jord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15481
Netherlands
Message 25897 - Posted: 6 Jul 2009, 9:56:38 UTC - in response to Message 25896.  
Last modified: 6 Jul 2009, 10:04:11 UTC

Try the following:

boinc_6.6.36_windows_intelx86.exe /s /v"/qn ENABLEPROTECTEDAPPLICATIONEXECUTION2=1 ENABLESCREENSAVER=0 ENABLEUSEBYALLUSERS=0 "

ENABLEPROTECTEDAPPLICATIONEXECUTION was used for BOINC 6.2

ENABLEPROTECTEDAPPLICATIONEXECUTION2 is used for BOINC 6.4 and above.

But I think you may then run into the problem that the service install does not have a password. While you can set it through adding BOINC_MASTER_PASSWORD and BOINC_PROJECT_PASSWORD, these passwords are rehashed using a base64 encoder.

Or as I say in one of my FAQs:
Passwords
Q. Can I change the password on the boinc_master and boinc_project accounts?
A. Yes you can.
You will need to need to go to the service control manager and update the password to start the service (boinc_master). (BOINC->Properties->Logon)
Next you need to use a base64 encoder to rehash the password and fill this in in the client_auth.xml file in your BOINC data directory. You can use a base64 encoder online, such as this one.

Do know that the passwords on the accounts are set to never expire.

ID: 25897 · Report as offensive
Tgellan

Send message
Joined: 6 Jul 09
Posts: 2
Luxembourg
Message 25901 - Posted: 6 Jul 2009, 14:55:47 UTC - in response to Message 25897.  

Thanks,
that worked...

Didn't encounter any password related problems though. The installer just created the two windows accounts, with password.
ID: 25901 · Report as offensive
Profile Jord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15481
Netherlands
Message 25902 - Posted: 6 Jul 2009, 15:08:52 UTC - in response to Message 25901.  

OK, great. Good to know. :)
ID: 25902 · Report as offensive

Message boards : Questions and problems : Bug (?) in installer command line switches

Copyright © 2024 University of California.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.