Office uninstall/install via batch file

K

kelly

I have been told that we are in violation of Office licensing and we need to
pull Office 10 Pro. and reinstall Office 10 Std.

I created a installation point and built a transform file for the XP std.
install. My created a batch file that runs msiexec to uninstall the current
version of Office (Pro) and reinstall the correct version standard. It looks
like the following:

@echo off
msiexec /x \\server\share\pro.msi
msiexec /i \\server\share\std.msi
exit

The problem I have is that the only way it will work is if I substitute a
mapped drive to the directory containing the .msi files. The UNC in the .bat
file does not seem to work. So the working version of the .bat file looks
like this:

@echo off
msiexec /x x:\pro.msi
msiexec /i x:\std.msi
exit

Why won't the UNC work?

Also I have a .mst file I built, can someone show me how to add this to the
install line to make it work. I tried:

msiexec /i t:\std.msi TRANSFOMS=officexpstd.mst
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top