Jump to content

Recommended Posts

Posted

this is my winnt.sif

[GuiRunOnce]

%systemdrive%\install\wpi\install.cmd

%systemdrive%\install\cleanup.cmd

%systemdrive%\Install\bootlogo.cmd

and this is my clean up

RD /S /Q %systemdrive%\Install

exit

but cleanup starting before install and install.cmd giving file not found problem.

and can we hide those black dos windows poping up(imean when they abt to run after installation).

bmn


Posted
this is my winnt.sif

[GuiRunOnce]

%systemdrive%\install\wpi\install.cmd

%systemdrive%\install\cleanup.cmd

%systemdrive%\Install\bootlogo.cmd

and this is my clean up

  RD /S /Q %systemdrive%\Install

  exit

but cleanup starting before install and install.cmd giving file not found problem.

and can we hide those black dos windows poping up(imean when they abt to run after installation).

bmn

Probably you've forgotten to use the /WAIT switch after the START command:

START /WAIT

and that would be why Install.cmd isn't finished when Cleanup.cmd starts.

Note: Your folder names aren't identical ;)

About hiding DOS windows: google for CMDOW, or take a look at the guide, it's covered somewhere inthere.

Use:

CMDOW @ /HID

Bâshrat the Sneaky

Posted

thanks

where i have to place that cmdow code.

in install.cmd or in winnt.sif

this is my install.cmd

START /WAIT %systemdrive%\install\wpi\wpi.hta

exit

and if we place cleanup in the same dir,imean %systemdrive%\install\wpi\cleanup.cmd

how it can delete it self.

Posted
thanks

where i have to place that cmdow code.

in install.cmd or in winnt.sif

this is my install.cmd

START /WAIT %systemdrive%\install\wpi\wpi.hta

exit

and if we place cleanup in the same dir,imean %systemdrive%\install\wpi\cleanup.cmd

how it can delete it self.

You should place the cmdow code at the top of your batch file.

About deleting itself: I don't know... Try with removing the EXIT statement in the cleanup.cmd.

Bâshrat the Sneaky

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...