Jump to content

Recommended Posts

Posted

hi guys, i am trying to create a gui window as an alternative to start.cmd using visual basic, but right now i am having difficulty in translating this codes to a visual basic one... what i want to do is make an exe file, instead of just showing the command window, i want to make it look more nicer and i wanted it to ask if the user wish to install the additional programs, screensaver, etc. or not, and waits till the installation is done. i hope someone could help me convert this to a gui executable using visual basic.

here is the code on my start.cmd:

CLS

@echo off

TITLE Finalizing Installation...

ECHO.

ECHO Please Wait...

COPY "%systemdrive%\Install\MAT2.scr" "%systemroot%\system32\"

REGEDIT /S %systemdrive%\Install\mat2.reg

DEL "%systemdrive%\Documents and Settings\All Users\Application Data\Microsoft\User Account Pictures\Administrator.bmp"

COPY "%systemdrive%\Install\Administrator.bmp" "%systemdrive%\Documents and Settings\All Users\Application Data\Microsoft\User Account Pictures\"

START /wait %systemdrive%\Install\networkicon.vbs

START /wait %systemdrive%\Install\3m\setup.exe

REGEDIT /S %systemdrive%\Install\3m.reg

ECHO.

ECHO Deleting Temporary Installation Files...

RD /S /Q %systemdrive%\Install

ECHO.

ECHO Windows XP Installation Complete!

ECHO.

PAUSE

EXIT


Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...