January 25, 201016 yr 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, 201016 yr by AhrimanSefid2
January 25, 201016 yr 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
January 25, 201016 yr 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
Create an account or sign in to comment