Fx2050 Posted July 5, 2005 Share Posted July 5, 2005 just tested my 1st full attempt xp + officeinstalled fine in VM, logs in then goes to run the office setup but fails.'cannot find 'install\Applications\OfficeXP\Proplus.exe'this is my runonce file: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:\CD.txt SET CDROM=%%i:SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY%\001 /VE /D "Microsoft Office XP" /fREG ADD %KEY%\001 /V 1 /D "%CDROM%\install\Applications\OfficeXP\proplus.exe TRANSFORMS=Unattended.mst /qb-" /fEXITand my directory structure to the file is (b4 iso convert):D:\XPCD\$OEM$\$1\install\Applications\OfficeXP\proplus.exeobviously i must have the path wrong or something to do with the cdrom script part.do i amend to something like : "%CDROM%\$OEM$\$1\install\Applications\OfficeXP\proplus.exe TRANSFORMS=Unattended.mst /qb-" /fthat dont seem right though???or am i being stupid and it should b PROPLUS.exe??? Link to comment Share on other sites More sharing options...
Fx2050 Posted July 5, 2005 Author Share Posted July 5, 2005 well tried a few times and nothing, tried using %systemdrive% and %cdrom%now just loads windows and dont start office no error messages about not finding file or nothing.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:\CD.txt SET CDROM=%%i:SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY%\001 /VE /D "Microsoft Office XP" /fREG ADD %KEY%\001 /V 1 /D "%systemdrive%\install\Applications\OfficeXP\PROPLUS.msi TRANSFORMS=Unattended.mst /qb-" /fEXITusing the proplus.msi as when started the msfn unattended guide i didnt have setup.exe on cd so pointed to the msi.please help Link to comment Share on other sites More sharing options...
Fx2050 Posted July 6, 2005 Author Share Posted July 6, 2005 dont seem to get much help on these forums.I spose the the usual answer, hunt the forums, spend a few days putting the puzzle together.thanks alot Link to comment Share on other sites More sharing options...
MadBoy Posted July 6, 2005 Share Posted July 6, 2005 I believe you will need setup.exe for it to work. REG ADD %KEY%\002 /VE /D "Microsoft Office XP Standard" /fREG ADD %KEY%\002 /V 1 /D "\\server\Install\Microsoft_OfficeXP\setup.exe TRANSFORMS=Unattended.MST /qb-" /fI have something like this and this works like a charm. I would suggest you getting proper version of Office. Link to comment Share on other sites More sharing options...
Fx2050 Posted July 6, 2005 Author Share Posted July 6, 2005 thanks but it doesn't have a setup.exe only proplus.msi and i see no reason why a script to run a file wouldnt work if a exe or msi but u never know.but u may b right, when code was setup.exe i am told cannot find, when change to msi it just does nothing. Link to comment Share on other sites More sharing options...
Joe User 99 Posted July 7, 2005 Share Posted July 7, 2005 but u may b right, when code was setup.exe i am told cannot find, when change to msi it just does nothing.<{POST_SNAPBACK}>That is because you need to call MSIEXEC.EXE if you are calling the MSI.MSIEXEC.EXE /i %systemdrive%\install\Applications\OfficeXP\PROPLUS.msi TRANSFORMS=Unattended.mst /qb- etc, etc.MSIEXEC.EXE is located in System32 if you need the path for that. Link to comment Share on other sites More sharing options...
Fx2050 Posted July 8, 2005 Author Share Posted July 8, 2005 so then i edit to:REG ADD %KEY%\001 /VE /D "Microsoft Office XP" /fREG ADD %KEY%\001 /V 1 /D "MSIEXEC.EXE /i %systemdrive%\install\Applications\OfficeXP\PROPLUS.msi TRANSFORMS=Unattended.mst /qb-" /for do i specify the path to the msiexec.exe ??? Link to comment Share on other sites More sharing options...
Joe User 99 Posted July 8, 2005 Share Posted July 8, 2005 I think since MSIEXEC.EXE is in System32, which is in the system path, it should work without specifiying it. But it shouldn't hurt if you did. 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