sought1986

how to make batch command in windows post install

6 posts in this topic

I'll explain I created a batch file to start in silent mode when I start office 2010 post install is fine but not in the program can not start it.thanks

excuse my English but I translated with google

0

Share this post


Link to post
Share on other sites

So I created the office with my setup and configuration tools so you could install silently together we must create the batch file "setup.exe / adminfile mysetting.msp" with it and the name I gave to my setup now I I ask when I put the WPI file I meter the other hand if I do it from just okay and wanted to know if there is a command I tried to start it with the command {start} "wpipath%% \ install \ office . cmd "but should not be

0

Share this post


Link to post
Share on other sites

Maybe you can try using SFX modified module and after install silently with WPI:

http://www.wincert.net/forum/topic/3717-office-2007-unattended-setup-fine-tuning/#entry75299

Example using WPI for Office 2007


prog[pn]=['Office Standard 2007 SP3'];
uid[pn]=['OFFICESTANDARD2007SP3'];
ordr[pn]=[4];
dflt[pn]=['yes'];
forc[pn]=['no'];
bit64[pn]=['no'];
cat[pn]=['Applications'];
pfro[pn]=['no'];
cmds[pn]=['"%wpipath%\\Install\\Office\\Office12.exe"'];
desc[pn]=['Office Standard 2007 SP3'];
pn++;

0

Share this post


Link to post
Share on other sites

{START} cmd /c "%wpipath%\Install\Filefolder\batchname.cmd"

exsample

{START} cmd /c "%wpipath%\\Install\\Office2007SP3\\setup.bat"

============ Merged Post ============

prog[pn]=['Office 2007 SP2 Eng'];

uid[pn]=['OFFICE2007SP2ENG'];

ordr[pn]=[604];

dflt[pn]=['no'];

forc[pn]=['no'];

bit64[pn]=['no'];

cat[pn]=['Microsoft Office'];

pfro[pn]=['no'];

cmds[pn]=['"%wpipath%\\install\\WINDOWS_OFFICE\\Microsoft_Office\\Microsoft_Office_2007\\Office 2007 Professional Plus SP2 12.0.6416.1000\\setup.exe" /adminfile Unattended.MSP /config custom.xml','"%wpipath%\\install\\WINDOWS_OFFICE\\Microsoft_Office\\Microsoft_Office_2007\\Office.vbs"'];

desc[pn]=['Microsoft Office 2007 SP2 Eng'];

pn++;

0

Share this post


Link to post
Share on other sites

You can change settings from config.xml 2010

For 2007 I make it changes in config then in WPI run

setup.exe /config config.xml
config exemple, and must be in the same folder with setup.exe

<Configuration Product="Enterprise"> <Display Level="none" CompletionNotice="none" SuppressModal="yes" AcceptEula="yes" /> -->        <!-- <Logging Type="standard" Path="%temp%" Template="Microsoft Office Enterprise Setup(*).txt" /> -->    <PIDKEY Value="YOUSERIALNUMBER" />     <!-- <USERNAME Value="Customer" /> -->        <!-- <COMPANYNAME Value="MyCompany" /> -->        <!-- <INSTALLLOCATION Value="%programfiles%\Microsoft Office" /> -->        <!-- <LIS CACHEACTION="CacheOnly" /> -->        <!-- <SOURCELIST Value="\\server1\share\Office12;\\server2\share\Office12" /> -->        <!-- <DistributionPoint Location="\\server\share\Office12" /> -->        <!-- <OptionState Id="OptionID" State="absent" Children="force" /> --><OptionState Id="AcceslFiles" State="local" Children="force" /><OptionState Id="ExcelFiles" State="local" Children="force" /><OptionState Id="GrooveFiles" State="absent" Children="force" /><OptionState Id="XDOCSFiles" State="absent" Children="force" /><OptionState Id="OneNoteFiles" State="absent" Children="force" /><OptionState Id="OUTLOOKFiles" State="absent" Children="force" /><OptionState Id="PowerPointFiles" State="local" Children="force" /><OptionState Id="PublisherFiles" State="local" Children="force" /><OptionState Id="VisioFiles" State="absent" Children="force" /><OptionState Id="Word" State="local" Children="force" />    <!-- <Setting Id="Reboot" Value="IfNeeded" /> -->        <!-- <Command Path="msiexec.exe" Args="/i \\server\share\my.msi" QuietArg="/q" ChainPosition="after" Execute="install" /> --> </Configuration>
I use config.xml because on sillent install I don`t want groove, outlook, onenote etc.. Edited by condor
0

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.