Jump to content

Recommended Posts

Posted

Normally I would use the following command for installing OpenOffice:

start /wait msiexec /qn /norestart /i openofficeorg24.msi SELECT_WORD=1 SELECT_EXCEL=1 SELECT_POWERPOINT=1 ADDLOCAL=gm_Root,gm_Prg,gm_r_Files_2,gm_r_Files_3,gm_r_Files_4,gm_r_Files_5,gm_r_Files_6,gm_r_Files_
7,gm_r_Files_8,gm_r_Files_9,gm_r_Fonts_OOo_Hidden,gm_p_Wrt,gm_p_Wrt_Bin,gm_p_Wrt_Help,gm_p_Calc,gm_p
_
Calc_Bin,gm_p_Calc_Help,gm_p_Calc_Addins,gm_Optional,gm_o_Quickstart

How can I get WPI to run that command?


Posted (edited)

Have you tried just this in cmdline1:

"msiexec /qn /norestart /i %wpipath%\install\openofficeorg24.msi SELECT_WORD=1 SELECT_EXCEL=1 SELECT_POWERPOINT=1 ADDLOCAL=gm_Root,gm_Prg,gm_r_Files_2,gm_r_Files_3,gm_r_Files_4,gm_r_Files_5,gm_r_Files_6,gm_r_Files_

7,gm_r_Files_8,gm_r_Files_9,gm_r_Fonts_OOo_Hidden,gm_p_Wrt,gm_p_Wrt_Bin,gm_p_Wrt_Help,gm_p_Calc,gm_p

_Calc_Bin,gm_p_Calc_Help,gm_p_Calc_Addins,gm_Optional,gm_o_Quickstart"

If no go on that the I suggest a cmd file calling it. (I can complie it to an exe so it doesn't show the ugly window.)

Edited by Kelsenellenelvian
Posted (edited)

Or try making a 7zip sfx, here is what you could try in your config.txt

;!@Install@!UTF-8!
RunProgram="openofficeorg24.msi /qn /norestart SELECT_WORD=1 SELECT_EXCEL=1 SELECT_POWERPOINT=1 \"ADDLOCAL=gm_Root,gm_Prg,gm_r_Files_2,gm_r_Files_3,gm_r_Files_4,gm_r_Files_5,gm_r_Files_6,gm_r_F
iles_7,gm_r_Files_8,gm_r_Files_9,gm_r_Fonts_OOo_Hidden,gm_p_Wrt,gm_p_Wrt_Bin,gm_p_Wrt_Help,gm_p_Calc
,
gm_p_Calc_Bin,gm_p_Calc_Help,gm_p_Calc_Addins,gm_Optional,gm_o_Quickstart\""
GUIMode="2"
;!@InstallEnd@!

If you are experiencing problems installing with WPI, try removing msiexec part, maybe adding /norestart to the end and quoting the ADDLOCAL switch (the commas will mess up the command)

openofficeorg24.msi /qn SELECT_WORD=1 SELECT_EXCEL=1 SELECT_POWERPOINT=1 ADDLOCAL="gm_Root,gm_Prg,gm_r_Files_2,gm_r_Files_3,gm_r_Files_4,gm_r_Files_5,gm_r_Files_6,gm_r_Files_7,gm
_r_Files_8,gm_r_Files_9,gm_r_Fonts_OOo_Hidden,gm_p_Wrt,gm_p_Wrt_Bin,gm_p_Wrt_Help,gm_p_Calc,gm_p_Cal
c
_Bin,gm_p_Calc_Help,gm_p_Calc_Addins,gm_Optional,gm_o_Quickstart" /norestart

Edited by ricktendo64

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.
×
×
  • Create New...