Skip to content

Install of 4.4.196 fails on Windows 11 (Intel) #2206

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

Open
Lochabar opened this issue May 8, 2025 · 13 comments
Open

Install of 4.4.196 fails on Windows 11 (Intel) #2206

Lochabar opened this issue May 8, 2025 · 13 comments

Comments

@Lochabar
Copy link

Lochabar commented May 8, 2025

Describe the bug

Tried installing 4.4.196 on a windows 11 laptop (Intel machine not ARM) and got error 2503

Image

Area of issue

Installation/Other

To reproduce

Run installler

Expected behavior

No response

Open-Shell version

4.4.196

Windows version

Window 11 Pro 23H2

Additional context

No response

@Lochabar Lochabar added the Bug Something isn't working right. label May 8, 2025
@ge0rdi
Copy link
Member

ge0rdi commented May 8, 2025

Works for me fine. Tested on 24H2.

Please, run the installer with /lvx* log.txt switch to produce log from installation.
And then upload the log here.

@Lochabar
Copy link
Author

Lochabar commented May 8, 2025

The install worked when I ran it from the command prompt in order to get the log - I ran the command prompt as Administrator.
I had the same install problem with a windows 10 machine so I ran the install as administrator and that worked.
Obviously the install needs to be run as administrator.

@ge0rdi
Copy link
Member

ge0rdi commented May 9, 2025

There should be no need to start installer as administrator.
MSI installer would ask for elevation when necessary (there is this little shield icon on Install button).

I have just checked that and it works as expected.
Maybe there is some other issue on your system?

You can uninstall Open-Shell and then try to install again, using the logging parameter I have provided, but this time run it from standard user console.

@Lochabar
Copy link
Author

I've run a few tests.

  1. The .msi installer fails during installation if I just double click it or rt-click and use open.
  2. If I try and run the .msi installer as Administrator, I get a message from Windows saying the file does not have an app associated with it.
  3. The .msi installer runs correctly from a Command Prompt (regular not elevated)

Note:

  • I have another .msi installer that fails in the same way (it too ran correctly from a command prompt).
  • .exe installer run without problem

@ge0rdi ge0rdi removed the Bug Something isn't working right. label May 11, 2025
@ge0rdi
Copy link
Member

ge0rdi commented May 11, 2025

It looks like you have some problem with MSI installations on your machine.
Feel free to attach requested install log (maybe it will shed some light on the issue).
Other than than, I'm not sure we can do anything with it.

@Lochabar
Copy link
Author

And it is happening on both a Windows 10 and a Windows 11 machine.

This is the log file from the command prompt install (on the Windows 10 machine) that worked:

log.txt

I'll just have to remember to run .msi installs from the command prompt.

Okay, thanks for looking into this.

@ge0rdi
Copy link
Member

ge0rdi commented May 12, 2025

This is the log file from the command prompt install (on the Windows 10 machine) that worked:

Could you provide also log from case that doesn't work? (so that we can compare those)
Open standard console (non admin/elevated) and run OpenShellSetup_4_4_196.exe /lvx* log.txt.

@Lochabar
Copy link
Author

The install always works when I run from the command prompt, which is the only way I know of to add a parameter to the execution.
If there is a way to add the prompt to the install when using double-click, or rt-click and Open, please let me know.

@ge0rdi
Copy link
Member

ge0rdi commented May 12, 2025

That is even more weird.
Are you sure you open unelevated console?
What does net session print?

If there is a way to add the prompt to the install when using double-click, or rt-click and Open, please let me know.

I think you can create shortcut to the installer. And then in its properties there is Target on Shortcut tab. You can add the switch at the end. And then run the shortcut.

@Lochabar
Copy link
Author

Never even thought about using a shortcut. So here is the output from the Windows 10 install(:

log.txt

I ran it to "Change" the installation, rather than first uninstalling. If you want me to uninstall and run a full install, let me know,

@ge0rdi
Copy link
Member

ge0rdi commented May 12, 2025

It looks like the installer didn't ask for elevation for whatever reason. And then it ofc failed.
I have no clue what could be wrong.
Don't you have some non-standard UAC settings?

In any case I don't think this issue is Open-Shell related.

@Lochabar
Copy link
Author

Not that I'm aware. But there is some problem - like a said I can't rt-click on the installer and run as administrator (it says there is no association with .msi for elevated prompt).
And I agree it's not specifically Open-Shell related, as I realized I have the same problem with the help pack for LibreOffice.

@ge0rdi
Copy link
Member

ge0rdi commented May 13, 2025

I can't rt-click on the installer and run as administrator (it says there is no association with .msi for elevated prompt).

I guess you will need to fix .msi associations on your machine.
Have a look at this:
https://www.itprotoday.com/it-infrastructure/when-i-double-click-on-a-msi-file-it-has-no-association-what-can-i-do-

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants