Help - Search - Members - Calendar
Full Version: Need a message box that says insert cd#?
MSFN Forums > Unattended Windows Discussion & Support > Application Installs

   


Google Internet Forums Unattended CD/DVD Guide
kurt476
is there a switch that will ask you too insert cd #1 or 2? i need a message box that ask's you and and i'm hiding the command window durning when it ejecks the cd rom for it too ask please insert#1 or someing like that.

here is my code:

CODE
CLS
@echo off
TITLE STARTING UP windows-POST-INSTALL

%systemdrive%\install\wpi\cmdow.exe @ /HID
REGEDIT /S %systemdrive%\install\wpi\common\Prefetch.reg
REGEDIT /S %systemdrive%\install\wpi\common\WPI.reg

CDR OPEN F:
SLEEP.exe 50
CDR CLOSE F:

start /wait %systemdrive%\install\wpi\WPI.hta /prefetch:1



exit


so is there a switch for it too ask you for the #? of the cd?
Lucius Snow
I think you can do something like that with nircmd tool :
http://www.nirsoft.net/utils/nircmd2.html#using
kurt476
how come i can't get the message box too say please insert wpi cd#1 into cdrom drive f:?

i tryed my way:

CODE
cdr  F: Nircmd.exe show please insert wpi cd#1 into the cdrom drive F:
Lucius Snow
Try :

Nircmd.exe infobox "please insert wpi cd#1 into the cdrom drive F:"
kurt476
that works thanx alot. biggrin.gif can tell me why the tilite bar says error?
CHANDER
Well im asuming it shows an error dialogue...hence error

Edit: the syntax is infobox [message text] [title] Its in the help newwink.gif




Google Internet Forums Unattended CD/DVD Guide

This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.