Running VB Apps in WINPE

Posted on 2004-11-15
Last Modified: 2008-03-03

I am currently using WinPE to help build machines. I would like to use some VB programs to automate certain tasks; however, it seems WINPE does not support this. I know it can be done using BARTPE but the company would rather stay as close to the offical supported microsoft product as possible....

Any Ideas?


Question by:purejamie
    LVL 8

    Expert Comment

    most versions of windows can be set up with a unattended install script that can be customized to what you want to have unattended on the install process. I would do a search on Microsoft's web site to see if you can find how to do this based on the version of Windows you are using in your environment...
    LVL 8

    Expert Comment


    Author Comment

    Thanks for the input, however, we use unattend to build the machines - however, we use a VB front end to choose build type/server/setup,restore options/hidden backups etc. that I need to get working in WINPE - when I run the program nothing appears on the screen.
    LVL 15

    Accepted Solution

    Not inherently, but yes, so what you need to do is you actually need to add the files that are specific to Visual Basic. Basically, if you package up your application and you figure out all of the executables and binaries that are required for that, and you make sure those are in WinPE and registered, as long as those don't have any dependencies (such as trying to call DirectX or things like that), you should be okay. As long as you keep your application very simple, very rudimentary, remember you're in a preinstallation environment. You're not in, say, an embedded environment, like XP Embedded would provide. You want to keep it very simple, but yes, you should definitely be able to build VB apps. Visual C applications should work inherently. The .NET Framework is not available in there, so you'll probably want to keep your applications, based on VB 6 or VC 6 rather than writing .NET Framework applications.


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Introduction How to create multiboot configuration with XP\Vista and Windows 7 on it? And most important question - how to do this correctly so not to have any kind of nightmares we get when system gets screwed? First of all one should realize t…
    Introduction Often we come across situations wherein our batch files would be needing to reboot Windows for a variety of reasons. A few of them would be like: (1) Setup files have been updated whose changes can take effect only after a reboot …
    Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
    This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor ( If you're looking for how to monitor bandwidth using netflow or packet s…

    737 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now