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

Windows silent installation issue for 5.4.0 #25349

Open
g3rhard opened this issue Feb 18, 2025 · 6 comments
Open

Windows silent installation issue for 5.4.0 #25349

g3rhard opened this issue Feb 18, 2025 · 6 comments
Labels
kind/bug Categorizes issue or PR as related to a bug. windows issue/bug on Windows

Comments

@g3rhard
Copy link

g3rhard commented Feb 18, 2025

Issue Description

Windows installation of Podman doesn't work as expected, files is not appearing in "Program Files".
In logs I see message (pretty sure, that arguments works before):

[12EC:00B8][2025-02-18T10:18:01]i000: Ignoring unknown argument: /install

Steps to reproduce the issue

Installation from CLI (powershell):

Start-Process ".\installer.exe" -ArgumentList "/install", "/quiet", "MachineProvider=wsl WSLCheckbox=0 HyperVCheckbox=0" ,"/norestart", "/log $InstallationLogPath\$ApplicationName\install.log" `
    -WindowStyle Hidden -Wait

Describe the results you received

In logs I have this message:

[12EC:1678][2025-02-18T10:18:01]i001: Burn x64 v5.0.2+aa65968c419420d32e3e1b647aea0082f5ca5b78, Windows v10.0 x64 (Build 19045: Service Pack 0), path: C:\Users\admin\Desktop\src_podman\installer.exe
[12EC:1678][2025-02-18T10:18:01]i000: Initializing formatted variable 'InstallFolder' to value '[ProgramFiles64Folder]RedHat\Podman'
[12EC:1678][2025-02-18T10:18:01]i000: Initializing string variable 'VERSION' to value '5.4.0'
[12EC:1678][2025-02-18T10:18:01]i000: Initializing string variable 'MachineProvider' to value 'wsl'
[12EC:1678][2025-02-18T10:18:01]i000: Initializing numeric variable 'AllowOldWin' to value '0'
[12EC:1678][2025-02-18T10:18:01]i000: Initializing string variable 'LaunchTarget' to value 'explorer.exe'
[12EC:1678][2025-02-18T10:18:01]i000: Initializing string variable 'LaunchArguments' to value '"[InstallFolder]\podman-for-windows.html"'
[12EC:1678][2025-02-18T10:18:01]i000: Initializing numeric variable 'SkipConfigFileCreation' to value '0'
[12EC:1678][2025-02-18T10:18:01]i009: Command Line: '/install /quiet MachineProvider=wsl WSLCheckbox=0 HyperVCheckbox=0 /norestart /log C:\ProgramData\Microsoft\IntuneManagementExtension\Logs\Podman\install.log'
[12EC:1678][2025-02-18T10:18:01]i000: Setting string variable 'WixBundleOriginalSource' to value 'C:\Users\admin\Desktop\src_podman\installer.exe'
[12EC:1678][2025-02-18T10:18:01]i000: Setting string variable 'WixBundleOriginalSourceFolder' to value 'C:\Users\admin\Desktop\src_podman\'
[12EC:1678][2025-02-18T10:18:01]i000: Setting string variable 'WixBundleLog' to value 'C:\ProgramData\Microsoft\IntuneManagementExtension\Logs\Podman\install.log'
[12EC:00B8][2025-02-18T10:18:01]i000: Ignoring unknown argument: /install
[12EC:00B8][2025-02-18T10:18:01]i000: Setting string variable 'MachineProvider' to value 'wsl'
[12EC:00B8][2025-02-18T10:18:01]e000: Ignoring attempt to set non-overridable variable: 'WSLCheckbox'.
[12EC:00B8][2025-02-18T10:18:01]e000: Ignoring attempt to set non-overridable variable: 'HyperVCheckbox'.
[12EC:00B8][2025-02-18T10:18:01]i000: Setting version variable 'WixBundleFileVersion' to value '5.0.2.0'
[12EC:00B8][2025-02-18T10:18:01]i000: Setting numeric variable 'WixStdBASuppressOptionsUI' to value 1
[12EC:00B8][2025-02-18T10:18:01]i000: Setting numeric variable 'WixStdBAShowVersion' to value 1
[12EC:00B8][2025-02-18T10:18:01]i000: Setting numeric variable 'WixStdBALanguageId' to value 1033
[12EC:1678][2025-02-18T10:18:01]i100: Detect begin, 1 packages
[12EC:1678][2025-02-18T10:18:01]i000: Setting string variable 'CBNumber' to value '19045'
[12EC:1678][2025-02-18T10:18:01]i000: Registry key not found. Key = 'SOFTWARE\[WixBundleManufacturer]\[WixBundleName]'
[12EC:1678][2025-02-18T10:18:01]i000: Setting string variable 'PreviousVersion' to value '5.4.0'
[12EC:1678][2025-02-18T10:18:01]i052: Condition 'PreviousInstallFolder' evaluates to false.
[12EC:1678][2025-02-18T10:18:01]i103: Detected related package: {2360651F-CFAB-4C98-A43D-408266BDD88A}, scope: PerMachine, version: 5.2.5, language: 0 operation: MajorUpgrade
[12EC:1678][2025-02-18T10:18:01]i101: Detected package: Setup, state: Present, cached: Yes, install registration state: Present, cache registration state: Present
[12EC:00B8][2025-02-18T10:18:01]i052: Condition 'VersionNT >= v10.0 AND (CBNumber >= 19041 OR AllowOldWin = 1)' evaluates to true.
[12EC:00B8][2025-02-18T10:18:01]i052: Condition 'WixBundleInstalled OR WixBundleForcedRestartPackage OR PreviousVersion <> VERSION' evaluates to true.
[12EC:00B8][2025-02-18T10:18:01]i052: Condition 'PreviousVersion <> v5.3.1' evaluates to true.
[12EC:1678][2025-02-18T10:18:01]i199: Detect complete, result: 0x0, registration state: Full, cached: Yes, eligible for cleanup: No
[12EC:1678][2025-02-18T10:18:01]i200: Plan begin, 1 packages, action: Install
[12EC:1678][2025-02-18T10:18:01]i222: Planned rollback boundary: 'WixDefaultBoundary', vital: Yes, transaction: No (default: No)
[12EC:1678][2025-02-18T10:18:01]i201: Planned package: Setup, state: Present, default requested: Present, ba requested: Present, execute: None, rollback: None, default cache strategy: Keep, ba requested strategy: Keep, cache: Vital, uncache: No, dependency: Register, expected install registration state: Present, expected cache registration state: Present
[12EC:1678][2025-02-18T10:18:01]i299: Plan complete, result: 0x0
[12EC:1678][2025-02-18T10:18:01]i300: Apply begin
[12EC:1678][2025-02-18T10:18:01]i010: Launching elevated engine process.
[12EC:1678][2025-02-18T10:18:01]i011: Launched elevated engine process.
[12EC:1678][2025-02-18T10:18:01]i012: Connected to elevated engine.
[0784:1450][2025-02-18T10:18:01]i358: Pausing automatic updates.
[0784:1450][2025-02-18T10:18:01]i359: Paused automatic updates.
[0784:1450][2025-02-18T10:18:01]i360: Creating a system restore point.
[0784:1450][2025-02-18T10:18:01]w363: Could not create system restore point, error: 0x80070422. Continuing...
[0784:1450][2025-02-18T10:18:01]i370: Session begin, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{4DCD1D95-7746-4FC4-B06F-F950B7428176}, options: 0x3, disable resume: No
[0784:1450][2025-02-18T10:18:01]i000: Caching bundle from: 'C:\Windows\TEMP\{192CD1C1-F373-4FB1-BC24-9E6D66D683EA}\.be\podman-setup.exe' to: 'C:\ProgramData\Package Cache\{4DCD1D95-7746-4FC4-B06F-F950B7428176}\podman-setup.exe'
[0784:1450][2025-02-18T10:18:01]i320: Registering bundle dependency provider: {4DCD1D95-7746-4FC4-B06F-F950B7428176}, version: 5.4.0
[0784:1450][2025-02-18T10:18:01]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{4DCD1D95-7746-4FC4-B06F-F950B7428176}, resume: Active, restart initiated: No, disable resume: No
[0784:03EC][2025-02-18T10:18:01]i304: Verified existing payload: Setup at path: C:\ProgramData\Package Cache\{AAB477BD-A1F5-4580-A321-7D04B41C7AC8}v5.4.0\podman.msi.
[0784:1450][2025-02-18T10:18:01]i323: Registering package dependency provider: {AAB477BD-A1F5-4580-A321-7D04B41C7AC8}_v5.4.0, version: 5.4.0, package: Setup
[12EC:1678][2025-02-18T10:18:01]i373: Calculating whether to keep registration
[12EC:1678][2025-02-18T10:18:01]i374:   package: Setup, install registration state: Present, cache registration state: Present
[12EC:1678][2025-02-18T10:18:01]i372: Session end, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{4DCD1D95-7746-4FC4-B06F-F950B7428176}, resume: ARP, restart: None, disable resume: No, default registration: Full, ba requested registration: Full
[0784:1450][2025-02-18T10:18:01]i325: Registering dependency: {4DCD1D95-7746-4FC4-B06F-F950B7428176} on package provider: {AAB477BD-A1F5-4580-A321-7D04B41C7AC8}_v5.4.0, package: Setup
[0784:1450][2025-02-18T10:18:01]i371: Updating session, registration key: SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{4DCD1D95-7746-4FC4-B06F-F950B7428176}, resume: ARP, restart initiated: No, disable resume: No
[0784:1450][2025-02-18T10:18:01]i420: Resuming automatic updates.
[0784:1450][2025-02-18T10:18:01]i421: Resumed automatic updates.
[12EC:00B8][2025-02-18T10:18:01]i000: Setting string variable 'WixStdBARestartRequired' to value ''
[12EC:1678][2025-02-18T10:18:01]i399: Apply complete, result: 0x0, restart: None, ba requested restart:  No
[12EC:1678][2025-02-18T10:18:01]i500: Shutting down, exit code: 0x0
[12EC:1678][2025-02-18T10:18:01]i502: Cleanup begin.
[12EC:1678][2025-02-18T10:18:01]i503: Cleanup not required due to running Apply.
[12EC:1678][2025-02-18T10:18:01]i599: Cleanup complete, result: 0x0
[12EC:1678][2025-02-18T10:18:01]i410: Variable: AllowOldWin = 0
[12EC:1678][2025-02-18T10:18:01]i410: Variable: CBNumber = 19045
[12EC:1678][2025-02-18T10:18:01]i410: Variable: InstallFolder = C:\Program Files\RedHat\Podman
[12EC:1678][2025-02-18T10:18:01]i410: Variable: LaunchArguments = "[InstallFolder]\podman-for-windows.html"
[12EC:1678][2025-02-18T10:18:01]i410: Variable: LaunchTarget = explorer.exe
[12EC:1678][2025-02-18T10:18:01]i410: Variable: MachineProvider = wsl
[12EC:1678][2025-02-18T10:18:01]i410: Variable: PreviousVersion = 5.4.0
[12EC:1678][2025-02-18T10:18:01]i410: Variable: ProgramFiles64Folder = C:\Program Files\
[12EC:1678][2025-02-18T10:18:01]i410: Variable: RebootPending = 1
[12EC:1678][2025-02-18T10:18:01]i410: Variable: SkipConfigFileCreation = 0
[12EC:1678][2025-02-18T10:18:01]i410: Variable: VERSION = 5.4.0
[12EC:1678][2025-02-18T10:18:01]i410: Variable: VersionNT = 10.0.0.0
[12EC:1678][2025-02-18T10:18:01]i410: Variable: WixBundleAction = 6
[12EC:1678][2025-02-18T10:18:01]i410: Variable: WixBundleCommandLineAction = 6
[12EC:1678][2025-02-18T10:18:01]i410: Variable: WixBundleElevated = 1
[12EC:1678][2025-02-18T10:18:01]i410: Variable: WixBundleFileVersion = 5.0.2.0
[12EC:1678][2025-02-18T10:18:01]i410: Variable: WixBundleInProgressName = 
[12EC:1678][2025-02-18T10:18:01]i410: Variable: WixBundleInstalled = 1
[12EC:1678][2025-02-18T10:18:01]i410: Variable: WixBundleLog = C:\ProgramData\Microsoft\IntuneManagementExtension\Logs\Podman\install.log
[12EC:1678][2025-02-18T10:18:01]i410: Variable: WixBundleManufacturer = Red Hat
[12EC:1678][2025-02-18T10:18:01]i410: Variable: WixBundleName = Podman
[12EC:1678][2025-02-18T10:18:01]i410: Variable: WixBundleOriginalSource = C:\Users\admin\Desktop\src_podman\installer.exe
[12EC:1678][2025-02-18T10:18:01]i410: Variable: WixBundleOriginalSourceFolder = C:\Users\admin\Desktop\src_podman\
[12EC:1678][2025-02-18T10:18:01]i410: Variable: WixBundleProviderKey = {4DCD1D95-7746-4FC4-B06F-F950B7428176}
[12EC:1678][2025-02-18T10:18:01]i410: Variable: WixBundleTag = 
[12EC:1678][2025-02-18T10:18:01]i410: Variable: WixBundleUILevel = 2
[12EC:1678][2025-02-18T10:18:01]i410: Variable: WixBundleVersion = 5.4.0
[12EC:1678][2025-02-18T10:18:01]i410: Variable: WixStdBALanguageId = 1033
[12EC:1678][2025-02-18T10:18:01]i410: Variable: WixStdBARestartRequired = 
[12EC:1678][2025-02-18T10:18:01]i410: Variable: WixStdBAShowVersion = 1
[12EC:1678][2025-02-18T10:18:01]i410: Variable: WixStdBASuppressOptionsUI = 1
[12EC:1678][2025-02-18T10:18:01]i007: Exit code: 0x0, restarting: No

Describe the results you expected

Installation of Podman.

podman info output

5.4.0

Podman in a container

No

Privileged Or Rootless

None

Upstream Latest Release

Yes

Additional environment details

Windows 10 22H2.

Additional information

Manual installation from installer (via UI) also doesn't work.

@g3rhard g3rhard added the kind/bug Categorizes issue or PR as related to a bug. label Feb 18, 2025
@g3rhard g3rhard changed the title Windows silent installation issue Windows silent installation issue for 5.4.0 Feb 18, 2025
@Luap99 Luap99 added the windows issue/bug on Windows label Feb 18, 2025
@g3rhard
Copy link
Author

g3rhard commented Feb 18, 2025

And additionally - extended setup log: install_000_Setup.log

@baude
Copy link
Member

baude commented Feb 18, 2025

@l0rd ptal

@l0rd
Copy link
Member

l0rd commented Feb 18, 2025

I won't be able to try to reproduce this now (I will be back next week). However, "silent installation" is tested at every PR check.

And the log [12EC:00B8][2025-02-18T10:18:01]i000: Ignoring unknown argument: /install in the installer bundle logs is expected and normal. The cause of the problem is somewhere else.

@g3rhard what's the last version of Podman that you were able to install successfully? Are you downloading the installer from our GH releases to C:\Users\admin\Desktop\src_podman\installer.exe or are you building it from sources?

@g3rhard
Copy link
Author

g3rhard commented Feb 18, 2025

Before that with the same flags I installed version v5.3.1
Yes, I downloaded installer from GH releases and not build it from sources.

@l0rd
Copy link
Member

l0rd commented Feb 18, 2025

@g3rhard we blocked upgrades from v5.3.1 to v5.4.x. It may somehow be related to your problem: you may try is to install v5.3.2 first and then upgrade to v5.4.0.

@g3rhard
Copy link
Author

g3rhard commented Feb 18, 2025

@l0rd I have clean system in VM, where I would like to install fresh version of Podman, so no upgrades on machine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug. windows issue/bug on Windows
Projects
None yet
Development

No branches or pull requests

4 participants