Re: Generating a driver without DDK,...



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@xxxxxxxxxxx> wrote in message
news:Ou0co9UrIHA.4952@xxxxxxxxxxxxxxxxxxxxxxx
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."




.



Relevant Pages

  • Tomcat Windows Service - stops by itself.
    ... I have one instance of Tomcat which "stops by itself". ... used to install both Tomcats and reinstalled Tomcat_B. ... rem NT Service Install/Uninstall script ... echo The CATALINA_HOME environment variable is not defined correctly. ...
    (comp.lang.java.programmer)
  • Re: Deploying Office 07 with Group Policy
    ... computer I tested it on took 30 minutes to install. ... the following script to the Computer Startup Script. ... REM Get ProductName from the Office product's core Setup.xml file. ... REM Set ConfigFile to the configuration file to be used for deployment REM ...
    (microsoft.public.office.setup)
  • Re: Win2kSP4 Unattended DVD
    ... @rem SetupMgrTag ... > files for the applications in cmdlines.txt and the two errant hotfixes in ... > click on the Hotfix.cmd and install these two Hotfixes in a second. ... > ECHO. ...
    (microsoft.public.win2000.setup_deployment)
  • Re: Crown Pointe Software / XP bug
    ... Contact the software developer. ... You do not have Novell or IPX installed by ... >>REM Install CD ROM extensions ...
    (microsoft.public.windowsxp.general)
  • RE: WDK 6000 install fails because of password???
    ... Action start 17:28:21: ValidateServiceUserInfo. ... 17:28:21 WDK: Beginning Validate Service Credential User Custom Action ... Can you do a search of the log file for the FIRST instance of "return value ... Also, do the install ...
    (microsoft.public.development.device.drivers)

Loading