Mirage2244 Posted April 18, 2011 Share Posted April 18, 2011 Hi,I have to install Windows 2008 R2 using DVD. I can use a USB stick to place Autounattend.xml. I need to install some applications (needs Admin access) post-os install. What are the options do I have?I found one option that is working quite well.- Create a password for Administrator- Use it to Autologon.- Execute applications as first logon on.My question is, if possible, I would like to install these applications without having to create Administrator password. Is there any option? I read about SetupComplete.cmd, but looks I cannot use it as I am installing using DVD that I got from Microsoft.Thanks in advance. Link to comment Share on other sites More sharing options...
Mirage2244 Posted May 23, 2011 Author Share Posted May 23, 2011 bump Link to comment Share on other sites More sharing options...
Tripredacus Posted May 23, 2011 Share Posted May 23, 2011 Setupcomplete you can specify the location of the programs you are going to run. So you could do something like attach a USB Hard Drive that has your programs on it, or use a network share. Link to comment Share on other sites More sharing options...
Mirage2244 Posted May 23, 2011 Author Share Posted May 23, 2011 Thanks.How do I get the post install commands into setupcomplete.cmd? If I create a setupcomplete.cmd on USB drive and put all these commands into it, how do I get the file to %windir%? Is it possible to copy this file from USB to %windir% directory in some other phase?Thanks again. Link to comment Share on other sites More sharing options...
Tripredacus Posted May 23, 2011 Share Posted May 23, 2011 To find paths, you can use things similar to this:I don't use the particular method you are for doing app installs (I don't use DVDs) but you can set up Distribution Share which can copy files from one place to the OS drive. Link to comment Share on other sites More sharing options...
Raoul90 Posted May 28, 2011 Share Posted May 28, 2011 I just mount my particular install.wim and drop all the installation files in same folder as setupcomplete.cmd.@echo offSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Applicaties & Updates" /FREG ADD %KEY%\1/VE /D "Register-instellingen" /fREG ADD %KEY%\1 /V 1 /D "%SYSTEMROOT%\Setup\SCRIPTS\RegisterSettings.exe" /fREG ADD %KEY%\2/VE /D "DirectX Redist April 2011" /fREG ADD %KEY%\2 /V 1 /D "%SYSTEMROOT%\Setup\SCRIPTS\DirectX9.29.1974April2011.exe" /fREG ADD %KEY%\3/VE /D "MSE v2.0.657.0" /fREG ADD %KEY%\3 /V 1 /D "%SYSTEMROOT%\Setup\SCRIPTS\MSE-2.0.657.0-NL-Win7-X64.exe" /fREG ADD %KEY%\4/VE /D "Windows 7 Instellingen" /fREG ADD %KEY%\4 /V 1 /D "%SYSTEMROOT%\Setup\SCRIPTS\Install.CMD" /fREG ADD %KEY%\5/VE /D "Windows 7 Gadgets" /fREG ADD %KEY%\5 /V 1 /D "%SYSTEMROOT%\Setup\SCRIPTS\Gadgets.exe" /fREG ADD %KEY%\6/VE /D "WinRAR v4.00" /fREG ADD %KEY%\6 /V 1 /D "%SYSTEMROOT%\Setup\SCRIPTS\WinRAR_4.00_Final.exe" /fREG ADD %KEY%\7/VE /D "7Zip v9.22" /fREG ADD %KEY%\7 /V 1 /D "%SYSTEMROOT%\Setup\SCRIPTS\7z922-x64.exe" /fREG ADD %KEY%\8/VE /D "Java v1.6.0.25" /fREG ADD %KEY%\8 /V 1 /D "%SYSTEMROOT%\Setup\SCRIPTS\JAVA-1.6.0.25.exe" /fREG ADD %KEY%\9/VE /D "VLC v1.1.9" /fREG ADD %KEY%\9 /V 1 /D "%SYSTEMROOT%\Setup\SCRIPTS\vlcmp119_silent.exe" /fREG ADD %KEY%\10/VE /D "Adobe Plug-Ins" /fREG ADD %KEY%\10 /V 1 /D "%SYSTEMROOT%\Setup\SCRIPTS\flashshock.exe" /fREG ADD %KEY%\11/VE /D "Adobe Reader X" /fREG ADD %KEY%\11 /V 1 /D "%SYSTEMROOT%\Setup\SCRIPTS\AcroRdrX_NL.exe" /fExit Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now