Visual Studio Installation in WINXPE

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,

I have successfully build the XPE runtime image and also it is loaded. I
wanted to install the visual studio 6, Enterprise edition in my WInXPE m/c.
But while installing i am getting error. Is it possible to install Visual
studio 6.0 in WINXPE?? If it is possible, what else should I do in order to
install the same.

Expecting an Early Reply
Hussain
 
Slobodan,,
Thanx for the early reply.
We have written our code using VC++ such as application code as well as
driver. They are independent modules. Those codes have been written in WIN2K
environment. Basically we wanted to integrate those codes in the WINXPE test
m/c. While integration we are facing some problems , in order to debug my
code, we need the support of VC++. That is how we thought of installinig the
VC++ in winXPE.
That WINXPE m/c is for our testing purposes only. FOr the final one we have
some other m/c which will not req. VC++. Will you please guide me how to
install the Visula Studio 6. One more qs. i have, is Visual Studio 7.0 will
be supported by WINXPE???

Reply back asap.
Regards
Hussain
 
It is possible, we have done it here, for development images, rather than the
production images we usually use. Ideally remote debugging is the Microsoft
preferred option, but Microsoft don't fully appreciate some of XPe's
applications, where remote debugging is unsafe/not possble.

I don't know what your problems are (you are not specific), but the problems
we had, was the VS6.0 Setup Wizard was crashing, preventing installation.
There is a very bizzare fix that works (100% for us), but you have to follow
the instructions below exactly, otherwise it won't work...

1/ Open the Visual Studio 6.0 setup wizard
2/ use the keyboard TAB key to navigate to the README button
3/ use Enter to open the readme
4/ use Alt+F4 to close the IE Readme page
5/ use the mouse to select Next

Doing any other combination of keyboard/mouse clicks will crash the setup
wizard!!! (how bizzare is this...)

The other problem you may have, is that you need to have the "null driver"
installed in your XPe image, and It's got a strange visibility value, so you
will have to lower the visibility level and add it.
 
Hussain,

Drivers should be debugged remotely using WinDbg or similar tool. (Read in DDK about this).
VS 6, 7, .... contain folder that you can copy to XPe. They are used for remote debugging your applications on XP/XPe from
Development Machine. Search for msvcmon.

So as you can see you do not need VS on your XPe. Also I always remote debug applications whether I write them for XP/XPe, because
remote debugging gives more accurate results to real program execution especially when application uses exclusive modes for graphic
or keyboard.

http://support.microsoft.com/default.aspx?scid=kb;en-us;241848
Will you please guide me how to install the Visula Studio 6
You can read threads from search I gave you in previous thread.
One more qs. i have, is Visual Studio 7.0 will be supported by WINXPE???
No it goes other way. YOU must make XPe image so support VS 7.0. But since XPe can be like XPP then it can work.

Also there is no point in creating special XPe for debugging and then using completely different XPe image for production.
Use XPP for initial development and then make XPe in a way to support your final application.

Best regards,
Slobodan
 
Hi,,

As suggested by you people, Both the options are working. Now I can able to
debug my application thro' remote. This option is used in one m/c. In another
m/c, i have installed VC++ in WInxpe as per the method suggested by
Gillespie.

Thank you very much for your value added points.
Regards,
Hussain
 
Slobodan Brcin (eMVP) said:
Hi,

Can you give us a hint about what would be use of Visual Studio in XP Embedded product?

Our particular enviroment where we run XPe, it is dangerous to debug our
application without being infront of it, as it motor control, and you have to
ensure there are no fingers or limbs in the way, when stepping through
code... It would be possible to remote debug from a PC next to the machine
being debugged, but that's even more hassle than loading a dev image with
VS6/VS.NET, as the PC has to move to the machine under test, as it's rather
large :-)

We have been sucussfully running VS6.0 under XPe for a while now, it may be
unsupported, but it's only required in our engineering lab, and it works well
for us. I don't think it breaks any licencing rules for XPe, that I can see.
 
Gillespie,,
As you said , i have installed VC++ in XPE. Now i can able to debug my
application. But i couldn't compile, and also I am unable to build. I am
getting the following error message while building the files:
 
Have not seen that particular problem (we can build here just fine). Some
random suggestions.

1/ Have you installed the latest Visual Studio 6 Service Pack ( Sp6 - I
think)
2/ If this does not help, then I can only assume something is missing from
your XPe image, I have no idea what thou..
 
Back
Top