waterblaze Posted December 16, 2006 Share Posted December 16, 2006 Hi all,I've finally managed to get my 1st unattended installation of Win2K3 and Office2K3 with all the hotfixes.I've used the following cmd line method to install Office (which works just fine)ECHO Installing Office 2003 ProfessionalECHO Please wait...start /wait %systemdrive%\install\Applications\Office2003\setup.exe TRANSFORMS=Unattended.MST /qb-Now that the installation is done, I would like to remove the Office installation folder that I don't need anymore.Any help would be much appreciated.Thanks.W. Link to comment Share on other sites More sharing options...
snooz Posted December 22, 2006 Share Posted December 22, 2006 (edited) Hi all,I've finally managed to get my 1st unattended installation of Win2K3 and Office2K3 with all the hotfixes.I've used the following cmd line method to install Office (which works just fine)ECHO Installing Office 2003 ProfessionalECHO Please wait...start /wait %systemdrive%\install\Applications\Office2003\setup.exe TRANSFORMS=Unattended.MST /qb-Now that the installation is done, I would like to remove the Office installation folder that I don't need anymore.Any help would be much appreciated.Thanks.W.I assume your referring to the MSOCache directory? If you are, go into the FILES\SETUP folder of your source and you will see a SETUP.INI with Pro version or a SETUPPRO.INI if your using a select CD. Scroll down the INI and you will see a CACHE section.You have two options to accomplish your goal:PURGE=1orCDCACHE=0Here is a page that tells you all about SETUP.INI:http://office.microsoft.com/en-us/ork2003/...1513671033.aspx Edited December 22, 2006 by snooz Link to comment Share on other sites More sharing options...
MGadAllah Posted December 22, 2006 Share Posted December 22, 2006 Why not to run it directly from your cd/dvd with the parameter %CDROM% instead of %systemdrive% Link to comment Share on other sites More sharing options...
dazzlee Posted December 22, 2006 Share Posted December 22, 2006 Hi all,I've finally managed to get my 1st unattended installation of Win2K3 and Office2K3 with all the hotfixes.I've used the following cmd line method to install Office (which works just fine)ECHO Installing Office 2003 ProfessionalECHO Please wait...start /wait %systemdrive%\install\Applications\Office2003\setup.exe TRANSFORMS=Unattended.MST /qb-Now that the installation is done, I would like to remove the Office installation folder that I don't need anymore.Any help would be much appreciated.Thanks.W.you can do itby adding a cleanup.cmd to your setupsuch asECHO Installing Office 2003 ProfessionalECHO Please wait...start /wait %systemdrive%\install\Applications\Office2003\setup.exe TRANSFORMS=Unattended.MST /qb-ECHO Cleaning UpECHO PLease Wait..... %systemdrive%\install\cleanup.cmdEXITand your cleanup.cmd shold contain all you removable files//- here represents comments ( remove that from the file, only for you understanding)cleanup.cmdcmdow @ /HIDshutdown.exe -r -f -t 60 -c "Windows XP will now restart in 1 minute..."net user aspnet /deleteDEL "%systemroot%\system32\dllcache\*.scr" //- deletes all screensaversDEL "%systemroot%\system32\*.scr" //- deletes all screensaversDEL "%AllUsersProfile%\Start Menu\Windows Update.lnk"DEL "%AllUsersProfile%\Start Menu\Set Program Access and Defaults.lnk"DEL "%AllUsersProfile%\Start Menu\Windows Catalog.lnk"DEL "%systemdrive%\install\Applications\Office2003\setup.exe" // - removes your office 2003 setup filesRD /S /Q %systemdrive%\install\ApplicationsEXITI hope you will understand now, if you have any doubts ask me... 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