Issue 122560 - msiexec installation only possible with parameter "/i"
Summary: msiexec installation only possible with parameter "/i"
Alias: None
Product: Installation
Classification: Application
Component: code (show other issues)
Version: 4.0.0-dev
Hardware: All Windows 7
: P2 Normal with 2 votes (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
Depends on:
Reported: 2013-06-19 08:41 UTC by fanyuzhen
Modified: 2017-05-20 11:55 UTC (History)
7 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---

Logs Comparing installation on WIN7 and WINXP (491.84 KB, application/x-zip-compressed)
2013-06-21 05:42 UTC, Rainer Bielefeld
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description fanyuzhen 2013-06-19 08:41:04 UTC

1. Run the .exe file downloaded from 
2. Follow the guild in, by issue the following command:
start /wait msiexec /qn /norestart /i openoffice400.msi

Actual result: nothing happens, AOO is not installed
Expected result: AOO is silently installed successfully

1. AOO4.0 CAN be silently installed on WinXP
2. AOO 3.4.1 has the same problem, work on WinXP, does not work on Win7
Comment 1 Rainer Bielefeld 2013-06-19 09:11:24 UTC
I will test with latest builds, soon.

It seems my experience does not confirm all details of the report. I am used to do an administrative installation every week with a batch with contents like
"msiexec /a "C:\Users\Public\Documents\Ressourcen\OOo\400\2013-06-15_DEV\2013-06-14_1493305\openoffice400.msi" TARGETDIR="C:\OOo_Server\400\2013-06-14" /L*V "AOOo4.log" /qr", what always works fine and creates an installation log.

But I fail to do a normal installation ""msiexec /i ...", get a message "Please use setup.exe"
The manual you cited is more than outdated.
Can you please (as a first step) try proceeding for administrative installation? Your results can be base for further research.
Comment 2 JZA 2013-06-20 17:33:26 UTC
Added to issue. 

Original request:
Harry Qi2 Zhou via 
Dear Alexandro,

Sorry to trouble you again.
When I try to install openoffice with the silent command "msiexec /qn /i openofficeorg<version>.msi", there is no any response.
Then I try to run command without parameter "/qn", I got the prompt that I should use "setup.exe" to install. (refer to the attached picture)
Could you help to check this problem and provide me the correct silent command?
Thanks a lot.
Comment 3 Rainer Bielefeld 2013-06-20 21:14:55 UTC
I think the base problem here is that 'msiexec /a' does not work. I created some logs, will need some time to understand what happens.
Comment 4 Rainer Bielefeld 2013-06-21 05:41:25 UTC
Reproducible with  [AOO400m2(Build:9701)  -  Rev. 1493305
Rev.1491054  2013-06-14]" on WIN7 Home Premium (64bit)"

I did some more tests and found out: 
Rev. 1493382 only allows "msiexec/i". A simple installation with a doubleclick on "openoffice400.msi" will fail with error message "please use setup.exe".

Additional info:
On WIN7 64 bit "msiexec /i "C:\Users\Public\Documents\Ressourcen\OOo\400\2013-06-20--1493382\openoffice400.msi" TARGETDIR="C:\OOo_Server\400\2013-06-20" /L*V "AOOo4normalwin7.log" /qr" will fail,  For details please see attached "AOOo4normalwin7_immediatelyfails.log"

On WIN XP SP2 (VirtualBox) a very similar "msiexec /i "F:\2013-06-20--1493382\openoffice400.msi" TARGETDIR="C:\OOo_Server\400\2013-06-20" /L*V "AOOo4WINXP.log" /qr" will successfully start to install AOO, but Installation will not be finished because an Extensions registration problem, what might be a different issue.
For details please see attached "AOOo4WINXP_StartsSuccessful.log"

On WIN7 Running a command line "C:\Users\Public\Documents\Ressourcen\OOo\400\2013-06-20--1493382\setup.exe /h" shows that setup.exe will not allow a "/i" installation, same on WIN XP - what ever that might mean.

Not a new problem, I already see the problem with a 3.4beta. Worked fine with OOo 3.1.1.

I think it's a really critical problem that AOO does not allow administrators to deploy AOO as they need.
Comment 5 Rainer Bielefeld 2013-06-21 05:42:35 UTC
Created attachment 80891 [details]
Logs Comparing installation on WIN7 and WINXP

For details please see Comment 4
Comment 6 Andre 2013-07-08 14:01:24 UTC
If you start msiexec without the /qn option it shows one message box reading "Please use the file setup.exe to start the installation.".  This comes from a rule in the MSI file encoded in the main/instsetoo_native/inc_openoffice/windows/msi_templates/LaunchCo.idt file:

(VersionNT < 600) or (SETUP_USED=1) or Installed	OOO_LAUNCH_2 

with OOO_LAUNCH_2 being the id of the message text quoted above.
This basically means that on everything before Vista the MSI could be installed as is, while on Vista and above (Windows7 and Windows8) you need to run the setup.exe.

The line was checked in on Dezember 4th, 2009 with the comment:
#i96594# Allow customization of 'register for Microsoft File Types' in custom setup

Running the setup.exe is a little different from only installing the MSI.  Setup.exe can also run other commands and executables.  This includes redistributables for some Windows libraries and, like above, registration as handler for Microsoft file types.

In other words, this is not a bug, it's a feature.  Removing the release blocker flag.
Comment 7 Oliver Brinzing 2013-07-24 20:35:35 UTC
can someone give me a hint how to install aoo 4 *silent* with "setup.exe/msiexec" using *.msi and a *.mst transform file?
Comment 8 Oliver Brinzing 2013-07-25 14:41:25 UTC
seems to work for example:

start /wait setup.exe /qn TRANSFORMS=openoffice400.mst /L*V %temp%\aoo-400-install.log