Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installing .msi on Windows claims it succeeded, but software not installed #19039

Closed
mna opened this issue May 15, 2024 · 1 comment
Closed
Assignees
Labels
#g-mdm MDM product group P2 Prioritize as urgent :release Ready to write code. Scheduled in a release. See "Making changes" in handbook. ~sub-task A technical sub-task that is part of a story. (Not QA'd. Not estimated.)
Milestone

Comments

@mna
Copy link
Member

mna commented May 15, 2024

https://www.loom.com/share/febddafe99c94dfca9369886f9828adb?sid=24074488-8fff-4713-b2d7-a774ade85998

Tested with Go .msi and Google Chrome .msi, standard install script, no pre/post conditions:

image

Resulted in:

image
image

DB record:

*************************** 2. row ***************************
                           id: 3
                 execution_id: e11d6147-7ea4-47df-baf3-8932e66f629c
                      host_id: 1
        software_installer_id: 3
     pre_install_query_output: NULL
        install_script_output: === Verbose logging started: 5/15/2024  15:04:27  Build type: SHIP UNICODE 5.00.10011.00  Calling process: C:\Windows\system32\msiexec.exe ===
MSI (c) (F8:74) [15:04:27:224]: Resetting cached policy values
MSI (c) (F8:74) [15:04:27:224]: Machine policy value 'Debug' is 0
MSI (c) (F8:74) [15:04:27:224]: ******* RunEngine:
           ******* Product: 
           ******* Action: 
           ******* CommandLine: **********
MSI (c) (F8:74) [15:04:27:224]: Client-side and UI is none or basic: Running entire install on the server.
MSI (c) (F8:74) [15:04:27:224]: Grabbed execution mutex.
MSI (c) (F8:74) [15:04:27:355]: Cloaking enabled.
MSI (c) (F8:74) [15:04:27:355]: Attempting to enable all disabled privileges before calling Install on Server
MSI (c) (F8:74) [15:04:27:372]: Incrementing counter to disable shutdown. Counter after increment: 0
MSI (s) (A4:F4) [15:04:27:415]: Running installation inside multi-package transaction C:\Windows\SystemTemp\4015528170\
MSI (s) (A4:F4) [15:04:27:415]: Grabbed execution mutex.
MSI (s) (A4:9C) [15:04:27:421]: Resetting cached policy values
MSI (s) (A4:9C) [15:04:27:421]: Machine policy value 'Debug' is 0
MSI (s) (A4:9C) [15:04:27:421]: ******* RunEngine:
           ******* Product: C:\Windows\SystemTemp\4015528170\
           ******* Action: 
           ******* CommandLine: **********
MSI (s) (A4:9C) [15:04:27:421]: Note: 1: 2203 2: C:\Windows\SystemTemp\4015528170\ 3: -2147287037 
MSI (s) (A4:9C) [15:04:27:421]: MainEngineThread is returning 3
MSI (s) (A4:F4) [15:04:27:421]: User policy value 'DisableRollback' is 0
MSI (s) (A4:F4) [15:04:27:421]: Machine policy value 'DisableRollback' is 0
MSI (s) (A4:F4) [15:04:27:421]: Incrementing counter to disable shutdown. Counter after increment: 0
MSI (s) (A4:F4) [15:04:27:421]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2 
MSI (s) (A4:F4) [15:04:27:421]: Note: 1: 1402 2: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Installer\Rollback\Scripts 3: 2 
MSI (s) (A4:F4) [15:04:27:432]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied.  Counter after decrement: -1
MSI (c) (F8:74) [15:04:27:441]: Decrementing counter to disable shutdown. If counter >= 0, shutdown will be denied.  Counter after decrement: -1
MSI (c) (F8:74) [15:04:27:444]: MainEngineThread is returning 3
=== Verbose logging stopped: 5/15/2024  15:04:27 ===


     install_script_exit_code: 0
   post_install_script_output: NULL
post_install_script_exit_code: NULL
                      user_id: 1
                   created_at: 2024-05-15 19:03:08
                   updated_at: 2024-05-15 19:04:29
@mna mna added #g-mdm MDM product group :release Ready to write code. Scheduled in a release. See "Making changes" in handbook. ~sub-task A technical sub-task that is part of a story. (Not QA'd. Not estimated.) P2 Prioritize as urgent labels May 15, 2024
roperzh added a commit that referenced this issue May 15, 2024
for #19039 and #19041 this:

- fixes the install/remove scripts to read the env variable the proper
  way
- truncates output before storing in the databse in case its longer than
  MySQL's TEXT size
@roperzh roperzh assigned roperzh and unassigned dantecatalfamo May 15, 2024
@georgekarrv georgekarrv added this to the 4.50.0 milestone May 15, 2024
roperzh added a commit that referenced this issue May 15, 2024
for #19039 and #19041 this:

- fixes the install/remove scripts to read the env variable the proper
way
- truncates output before storing in the databse in case its longer than
MySQL's TEXT size

# Checklist for submitter

If some of the following don't apply, delete the relevant line.

<!-- Note that API documentation changes are now addressed by the
product design team. -->

- [x] Added/updated tests
- [x] Manual QA for all new/changed functionality
@fleet-release
Copy link
Contributor

MSI's silent song,
Invisible to Windows,
Fleet brings to light.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
#g-mdm MDM product group P2 Prioritize as urgent :release Ready to write code. Scheduled in a release. See "Making changes" in handbook. ~sub-task A technical sub-task that is part of a story. (Not QA'd. Not estimated.)
Development

No branches or pull requests

6 participants