dnrc Posted November 8, 2007 Share Posted November 8, 2007 Hi guys, hopefully a quick one.under my xp unattended installs i used to use a modular approach to installing apps and registry tweaks.I would have a seperate batch file for each application in the installs folder which would allow me to quickly add or remove single applications.This would be launched using something along these lines: for %%? in (%AppsRoot%\Install\*.cmd) DO (Start /wait ???????)which would just run each .cmd file in the specified directory.I don't currently have access to my old unattended stuff and searching hasn't given me a definate answer so i would be grateful if someone would be able to tell me the correct command to use this in vista from autounattend.xmlCheersDan Link to comment Share on other sites More sharing options...
ajua Posted November 9, 2007 Share Posted November 9, 2007 you have many options here to install apps and apply tweaks. read that Firegeier Guide first.you can install apps and tweaks in Audit phase, in Setupcomplete.cmd agter setups finishes or at firs logon with FirstLogonCommands.im trying the last two methods and everything works great.i will try using runonceex like in xp but i have to do other things first. Link to comment Share on other sites More sharing options...
dnrc Posted November 9, 2007 Author Share Posted November 9, 2007 thankyou. i realise that i have several options to install apps. however i want to do it a particular way.What i am after is a working command which will find all the the .cmd files in a certain directory and run each one seperately. I will also then do the same with all the .reg files in a certain directory and again with all my self created .msi files.This way i dont have to keep editing the autounattend.xml, i can just drop new files into my install directories and re-create my iso.Can anyone help? I tried a few commands after digging out my xp install.cmd but they all failed. Link to comment Share on other sites More sharing options...
ajua Posted November 9, 2007 Share Posted November 9, 2007 if only microsoft would allows us to do that it will be great. but i think there is no option to do that at all.you can keep a main cmd file (maybe setupcomplete.cmd) and add all of you reg and cmd files to it. this way, you may only need to update the cmd files that requieres a change like the one you can keep with your applications or tweaks. 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