From: Maxim S. Shatskih on
> > Does the DDK "pack" depend on any registry entries, in
> > the case i install everything on the stick on another system
> > and plug it into the laptop on another system? Will it work?
>
> AFAIK no.

+1

I have a 6-OS testing machine and WDK installed to 1 of the OSes.

I did the build from another OS by opening the other OS's Start Menu shortcut.

The result was the same as in the OS where WDK was installed.

--
Maxim Shatskih, Windows DDK MVP
StorageCraft Corporation
maxim(a)storagecraft.com
http://www.storagecraft.com

From: David Craig on
Install the WDK to a system where it will fit. Then, copy the entire
directory (WinDDK\6001.18000) to another location. Delete the debug, help,
redist, & src directories. You can then go into the bin subdirectory and
delete the amd64, ia64, catalog (?), SelfSign, w2k, wppconfig, bin\amd64,
bin\ia64, lib\atl, lib\mfc, lib\w2k, lib\wdf (?), tools, inc\atl21,
inc\atl30, inc\mfc42, and any others you don't need for your project. You
can view the shortcuts installed by the WDK installer and use the same
parameters in a batch file to call the appropriate build environment. You
also need to pay attention to the startup directory in those shortcuts.
Remember 'pushd .' and 'popd' are very useful to permit you to switch to the
WDK directory, call setenv, and then return to the source directory. You
can use 'set curdir=%CD%' to obtain the current directory in an environment
variable. Here is a sample that uses Mark Roddy's ddkbuild to do the work.
It requires a different environment variable to be set depending upon the
WDK/OS requirement, but one project will usually only be built with one
WDK/DDK. Keeping the WDK relative to your current sources allows it to be
moved from drive to drive and even different subdirectories and levels
within them.


@echo off
echo Executing: %0 %*
date /t
time /t
pushd .
rem
rem Add any setup or environment variables you need.
rem Look at the cm directory to see what is needed.
rem
setlocal
set WLHBASE=
cd ..\..\..\..\..\tools\wdk6000
set WLHBASE=%CD%
cd
rem
rem Pop back to our original directory
rem
popd
set BROWSER_INFO=true
call ddkbuild.bat %*


"Kerem G�mr�kc�" <kareem114(a)hotmail.com> wrote in message
news:Ou0co9UrIHA.4952(a)TK2MSFTNGP05.phx.gbl...
> Hi Pavel,
>
>>?? Kerem are you writing from a jail in Turkey? :)
>
> no, i am sure even they have Vista there now. :-D
> No, i am a Developer in Germany, currently an
> "inmate" in a company where the Laptops are
> still W2K and other machines already XP or Vista BE.
> The Laptops are very old, especially on the area
> where i work at the moment. The question was, whether
> this is possible or not. Sure i can copy anything
> from the ddk and "pack" my own set of compilers and
> tools. But as the question implied, i was looking for some
> already available minimal package i could possibly use.
> Well, then i have to pack everything on a big 2GB USB
> stick and work from there, as you told me. The external
> drives even dont work on the old USB buses on the
> laptops, it must be 1.0 or 1.1 USB, because you have to
> power the drives from an external current supply...and
> i dont want this. The portable usb devices (sticks) work.
> So i have to depend on them,...
>
> Does the DDK "pack" depend on any registry entries, in
> the case i install everything on the stick on another system
> and plug it into the laptop on another system? Will it work?
>
>
> Regards
>
> Kerem
>
>
> --
> --
> -----------------------
> Beste Gr�sse / Best regards / Votre bien devoue
> Kerem G�mr�kc�
> Microsoft Live Space: http://kerem-g.spaces.live.com/
> Latest Open-Source Projects: http://entwicklung.junetz.de
> -----------------------
> "This reply is provided as is, without warranty express or implied."
>
>