@MHz: Sorry for the little info given. I was to busy. What i am doing is installing applications using WPI. whenever an application was installed i call a *.cmd file where start menu adjustments are made ar files like *.inis are copied to the %programfiles%\APP_whatever path. therefore i need to check where my install DVD is (e.g. which drive letter it has). i could do this just once at the beginning (did this originally) but then i though maybe i want to install additional programs later on, thats why i splitted my "one-file-cleanup" into several files.
The windows setup cd is NOT lost - just this annoying popups (yes, because windows is so stupid and thinks i got a new cdrom drive...). i think adding drivers is not of any help because windows recognizes it (USB device, if i put in a card i can access it immediately). so disconnecting the reader is the only way obviously (or go back to my "single-file-cleanup" - **** - i hate this :-(.
but thanks for your advice...
@gunsmokingman&muiz:
But i dont want to click buttons during setup , is there no other way?
@gunsmokingman: i'll check your script, thanks - just one question (if you are faster anserweing it than i am trying it :-)):
If Fso.FileExists(StrDrv.DriveLetter & ":\win51ip.SP2") Then
'''' PLACE_SCRIPT_HERE_THAT_YOU_NEED_BELOW_HERE
Exit For
i can put my xcopy blablabla.... here? with or without cmd /c ?
THANKS
edit: hmm, using the script and adding a "whatever.cmd" to be called doesnt do anything at all?! what am i doing wrong?
This post has been edited by WotC: 06 April 2006 - 12:07 PM