News:

Masm32 SDK description, downloads and other helpful links
Message to All Guests

Main Menu

manually move W7SDK docs to another machine

Started by GoneFishing, April 15, 2013, 03:00:35 AM

Previous topic - Next topic

GoneFishing

Hello!
Once I had successfully moved W7SDK documentation from one machine to another. Unfortunately I don't remember all the steps I did then and cannot repeat them now.
I placed the following folder to its proper destination:
D:\Users\MyName\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\
QuoteF:\Microsoft Windows SDK v7.0>dir /b
CMD Shell.lnk
Release Notes.lnk
Samples Reference.lnk
Tools
Visual Studio Registration
Windows SDK Documentation.lnk
Windows SDK Samples Directory.lnk

Now the problem is where am I to place the following help files
QuoteF:\Microsoft Help>dir /b
Hx.hxn
Hx_1049_MKWD_K.HxW
Hx_1049_MKWD_NamedURL.HxW
Hx_1049_MTOC_Hx.HxH
Hx_1049_MValidator.HxD
Hx_1049_MValidator.Lck
MS.Dexplore.v90.en.hxn
MS.Dexplore.v90.en_1049_MKWD_A.HxW
MS.Dexplore.v90.en_1049_MKWD_B.HxW
MS.Dexplore.v90.en_1049_MKWD_F.HxW
MS.Dexplore.v90.en_1049_MKWD_K.HxW
MS.Dexplore.v90.en_1049_MKWD_S.HxW
MS.Dexplore.v90.en_1049_MTOC_DExplore.HxH
MS.Dexplore.v90.en_1049_MTOC_DExplore2.HxH
MS.Dexplore.v90.en_1049_MValidator.HxD
MS.Dexplore.v90.en_1049_MValidator.Lck
MS.W7SDK.hxn
MS.W7SDKCOM.hxn
MS.W7SDKNET.hxn
nslist.hxl
and  is there any registry keys/values I should set ?
At the moment W7SDK documentation link in start menu doesn't work. Here is the object path from the properties dialog:
Quote"D:\Program Files\Common Files\microsoft shared\Help 9\dexplore.exe" /helpcol ms-help://MS.W7SDK.1033 /LaunchNamedUrlTopic DefaultPage /usehelpsettings WindowsSDK.1.0

I wish I wrote down all those successful steps earlier :(



dedndave

there are 6 different versions of the windows 7 SDK ISO
3 for use with .NET 3.5, 3 for use with .NET 4.0
x86, AMD64, itanium64

the ones for .NET 3.5 are much larger than the ones for .NET 4.0
so, i would guess that the ones for .NET 3.5 also install .NET 4.0   :P

http://www.microsoft.com/en-us/download/details.aspx?id=18950
http://www.microsoft.com/en-us/download/details.aspx?id=8442

which version are you using ?
which version of .NET and CPU do you have on both machines ?

GoneFishing

#2
Both machines are x86.
.NET version on the target machine is 4.0 (Dave, you're right , W7SDK was installed with this version of  .NET) :t
.NET version of the first machine I'll say later (don't know for sure now).
As I said I once did this operation. Now I recall that  both machines had Service Pack 1. Does it matter? 

From W7SDK's redist.txt :
QuoteWindows Software Development Kit Redistributable Code
=====================================================
The following list is a list of files available with the Microsoft Windows SDK for Windows 7 and .NET Framework 3.5 Service Pack 1 ... ... ...

EDIT:
Quotehttp://www.microsoft.com/en-us/download/details.aspx?id=18950
I have this version of W7SDK  downloaded  through the installer not as iso .
It took  a pair of days to download it. Yes, my connection isn't too speedy ;)

sinsi

You can try to put them in "\Users\You\AppData\Local\Microsoft Help" (maybe "\Users\You\AppData\Local\Help").
Because it's treated like a protocol (ms-help://) there will be registry keys, probably under HKEY_CLASSES_ROOT.
You might be able to get the Microsoft Document Explorer and install it but it seems to only come with VS or SDKs.

GoneFishing

Thanks, sinsi.
I already have DEXPLORE. And  I've already put all those files here,there and everywhere ;) but everytime I click link I get this error:
Quote"Microsoft Document Explorer cannot be shown because the specified help collection  'ms-help://MS.W7SDK.1033' is invalid."

Now I recall that I made some registry editing

EDIT: Please forgive my mistakes. I have to edit every my post to correct them ;)

TouEnMasm


You need to correct the path of all the help files and to create a new namespace
as follow (batch file):
Quote
@echo off
SET PATH="C:\Program Files\Microsoft Help 2.0 SDK"

hxreg -r -n "MS.WinDDK.6001.071220"
hxreg -n "MS.WinDDK.6001.071220" -i "Windows Driver Development Kit" -c "E:\WDK Documentation\6001.071220\help\WDK.hxc" -d "Windows driver Kit"

hxreg -n "MS.WinDDK.6001.071220" -i    "acpi_d" -s "acpi_d.hxs" -x "acpi_d.hxi" -c "WDK.hxc"
hxreg -n "MS.WinDDK.6001.071220" -i    "acpi_r" -s "acpi_r.hxs" -x "acpi_r.hxi" -c "WDK.hxc"
hxreg -n "MS.WinDDK.6001.071220" -i    "Appendix_g" -s "Appendix_g.hxs" -x "Appendix_g.hxi" -c "WDK.hxc"
...... and so on
Fa is a musical note to play with CL

GoneFishing

#6
I'm happy to report that finally I did it!

ToutEnMasm:
                      thank you for the hint on hxreg
                      BTW  what package can it be found in?

I downloaded Visual Studio 2008 SDK . There I found a gui tool NAMESPACE that solved my problem .

Still there's  one thing to be done: running dexplore with mentioned above link gives me only "Getting started" treeview root without  Web/Win32/ COM  and NET development ones.


   

TouEnMasm

Witout visual studio you need
VSHIK2003.exe  VsSDK_sfx.exe
Dexplore in Win 7.0 windows
and orca in SDK windows to change the install package.
Quote
There I found a gui tool NAMESPACE that solved my problem
What is this tool ?
Fa is a musical note to play with CL

GoneFishing

#8
...

GoneFishing

QuoteWitout visual studio you need
VSHIK2003.exe  VsSDK_sfx.exe
Dexplore in Win 7.0 windows
and orca in SDK windows to change the install package.

What version of VsSDK_sfx.exe ? If 2003 - I couldn't find it. And I already have all the rest.
Orca is rather a complicated tool. Am I supposed to change install package so that it would not check  VS 2003 installation? Or something else? 

TouEnMasm


http://www.microsoft.com/en-us/download/details.aspx?id=13644
http://www.microsoft.com/en-us/download/details.aspx?id=2680

orca is not so complicated.
You have to verify the LaunchCondition Table,and the installexecutesequence table.In the right panel,You find this style of writing:
&Help_Feature>=2
The error given at run give the condition to modify (You have not visual studio)
Fa is a musical note to play with CL

GoneFishing

Unbelievable! I've got it!
Though I hardly can understand how I managed to do it  :biggrin:

With FAR Manager it was that simple! It can browse msi files ;)
http://www.farmanager.com/

Thanks for advice, ToutEnMasm!

dedndave

you can also use 7-zip to extract files from an MSI

GoneFishing

Yes, 7-zip is also very nice help, Dave :t