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

Error when I run the Particular Platform Installer #110

Closed
donners77 opened this issue Aug 13, 2017 · 14 comments
Closed

Error when I run the Particular Platform Installer #110

donners77 opened this issue Aug 13, 2017 · 14 comments
Assignees

Comments

@donners77
Copy link

Hi. When I go to https://particular.net/start-platform-download and run the installer I get an error message and a log file containing:

The following properties have been set:
Property: [AdminUser] = true {boolean}
Property: [InstallMode] = HomeSite {string}
Property: [NTProductType] = 3 {int}
Property: [ProcessorArchitecture] = AMD64 {string}
Property: [VersionNT] = 10.0.0 {version}
Running checks for package 'Microsoft .NET Framework 4.5.2 (x86 and x64)', phase BuildList
Reading value 'Release' of registry key 'HKLM\Software\Microsoft\NET Framework Setup\NDP\v4\Full'
Read integer value 460805
Setting value '460805 {int}' for property 'DotNet45Full_Release'
Reading value 'v4' of registry key 'HKLM\SOFTWARE\Microsoft\NET Framework Setup\OS Integration'
Read integer value 1
Setting value '1 {int}' for property 'DotNet45Full_OSIntegrated'
The following properties have been set for package 'Microsoft .NET Framework 4.5.2 (x86 and x64)':
Property: [DotNet45Full_OSIntegrated] = 1 {int}
Property: [DotNet45Full_Release] = 460805 {int}
Running checks for command 'DotNetFX452\NDP452-KB2901907-x86-x64-AllOS-ENU.exe'
Result of running operator 'ValueEqualTo' on property 'InstallMode' and value 'HomeSite': true
Result of checks for command 'DotNetFX452\NDP452-KB2901907-x86-x64-AllOS-ENU.exe' is 'Bypass'
Running checks for command 'DotNetFX452\NDP452-KB2901907-x86-x64-AllOS-ENU.exe'
Result of running operator 'ValueEqualTo' on property 'InstallMode' and value 'HomeSite': true
Result of checks for command 'DotNetFX452\NDP452-KB2901907-x86-x64-AllOS-ENU.exe' is 'Bypass'
Running checks for command 'DotNetFX452\NDP452-KB2901954-Web.exe'
Result of running operator 'ValueNotEqualTo' on property 'InstallMode' and value 'HomeSite': false
Result of running operator 'ValueGreaterThanEqualTo' on property 'DotNet45Full_Release' and value '379893': true
Result of checks for command 'DotNetFX452\NDP452-KB2901954-Web.exe' is 'Bypass'
Running checks for command 'DotNetFX452\NDP452-KB2901954-Web.exe'
Result of running operator 'ValueNotEqualTo' on property 'InstallMode' and value 'HomeSite': false
Result of running operator 'ValueGreaterThanEqualTo' on property 'DotNet45Full_Release' and value '379893': true
Result of checks for command 'DotNetFX452\NDP452-KB2901954-Web.exe' is 'Bypass'
'Microsoft .NET Framework 4.5.2 (x86 and x64)' RunCheck result: No Install Needed
Launching Application.
URLDownloadToCacheFile failed with HRESULT '-2146697208'
Error: An error occurred trying to download 'https://s3.amazonaws.com/particular.downloads/PlatformInstaller/PlatformInstaller.application'.

@donners77
Copy link
Author

I'm having these problems on a azure vm created using the template: Visual Studio Enterprise 2017 (version 15.2) on Windows Server 2016 (x64)

@donners77
Copy link
Author

I got this working in a Windows 10 virtual machine. Perhaps the problem is related to Windows Server 2016?

@adamralph
Copy link
Member

adamralph commented Aug 13, 2017

@donners77 thanks for raising this. I've not heard of problems with Windows Server 2016 specifically, but I'll investigate and let you know if I find anything out. In the meantime, it's good to know that you have this working in Windows 10. Is your Windows 10 VM also located in Azure or is it local?

@adamralph adamralph self-assigned this Aug 13, 2017
@adamralph
Copy link
Member

/cc @HEskandari

@donners77
Copy link
Author

Thanks. The Windows 10 VM is also located in Azure.

@donners77
Copy link
Author

azure vms The VM template which I installed and am having the problem in is the 3rd listed in this screenshot.

@HEskandari
Copy link

@donners77 Thanks for reporting it. I'll look into it (but most likely will be after the conference).

@donners77
Copy link
Author

Sure

@mauroservienti
Copy link
Member

If I remember correctly security is tighter on Windows Server compared to client versions, on 2016 ClickOnce ".application" apps are blocked by default and Windows Firewall doesn't allow them to be downloaded.
I do not remember the settings to tweak, but manually downloading the .application file and executing it should do the trick. That's one of the reasons Platform Installer is not supported on Windows Server.

@HEskandari
Copy link

@donners77 did you happen to run the installer on a different browser on Win 10 vs Win Server 2016? I have another report that's very similar to yours.

@adamralph
Copy link
Member

The pragmatic thing to do here is probably to change the workshop preparation instructions to specifically call out a Windows client edition as a prerequisite, rather than a server edition.

@donners77
Copy link
Author

I tried using Edge, Chrome and Firefox on the Windows Server 2016 virtual machine. For all, the initial file downloaded ok but then ran into trouble once I executed it. I can't remember which browser I used on the Windows 10 virtual machine but it was probably Chrome.

@adamralph
Copy link
Member

Yep, the Windows Server problem is a separate problem from the browser.

As it stands:

  • The installer does not work on Windows Server (regardless of which browser was used to download it). A Windows client edition must be used.
  • The installer cannot be downloaded using Edge (regardless of which operating system is being used). Another browser should be used to download the installer (or perhaps some clever workaround).

@adamralph
Copy link
Member

@donners77 thanks again for raising this. The instructions have been updated to specify a Windows client edition. I hope you enjoyed the workshop!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants