invoke 64-bit wscript.exe in post-build event?



Hey,

I am using Visual Studio to build some x64 projects on a machine running
64-bit Windows (XP). In the post-build event for one project in particular,
I am invoking a .vbs file that needs to look up some information in the
Windows registry, and, specifically, the 64-bit registry. However, Visual
Studio, or whatever subcomponent is invoking wscript.exe, is evidently
invoking the 32-bit wscript.exe, so when I call RegRead in my .vbs file, it
gets redirected to the Wow6432Node (this is HKLM\Software). I would guess
for it to be able to find 64-bit keys, I would have to somehow convince
Visual Studio to invoke the 64-bit version of wscript.exe. I suppose Visual
Studio is just doing a ShellExecute on my .vbs file. Do you suppose there is
a way to make it use the 64-bit wscript.exe?

Thanks.
.



Relevant Pages

  • Re: Slow booting xp home.
    ... Changing the boot order to boot first from your hard disk might save you a half second, but you won't be able to boot from a CD until you change it back - and the time spent to do that will erase any previous time saved. ... 2- Consider what software you really want to start with Windows and also how you've configured your applications at startup ... Installing and Registering Visual Studio Express Editions Smart Device ...
    (microsoft.public.windowsxp.perform_maintain)
  • Re: Slow booting xp home.
    ... What is a normal sort of boot time for an older machine? ... 30s to the windows screen? ... Installing and Registering Visual Studio Express Editions Smart Device ... Microsoft Robotics - Hardware Configuration and Troubleshooting Data ...
    (microsoft.public.windowsxp.perform_maintain)
  • Re: Slow booting xp home.
    ... I assume Microsoft Fax is not working. ... The LexBce Server service terminated unexpectedly. ... Windows is loading will come on and then the desktop, ... Visual Studio Source Control and SourceSafe -» ...
    (microsoft.public.windowsxp.perform_maintain)
  • Re: Slow booting xp home.
    ... 30s to the windows screen? ... A lot of it involves changing registry values or bios settings. ... Installing and Registering Visual Studio Express Editions Smart Device ... Microsoft Robotics - Hardware Configuration and Troubleshooting Data ...
    (microsoft.public.windowsxp.perform_maintain)
  • Re: Difference between VC++ and UNIX
    ... It uses whatever compiler you have, in whatever language you like. ... like edit Lisp or integrate 3rd party compilers into Visual Studio. ... Windows, HP-UX, and Linux. ...
    (comp.programming)