mediapla Posted October 6, 2006 Share Posted October 6, 2006 Can i use variables like %CDROM%, %Systemdrive%, %Windir% at the unattended intall process and in the autounattended.xml ? Link to comment Share on other sites More sharing options...
FireGeier Posted October 7, 2006 Share Posted October 7, 2006 I just can tell you that it's possible to use predefined system enviroment variables. I can't tell you if they are all the same like in XP.Martin Link to comment Share on other sites More sharing options...
Dynaletik Posted October 7, 2006 Share Posted October 7, 2006 %systemdrive% and %WinDir% will work, I think. But I don't know if %cdrom% works. That would be awesome. Link to comment Share on other sites More sharing options...
FireGeier Posted October 8, 2006 Share Posted October 8, 2006 (edited) You'll get a list of predefined system enviroment variables, if you run cmd.exe under Vista and type SET.Seems to be the same like in XP. Other locations partly but same variables.%CDROM% is NOT a predefined system enviroment variable. But it is NOT predefined system enviroment variable under XP, too. But you should be able to set it with SET-Command.To run batch-files during Vista-Setup you need to start it through a synchronous command. You can insert such a command to your answer file, if you choose Synchronous Command form Insert menu in WAIK.Martin Edited October 8, 2006 by FireGeier Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now