Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-19789] Windows: Docs - Clarify requirements & installation

GitHub Issuen/a
TypeStory
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2015-12-05T22:59:32.000+0000
Affected Version/sRelease 5.1.0
Fix Version/sRelease 5.2.0
ComponentsWindows
Labelsn/a
ReporterKota Iguchi
AssigneeGary Mathews
Created2015-10-26T12:45:18.000+0000
Updated2017-03-16T22:39:28.000+0000

Description

Per [~fokkezb] on TIMOB-19750: {quote} We might want to clarify http://docs.appcelerator.com/platform/latest/#!/guide/Installing_the_Windows_Phone_SDK-section-43306274_InstallingtheWindowsPhoneSDK-VisualStudio which could be read as Visual Studio 2015 being "higher" then VS2013 Community as well. {quote} Also, we might want to revisit installation docs about use with VS 2015 and Windows 10.

Attachments

FileDateSize
fig1.PNG2015-11-03T14:18:48.000+000022433
fig2.PNG2015-11-03T14:18:47.000+000026326
fig3.PNG2015-11-03T14:18:47.000+000025473

Comments

  1. Ewan Harris 2015-11-03

    I recently went through the setup of a Windows 10 + Visual Studio 2015 machine and here's what is needed in order to get the current 5.1.0 pre-relase stack working. Please note, I'm not mentioning the current things needed such as a Windows Publisher ID

    Visual Studio 2015 install requirements

    You will need to select _Custom_ install rather than _Typical_, see fig1 Then you will need to select _Windows 8.1 and Windows Phone 8.0/8.1 Tools_ in order to get the correct SDKs and emulators for Windows Phone, see fig2

    Windows 10 requirements

    The only thing I have noticed so far in that is *specific* to Windows 10 is that the in order to build a ws-local app you will need to enable Developer mode for your PC. This can be done by going to _Settings->Update & Security->For developers_ To improve UX we should be able to detect this by running the command Get-WindowsDeveloperLicense in Powershell, if the setting is set to either _Don't user developer features_ or _Sideload apps_ then it will throw the error
       Get-WindowsDeveloperLicense : There is no developer license on this computer.
       At line:1 char:1
       + Get-WindowsDeveloperLicense
       + ~~~~~~~~~~~~~~~~~~~~~~~~~~~
           + CategoryInfo          : InvalidOperation: (:) [Get-WindowsDeveloperLicense], InvalidOperationException
           + FullyQualifiedErrorId : NoRegisteredDeveloperLicense,Microsoft.Windows.DeveloperLicense.Commands.GetWindowsDevel
          operLicenseCommand
       
    However if _Developer mode_ is enabled then it will just return
       ExpirationTime      IsValid
       --------------      -------
       31/12/9999 23:59:59    True
       
    Here is a possible link we could use to explain developer mode and how to activate it https://msdn.microsoft.com/en-us/library/windows/apps/xaml/dn706236.aspx ccing [~fokkezb] on this comment as this ticket was filed due to your comment
  2. Fokke Zandbergen 2015-11-03

    [~eharris] some questions to clarify: * By Windows Phone 8.0/8.1 do you mean you need both or one of? * Is selecting Windows 8.1 and Windows Phone 8.0 and/or 8.1 also required if you only plan to build Windows 10 Universal apps? * Where is fig2?
  3. Kota Iguchi 2015-11-03

    FYI, I remember I used to install Windows Phone 8.0 SDK at the time when I install VS 2013, and then I installed Windows Phone 8.1 sdk from [here](https://dev.windows.com/en-us/develop/download-phone-sdk). Latest document from Microsoft says https://dev.windows.com/en-us/develop/download-phone-sdk {quote} The Windows Phone 8.1 development tools are installed with Visual Studio Express 2013 for Windows with Update 2 or later. {quote} So I was expecting Windows Phone 8.1 SDK will be installed without installing WP "8.0" sdk when you install VS 2013. Or, you might just say "you need to install latest Windows Phone 8.1 sdk, you can grab it from [here](https://dev.windows.com/en-us/develop/download-phone-sdk)"
  4. Kota Iguchi 2015-11-03

    bq. Is selecting Windows 8.1 and Windows Phone 8.0 and/or 8.1 also required if you only plan to build Windows 10 Universal apps? That's a good point. I believe WP 8.0 SDK is not required. You only need to install WP 8.1 SDK. I haven't tested that situation, but I am expecting our windowslib doesn't work without Windows Phone 8.1 SDK, so Windows Phone 8.1 SDK is required even when you plan to build Windows 10 Universal app only.
  5. Ewan Harris 2015-11-03

    [~fokkezb] apologies I had forgotten to upload the images. For your questions By Windows Phone 8.0/8.1 do you mean you need both or one of? I am simply referring to them by what Microsoft refers to them by in the Visual Studio installer, as you can see in fig2. They do not allow you to select just 8.1, you have to have 8.0 and 8.1. Is selecting Windows 8.1 and Windows Phone 8.0 and/or 8.1 also required if you only plan to build Windows 10 Universal apps? I have not tested what happens here, I will run another install and check what happens without these two. Based off my current understanding though and echoing what [~kota] says, I believe that in order to build for a Windows Phone currently you will need the 8.1 SDK as we do not support 10. I am unsure about Windows Store (ws-local) builds however.
  6. Gary Mathews 2015-11-30

    Changes: https://wiki.appcelerator.org/pages/viewpreviousversions.action?pageId=43306274
  7. Kota Iguchi 2015-12-02

    [~gmathews] Nice work! Could you confirm, does our titanium_prep.win32.exe and titanium_prep.win64.exe require Java environment and JAVA_HOME variable set? Otherwise I saw following error. {quote} [ERROR] Failed to encrypt JavaScript files [ERROR] Program launch failed. Unable to locate Java VM. Please set JAVA_HOME environment variable. 2015-12-02T09:30:25.993Z | ERROR | ti run exited with error code 1 {quote} If so, I think we need to update the requirements. Other than that, I think our docs looks good (y)

JSON Source