failed to install powershell 5 on windows 7 - windows

trying to work with flutter on windows 7 machine turn out it needs Powershell 5,
did install .net framework 4.5 and Windows Management Framework 5.1.
screenshot of get-host output:
and
.net related tools installed on the pc:

Related

"The system cannot execute the specified program" on perl --x -S pp.bat -o "myapp.exe" myapp.pl

Today when I run pp.bat to compile perl programs, I get "The system cannot execute the specified program". The last time I ran pp.bat to compile one of my apps was on April 7 (12 days ago) and it ran fine. I've tried it on 2 of my apps in a standard cmd window and with elevated privs.
I disabled the Windows firewall (public, private, domain) with no effect. I don't have any anti-virus running besides whatever comes built-in to Windows 10. I looked for any blocked settings in properties for Strawberry\perl\bin\perl.exe and pp.bat but don't see anything. I checked gpedit User Configuration>Administrative Templates>System>Don't run specified Windows applications but this wasn't configured (and setting this to Disabled didn't make a difference).
This is on Windows 10 21H2 x64 (in a qemu/kvm virtual machine). I see the following Windows updates that have been installed since April 7th:
Security Update for Microsoft Visual C++ 2008 Service Pack 1
Redistributable Package KB2538243
2022-04 Cumulative Update for Windows 10 Version 21H2 for x64-based
Systems KB5012599
2022-04 Cumulative Update for .NET Framework 3.5 and 4.8 for Windows
10 Version 21H2 for x64 KB5012117
Security Update for Microsoft Excel 2013 KB5002175 32-bit Edition
Would you suggest I uninstall KB5012599?

VSTS 2017: How to deploy task on MacOSX test agent?

I followed the instructions on Deploy Visual Studio Test Agent Task to deploy my job on Mac OSX agents.
My Mac OSX is 10.12, PowerShell is 6.0 and I have already installed .NET Core on Mac and also updated the openSSL followed by instructions.
My VSTS is: https://vivicai.visualstudio.com
Following command is for Windows, what’s the equivalent for Mac OSX?
netsh advfirewall firewall set rule group="File and Printer Sharing" new enable=yes
After running following command in Mac OSX, it always shows the error,
what can I do to fix the error? Thank you very much.
ConfigureWinRM.ps1 {FQDN} https
It is not supported for Mac OSX.
Test: Visual Studio Test Agent Deployment
Demands and prerequisites
This task requires the target computer to have:
Windows 7 Service Pack 1 or Windows 2008 R2 Service Pack 2 or higher
.NET 4.5 or higher
PSRemoting enabled by running the Enable-PSRemoting PowerShell script
Install and configure test agents
Requirements
Windows 10
Windows 8, Windows 8.1
Windows 7 Service Pack 1
Windows XP Service Pack 3
Windows Server 2012, Windows Server 2012 R2
Windows Server 2008 Release 2, Service Pack 1

Error building sample driver: An SDK corresponding to WDK version '8.1' was not found

I used one Windows Driver samples from github (Filesys) and tried to build it on Windows 10 with Visual Studio 2015.
I have installed both:
WDK8.1 with its SDK
WDK10
But when i try to build a project i see this error message:
An SDK corresponding to WDK version '8.1' was not found. Please install the SDK before building. minispy (Filter\minispy) C:\Program Files (x86)\Windows Kits\10\build\WindowsDriver.common.targets
but SDK of 8.1 is already installed.
Is there any option in Visual studio that i could use to point it to SDK 8.1?
I had the same problem and the solution
is sdk version 10 released after VS 2015 .
You should download and install it manually. I used the following link for downloading sdk :
https://dev.windows.com/en-us/downloads/windows-10-sdk
Also see this link for help with downloading and installing sdk
http://blogs.msdn.com/b/jpwdkblog/archive/2015/08/21/windows-10.aspx
good luck
In this case, you may missed No.3.
Check following points:
Install Visual Studio 2015
Install Visual C++ (Not installed by default)
Install Windows SDK for Windows 10 (Not installed by default)
Install WDK 10 (Download separately)
Upgrade project from WDK 8.1 (for more detail: https://msdn.microsoft.com/en-us/library/windows/hardware/mt270257%28v=vs.85%29.aspx )
Currently,
Visual Studio 2015 supports WDK 10.
Visual Studio 2013 supports WDK 8.1.
In my environment, Visual Studio 2015 may not support WDK 8.1.
When build in WindowsUserModeDriver8.1 with VS2015, an error was occurred: prop is not found.
WDK 10 supports build drivers for Windows 10 / 8.1 / 8 (/ 7?).
(see also: https://msdn.microsoft.com/en-US/library/windows/hardware/dn914754%28v=vs.85%29.aspx )
To build Windows 8.1 driver, follow below.
Open project properties
Navigate to Configuration Properties > General
Check: Platform Toolset Windows****ModeDriver10.0
Navigate to Configuration Properties > Driver settings
Check: Target OS Version: Windows 8.1
Check: Target Platform: Desktop (Default: Universal)
You are likely targeting the wrong platform toolset. To build a driver for Windows 10, you need to target one of the Windows 10 platform toolset (WindowsKernelModeDriver10.0 or WindowsUserModeDriver10.0). If you want to use SDK 8.1, then you should use the WDK 8.1 platform toolsets (WindowsKernelModeDriver8.1 or WindowsUserModeDriver8.1).
You cannot use the 10.0 toolsets and try to make them point to SDK 8.1 because there were some key changes to how files are laid on disk between the two kits. Using the appropriate toolset should hopefully fix the issue!
Have you followed all the instructions during the installation of VS? https://msdn.microsoft.com/en-us/windows/hardware/dn913721.aspx
After correct installation I have handled the problem.
(Optional)
Did you install Windows 10 SDK?
Download link: https://dev.windows.com/en-us/downloads/windows-10-sdk

VB6 apps installed by NSIS, work on Windows 7 but '...not correctly registered...' on Windows 7 SP1

I am puzzled, I thought I had my NSIS installation packages tested and working on Windows 7 32Bit and 64Bit.
Today I get failures to run on:
my Laptop PC (Windows 7 Pro 32Bit SP1)
VMWare Windows 7 Home Premium 64Bit SP1
Successful running on
VMWare Windows 7 Home Premium 32Bit
Windows XP Pro SP3
The installation goes as expected.
Running the application has the Error Message:
Component '---.ocx' or one of its dependencies not correctly registered: a file is missing or invalid.
At this point the flagged reference files include: MSCOMCT2.OCX, RICHTX32.OCX and threed32.ocx .
The install process places the reference files and manifest files in the install folder.
This 'Everything needed' is achieved by including manifest files (reg-free COM),thus, refraining from use of the PC Registry.
e.g.:
File "C:\WINDOWS\system32\MSVBVM60.dll"
File "D:\Devlpmnt\LANG\VB6_dllManifest\MSVBVM60.dll.manifest"
I thought sure that I had successfully tested the VMWare Windows 7 Home Premium 64Bit SP1 installation, August 2013.
The only difference, I can think of, is that all of the failing Win7 platforms have 'Service Pack 1'.
Could the 'Superfetch' mentioned in:
http://blogs.msdn.com/b/vistacompatteam/archive/2006/11/13/manifest-and-the-fusion-cache.aspx
have been added to Windows 7 by SP1 and be causing the problem? If so, how can I fix that?

visual studio windows phone 7 installation error

I try to install latest Visual Studio Windows Phone Beta Tools and I get following error:
"Setup could not install the following component:
Microsoft .NET Framework 4"
Here is the error log: http://pastebin.com/CRumcpsN . I'm running under Windows 7 32bit.
What I have to do to install Visual Studio Windows Phone Beta Tools?
Try installing the .NET 4 framework first http://www.microsoft.com/downloads/details.aspx?FamilyID=9cfb2d51-5ff4-4491-b0e5-b386f32c0992&displaylang=en
Are you sure you downloaded the correct WP7DT version? I noticed this in your dump.
dotNetFx40_Full_x86_x64.exe; error = 0x80091007

Resources