Guest AhrimanSefid2 Posted January 25, 2010 Share Posted January 25, 2010 (edited) Hi.I want to add office 2003 and 2007 and I want to install them separately each one to one windows in RunOnceEx mode.What should I do????Thanks a lot.cmdow @ /HID@Echo OffFOR %%i IN (D E F G H I J K L M N O P Q R S T U V W X Y Z) DO IF EXIST %%i:\win51ip.SP3 SET CDROM=%%i:SET PP=%cdrom%\XPS3\SETUP\$OEM$\SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Installing Programs" /fREG ADD %KEY%0 /VE /D "Office 2007 Enterprise" /fREG ADD %KEY%0 /V 1 /D "%PP%\XPS3\SETUP\$OEM$\OFFICE2007SP2ENGLISH\setup.exe" /adminfile "setup.msp" /fEXIT Edited January 25, 2010 by AhrimanSefid2 Link to comment Share on other sites More sharing options...
DaRk MaDnEsS Posted January 25, 2010 Share Posted January 25, 2010 Hi.I want to add office 2003 and 2007 and I want to install them separately each one to one windows in RunOnceEx mode.What should I do????Thanks a lot.cmdow @ /HID@Echo OffFOR %%i IN (D E F G H I J K L M N O P Q R S T U V W X Y Z) DO IF EXIST %%i:\win51ip.SP3 SET CDROM=%%i:SET PP=%cdrom%\XPS3\SETUP\$OEM$\SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Installing Programs" /fREG ADD %KEY%0 /VE /D "Office 2007 Enterprise" /fREG ADD %KEY%0 /V 1 /D "%PP%\XPS3\SETUP\$OEM$\OFFICE2007SP2ENGLISH\setup.exe" /adminfile "setup.msp" /fEXITwell t seems there is a small mistake in theretry this onecmdow @ /HID@Echo OffFOR %%i IN (D E F G H I J K L M N O P Q R S T U V W X Y Z) DO IF EXIST %%i:\win51ip.SP3 SET CDROM=%%i:SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Installing Programs" /fREG ADD %KEY%0 /VE /D "Office 2007 Enterprise" /fREG ADD %KEY%0 /V 1 /D "%CDROM%\XPS3\SETUP\$OEM$\OFFICE2007SP2ENGLISH\setup.exe" /adminfile "setup.msp" /fEXIT Link to comment Share on other sites More sharing options...
Guest AhrimanSefid2 Posted January 25, 2010 Share Posted January 25, 2010 Me Test Not Work.Plz Help For Fix It. Link to comment Share on other sites More sharing options...
iamtheky Posted January 25, 2010 Share Posted January 25, 2010 You dont have to tell it to run the msps. throw them all in the updates folder and just run setup.exeThat and you might need to stick with 8.3 filenamesif that is the case OFFICE2007SP2ENGLISH is about 12 characters too long 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