You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openoffice.apache.org by bu...@apache.org on 2013/06/19 10:41:04 UTC

[Bug 122560] New: Silent installation fails on Win7

https://issues.apache.org/ooo/show_bug.cgi?id=122560

            Bug ID: 122560
        Issue Type: DEFECT
           Summary: Silent installation fails on Win7
           Product: Installation
           Version: AOO400-dev
          Hardware: All
                OS: All
            Status: CONFIRMED
          Severity: critical
          Priority: P2
         Component: code
          Assignee: issues@openoffice.apache.org
          Reporter: fanyuzhen@gmail.com
                CC: issues@openoffice.apache.org
             Flags: 4.0.0_release_blocker?

Steps:

1. Run the .exe file downloaded from 
https://cwiki.apache.org/confluence/display/OOOUSERS/Development+Snapshot+Builds#DevelopmentSnapshotBuilds-AOOSnapshotfullsets 
2. Follow the guild in 
http://wiki.openoffice.org/wiki/Documentation/How_Tos/Automatic_Installation_on_Windows#Downloading_and_Unpacking_OpenOffice.org,
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

Note: 
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

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.

[Bug 122560] msiexec installation only possible with parameter "/i"

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=122560

brinzing <ol...@gmx.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |oliver.brinzing@gmx.de

--- Comment #7 from brinzing <ol...@gmx.de> ---
can someone give me a hint how to install aoo 4 *silent* with
"setup.exe/msiexec" using *.msi and a *.mst transform file?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.

4.0.0_release_blocker canceled: [Bug 122560] msiexec installation only possible with parameter "/i"

Posted by bu...@apache.org.
Andre <aw...@googlemail.com> has canceled fanyuzhen@gmail.com's request for
4.0.0_release_blocker:
Bug 122560: msiexec installation only possible with parameter "/i"
https://issues.apache.org/ooo/show_bug.cgi?id=122560


------- Additional Comments from Andre <aw...@googlemail.com>
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.

[Bug 122560] Silent installation fails

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=122560

Alexandro Colorado <jz...@oooes.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jza@oooes.org

--- Comment #2 from Alexandro Colorado <jz...@oooes.org> ---
Added to issue. 

Original request:
Harry Qi2 Zhou via oooes.org 
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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.

[Bug 122560] msiexec installation only possible with parameter "/i"

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=122560

rainerbielefeld <ra...@bielefeldundbuss.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |CONFIRMED
            Summary|Silent installation fails   |msiexec installation only
                   |                            |possible with parameter
                   |                            |"/i"
     Ever confirmed|0                           |1

--- Comment #4 from rainerbielefeld <ra...@bielefeldundbuss.de> ---
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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.

[Bug 122560] msiexec installation only possible with parameter "/i"

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=122560

Andre <aw...@googlemail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |awf.aoo@googlemail.com
              Flags|4.0.0_release_blocker?      |

--- Comment #6 from Andre <aw...@googlemail.com> ---
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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.

[Bug 122560] msiexec installation only possible with parameter "/i"

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=122560

Harry <zh...@lenovo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |zhouqi2@lenovo.com

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.

4.0.0_release_blocker requested: [Bug 122560] Silent installation fails on Win7

Posted by bu...@apache.org.
fanyuzhen@gmail.com has asked  for 4.0.0_release_blocker:
Bug 122560: Silent installation fails on Win7
https://issues.apache.org/ooo/show_bug.cgi?id=122560


------- Additional Comments from fanyuzhen@gmail.com
Steps:

1. Run the .exe file downloaded from 
https://cwiki.apache.org/confluence/display/OOOUSERS/Development+Snapshot+Build
s#DevelopmentSnapshotBuilds-AOOSnapshotfullsets 
2. Follow the guild in 
http://wiki.openoffice.org/wiki/Documentation/How_Tos/Automatic_Installation_on
_Windows#Downloading_and_Unpacking_OpenOffice.org, 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

Note: 
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

[Bug 122560] msiexec installation only possible with parameter "/i"

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=122560

--- Comment #8 from brinzing <ol...@gmx.de> ---
seems to work for example:

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

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.

[Bug 122560] Silent installation fails

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=122560

rainerbielefeld <ra...@bielefeldundbuss.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |needmoreinfo
             Status|CONFIRMED                   |UNCONFIRMED
                 CC|                            |rainerbielefeld_ooo_qa@biel
                   |                            |efeldundbuss.de
            Summary|Silent installation fails   |Silent installation fails
                   |on Win7                     |
     Ever confirmed|1                           |0
                 OS|All                         |Windows 7

--- Comment #1 from rainerbielefeld <ra...@bielefeldundbuss.de> ---
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"

@fanyuzhen@gmail.com:
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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.

[Bug 122560] Silent installation fails

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=122560

rainerbielefeld <ra...@bielefeldundbuss.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|needmoreinfo                |

--- Comment #3 from rainerbielefeld <ra...@bielefeldundbuss.de> ---
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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.

[Bug 122560] msiexec installation only possible with parameter "/i"

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=122560

--- Comment #5 from rainerbielefeld <ra...@bielefeldundbuss.de> ---
Created attachment 80891
  --> https://issues.apache.org/ooo/attachment.cgi?id=80891&action=edit
Logs Comparing installation on WIN7 and WINXP

For details please see Comment 4

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.