After installing Windows 10 SDK, why I can't find makeappx.exe
In the directory of C:\Program Files (x86) \Windows Kits\10\bin\x64\, there is only one folder called XamlDiagnostics and file GenXBF.dll.
In the directory of C:\Program Files (x86) \Windows Kits\10\bin\10.0.16299.0\x64, there is only one file genxbf.dll.
I have repeatedly installed SDK several times, and again got
The features installed on this computer are up-to-date
What's the matter?
In my case, I found it was in a different location to the one specified in the Microsoft documentation.
I was following the instructions in the documentation for creating an appx from a Microsoft Edge extension, found here.
In the documentation, it says makeappx.exe can be found in the following location:
C:\Program Files (x86)\Windows Kits\10\bin\x64
This was incorrect - I then found this documentation which gave the correct path:
C:\Program Files (x86)\Windows Kits\10\bin\[build
number]\x64\makeappx.exe
For some reason the file did not turn up in a search for the filename using file explorer search, even though it was there.
Related
I'm searching for the latest version of sign tool. Already installed latest windows 10 SDK, but signtool.exe date did not change.
Starting from windows 10 SDK, the signtool.exe is now located here:
C:\Program Files (x86)\Windows Kits\10\bin\10.0.16299.0\x64
In this example, I used the Windows 10 Fall Creators Update SDK-Version (10.0.16299) - and 64bit edition
Be careful, additionally it may be located here: C:\Program Files (x86)\Windows Kits\10\App Certification Kit
Update: Windows 10 Build 1809, now here C:\Program Files (x86)\Windows Kits\10\bin\10.0.17763.0\x64
Update: Visual Studio 2022: C:\Program Files (x86)\Windows Kits\10\bin\10.0.19041.0\x64
If I do not install Windows 10 SDK, but install Visual Studio, I typically find signtool.exe in the following location:
C:\Program Files (x86)\Microsoft SDKs\ClickOnce\SignTool\signtool.exe
This is a constant path that doesn't depend on the version of the Windows SDK. It's very convenient to use it in bat files or another automation stuff.
If you install the 'Windows 10 SDK' ( https://developer.microsoft.com/en-gb/windows/downloads/windows-10-sdk/ ) then it'll be at C:\Program Files (x86)\Windows Kits\10\bin\x64 as somewhere static that won't change.
Sometimes in my research into Microsoft functions, I'll see the name of a constant and perhaps a reference to a header file - like winuser.h. I don't often need to refer to them but when I do, I wind up spending some time Googling to find out where those files are. With this question, I can hopefully come to the answer right away. The question, as the title says, is: Assuming I've installed Visual Studio or the SDK, where in the file directory structure on a windows machine can I find the basic windows header files, like windows.h and winuser.h?
First you need to install Visual Studio or the Windows SDK. I'd give URLs here but they change with every new version of windows. The header files could be in
C:\Program Files\Microsoft SDKs\Windows\vX.X\Include
C:\Program Files (x86)\Microsoft SDKs\Windows\vX.X\Include
(where vX.X reflects the version number)
Update - May 2020
I'm on a new machine and installed VS2019 and the WindowsSDK and here are the new locations:
C:\Program Files (x86)\Microsoft Visual
Studio\2019\Professional\SDK\ScopeCppSDK\vc15\SDK\include\um
C:\Program Files (x86)\Windows Kits\10\Include\10.0.18362.0\um
I do not see any includes in the 'Program Files' folders.
As indicated here:
https://msdn.microsoft.com/en-us/library/windows/desktop/hh127466%28v=vs.85%29.aspx
I should be able to download the Windows 7 SDK.
This gets installed to C:\Program Files (x86)\Microsoft SDKs\Windows\v7.1A
However this does not contain the File Type Verifier, unless I have missed it if they used a different name.
Where can I find it?
Found it at the following location: C:\Program Files\Microsoft SDKs\Windows\v7.0\Bin\FileTypeVerifier.exe
For people looking for File Type Verifier when using Windows 10 SDK, it appears to be available at least for the 10.0.18362.0 version of the SDK, in folder %ProgramFiles(x86)%\Windows Kits\10\bin\10.0.18362.0, under both x86 and x64 folders (arm and arm64, too) there, as filetypeverifier.exe.
You may find it under a variation of the aforementioned path, due to a different version of the SDK, etc.
After installing VB6 successfully on my Windows 8.1 64bit pc, whenever i am trying to open my .vbp project file it gives me an error can't find DAO350.dll file. Googled for every possible solution but couldn't find one.
Please help me.
[UPDATE]
[UPDATE1]: It looks something like this
The DA0350.dll must be registered.
Try this:
On the Visual Basic 6.0 CD (or whatever your installation source is), locate the Dao350.dll file, and then copy it to the directory c:\program files\common files\microsoft shared\DAO. (The Dao350.dll file is located in the \os\system folder on the Visual Basic 6.0 CD.)
To register this file, click Start, click Run, and then type or paste the following line:
Regsvr32 "c:\program files (x86)\common files\microsoft shared\DAO\Dao350.dll"
Update:
The VB6TMPL.TLB is probably not installed for your current user.
Try to run Visual Basic as administrator and/or try this: http://support.microsoft.com/kb/262976/en-us
To solve about "Can't find file DAO350.DLL"
Download DAO350.DLL file from https://www.dll-files.com/dao350.dll.html
Extract file DLL, then copy file DAO350.DLL to C:\Program Files (x86)\Microsoft Visual Studio\VB98 or any other place you install VB 6
Try open your VB 6
Work for me.
From the command prompt, execute the following commands:
cd C:\Program Files (x86)\Common Files\Microsoft Shared\DAO
regsvr32 dao350.dll
This should do it.
On the Visual Basic 6.0 CD (or whatever your installation source is), locate the Dao350.dll file, and then copy it to the directory C:\Program Files\Microsoft Visual Studio\VB98.
After applying this fix. The Visual Basic 6 can now run successfully on your Computer.
NOTE: The Dao350.dll file is located in the \os\system folder on the Visual Basic 6.0 CD.
Could tell me where to find the file pvk2pfx.exe?
It is supposed to be located in <programfile>/Visual Studio 8/Common7/Tools/bin/pvk2pfx.exe, but not on my machine.
I don't seem to be able to find it online either. I tried installing the SDK, but it didn't work.
Have you checked the SDK path? The SDK path on my machine where pvk2pfx.exe is located is C:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin>
pvk2pfx.exe is not related to Microsoft .NET (2.0) SDK but to C/C++ SDK so look fo in c:\Program Files (x86)\Microsoft SDKs\Windows\v7.0A\Bin\ directory.
You need to install Windows SDK https://developer.microsoft.com/pl-pl/windows/downloads/windows-sdk/ . When installing please have selected "Windows SDK for Desktop C++ x86 apps" option.
Then the pvk2pfx.exe file will be located in C:\Program Files (x86)\Windows Kits\10\bin\10.0.22000.0\x86 .
You can also run the "Developer Powershell for VS 2022" (or the latest equivalent) and it will already know where to look.