Bug 18276 - Unable to activate Xamarin.Mac using command line
Summary: Unable to activate Xamarin.Mac using command line
Status: VERIFIED FIXED
Alias: None
Product: Xamarin.Mac
Classification: Desktop
Component: Activation ()
Version: 1.8.0
Hardware: PC Mac OS
: High normal
Target Milestone: 1.8.0
Assignee: Rolf Bjarne Kvinge [MSFT]
URL:
Depends on:
Blocks:
 
Reported: 2014-03-10 05:31 UTC by narayanp
Modified: 2014-03-14 01:19 UTC (History)
5 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
VERIFIED FIXED

Description narayanp 2014-03-10 05:31:30 UTC
Steps to reproduce:
1. Go to Xam.Mac build(.dmg file) location through terminal
2. Run the following commands: First 'touch /tmp/XAMMAC_HEADLESS_INSTALL' and then
3. 'sudo installer -pkg xamarin.mac-1.6.11.pkg -target /'
4. Enter  activation code

Actual Result: Activation error MM9014 when installing using command line in terminal while if I am installing manually using same activation code, it installed successfully.

Expected result: Xamarin.Mac should installed using command line.

Supplement info:
http://www.screencast.com/t/7PzCugGZ

Environment details:
All Mac
X.S 4.2.4(build 23)
Mono 3.2.7
Xam Mac 1.8.0.1

Regression Status:
REGRESSION: Using stable Xamarin.Mac 1.6.27, it gets installed successfully without giving Xamarin.Mac Activation dialog window.
Comment 1 Rolf Bjarne Kvinge [MSFT] 2014-03-11 05:34:25 UTC
Can you try again with 1.8.0.2?
Comment 2 Aaron Bockover [MSFT] 2014-03-12 12:51:08 UTC
I am unable to reproduce this. Can you test with a real license instead of staging?
Comment 3 Mohit Kheterpal 2014-03-12 14:19:25 UTC
*** Bug 18252 has been marked as a duplicate of this bug. ***
Comment 7 narayanp 2014-03-14 00:47:43 UTC
I have checked this issue with following builds:

All Mac
Xam.Mac 1.8.0.5

I am successfully able to install Xamarin Mac using command line. Now it does not prompt us Activation window to enter activation code. It is behaving same as stable Xam.Mac 1.6.27. This is the output for the same:

nischals-Mac-mini:~ nischal$ cd Desktop/xamarin.mac-1.8.0.5.pkg 
-bash: cd: Desktop/xamarin.mac-1.8.0.5.pkg: Not a directory
nischals-Mac-mini:~ nischal$ cd Desktop/
nischals-Mac-mini:Desktop nischal$ touch /tmp/XAMMAC_HEADLESS_INSTALL
nischals-Mac-mini:Desktop nischal$ sudo installer -pkg xamarin.mac-1.8.0.5.pkg -target /
Password:
installer: Package name is Xamarin.Mac
installer: Installing at base path /
installer: The install was successful.
nischals-Mac-mini:Desktop nischal$ 

Hence closing this issue
Comment 8 narayanp 2014-03-14 01:19:29 UTC
An update to this issue

I have checked this issue on staging environment. And it is working fine on staging.