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

Can't install Netease Music #1073

Open
kckm opened this issue Aug 7, 2021 · 28 comments
Open

Can't install Netease Music #1073

kckm opened this issue Aug 7, 2021 · 28 comments
Labels
Help Wanted Extra help is needed Known Issue Old known Sandboxie issues ToDo To be done UAC-related User Account Control issues

Comments

@kckm
Copy link

kckm commented Aug 7, 2021

This app can't be installed in sandboxie.
Netease Music

@Dyras
Copy link
Contributor

Dyras commented Aug 7, 2021

Link doesn't seem to work for me

@kckm
Copy link
Author

kckm commented Aug 7, 2021

Link doesn't seem to work for me

I have uploaded it to google drive.
https://drive.google.com/file/d/1H9z5jukbWBl_p2-8eUdCygzksr5w6H-h/view?usp=sharing

@Dyras
Copy link
Contributor

Dyras commented Aug 7, 2021

I don't understand a word of what the program says, but I've noticed this while running it in a brand new sandbox:

The icon gets stuck in the task bar
grafik

After installing it says this
grafik

Then I'm sent to this
grafik

Can you record trying to install the program? Because it appears to be working for me.

@Dyras
Copy link
Contributor

Dyras commented Aug 7, 2021

Tried it with admin rights disabled, with the option to trick programs into believing they are run as admin, and it still works.

@kckm
Copy link
Author

kckm commented Aug 7, 2021

Tried it with admin rights disabled, with the option to trick programs into believing they are run as admin, and it still works.

It says can't get the required permissions with fake admin mode:
屏幕截图 2021-08-07 194412
屏幕截图 2021-08-07 194708

And The installation window does not appear with admin mode. Click on the taskbar icon does not respond.
屏幕截图 2021-08-07 194611

@Dyras
Copy link
Contributor

Dyras commented Aug 7, 2021

I had to right click on the red icon and then press the Chinese text above it to make it work. Does that work for you?

Does it work in a brand new sandbox for you?

Try this:
Create a brand new sandbox
Enable fake admin mode
Right click the new sandbox and choose explorer
In the new explorer, navigate to the installation file and run it.
Does it work?

@kckm
Copy link
Author

kckm commented Aug 7, 2021

I had to right click on the red icon and then press the Chinese text above it to make it work. Does that work for you?

Does it work in a brand new sandbox for you?

I try it in a new sanbox. After right-clicking the installer taskbar icon, the installer will ask for UAC privileges directly.
屏幕截图 2021-08-07 200108

@kckm
Copy link
Author

kckm commented Aug 7, 2021

I had to right click on the red icon and then press the Chinese text above it to make it work. Does that work for you?

Does it work in a brand new sandbox for you?

Try this:
Create a brand new sandbox
Enable fake admin mode
Right click the new sandbox and choose explorer
In the new explorer, navigate to the installation file and run it.
Does it work?

No, it doesn't work.
屏幕截图 2021-08-07 194412
屏幕截图 2021-08-07 194708

@Dyras
Copy link
Contributor

Dyras commented Aug 7, 2021

That first picture. What kind of Windows are you using? Enterprise?

@kckm
Copy link
Author

kckm commented Aug 7, 2021

That first picture. What kind of Windows are you using? Enterprise?

windows 11 home

@Dyras
Copy link
Contributor

Dyras commented Aug 7, 2021

I don't think Windows 11 is supported yet

@kckm
Copy link
Author

kckm commented Aug 7, 2021

I don't think Windows 11 is supported yet

Before upgrading windows 11 it seems to have the same problem for me.

@isaak654
Copy link
Collaborator

isaak654 commented Aug 7, 2021

What Sandboxie version do you have?

@kckm
Copy link
Author

kckm commented Aug 7, 2021

What Sandboxie version do you have?

0.8.9

@Dyras
Copy link
Contributor

Dyras commented Aug 7, 2021

@isaak654 isaak654 added the Win 11 Windows 11 issues label Aug 7, 2021
@kckm
Copy link
Author

kckm commented Aug 7, 2021

Check if 0.9.2 works
https://github.com/sandboxie-plus/Sandboxie/releases/tag/0.9.2

Still have the same problem. But the window about requesting permissions disappeared with fake admin mode.

@kckm
Copy link
Author

kckm commented Aug 7, 2021

Right click and select the program, the windows UAC permission request for NetEase Music will appear.
屏幕截图 2021-08-07 200108
photo6087176326382464280

@Dyras
Copy link
Contributor

Dyras commented Aug 7, 2021

What happens if you accept?

@kckm
Copy link
Author

kckm commented Aug 7, 2021

What happens if you accept?

It will install outside sandbox.

@Dyras
Copy link
Contributor

Dyras commented Aug 7, 2021

Ah yes, I noticed that too actually on Windows 10. Fascinating.

@isaak654 isaak654 added the UAC-related User Account Control issues label Aug 7, 2021
@StoneMoe
Copy link

pretty similar with #1052, maybe duplicated

@isaak654
Copy link
Collaborator

pretty similar with #1052, maybe duplicated

Netease Music installer still doesn't work when sandboxed on 0.9.6, it remains stuck in the taskbar without opening at all.

However, I have discovered a line that at least opens the installer window, but in exchange it will allow full communication with all windows outside the sandbox, reducing the isolation: OpenWinClass=*
Source: OpenWinClass

@isaak654 isaak654 added Known Issue Old known Sandboxie issues ToDo To be done Help Wanted Extra help is needed and removed Win 11 Windows 11 issues labels Sep 12, 2021
@StoneMoe
Copy link

pretty similar with #1052, maybe duplicated

Netease Music installer still doesn't work when sandboxed on 0.9.6, it remains stuck in the taskbar without opening at all.

However, I have discovered a line that at least opens the installer window, but in exchange it will allow full communication with all windows outside the sandbox, reducing the isolation: OpenWinClass=*

Source: OpenWinClass

I found that the netease music installation window is invisible but focusable, focus on window and press enter key can start installing.

@isaak654
Copy link
Collaborator

I found that the netease music installation window is invisible but focusable, focus on window and press enter key can start installing.

I'm not sure to know how to focus a window that I can't see.

@mpheath
Copy link
Collaborator

mpheath commented Sep 12, 2021

It is a skinned NSIS installer. The images used for skinning are in a subfolder in the TEMP directory during install.

Saved details from Nirsoft WinLister

==================================================
Title             : ????? ??
Visible           : Yes
Location          : (-201, 32767)
Size              : (552, 333)
Handle            : 001703DE
Class             : #32770
Top Most          : No
Tool Window       : No
App Window        : No
Popup Window      : No
ProcessID         : 00001BA0
ThreadID          : 0000156C
Filename          : C:\test\cloudmusicsetup2.9.1.199099.exe
Program Name      : ?????
Description       : ?????
Version           : 2.9.1.199099
Company           : ????
==================================================

It is not hidden. It is -201 pixels to the left and 32767 pixels down on my system.

A workaround is to select the title name of the installer in the Winlister ListView, right click and select Center selected windows or press Ctrl+F6.

Does not look nice as the controls move up to the title bar of the window. Has some bad coordination issues.


Perhaps a better method is to silent install. NSIS uses /S argument to silent install. Not lower s, needs to be upper S as NSIS is case-sensitive with arguments.

  1. Select DefaultBox (or another sandbox name).
  2. Right click select Run -> Run Program.
  3. In File Explorer, select the installer file, hold down Shift key and right click to show the extended context-menu. Select Copy as path.
  4. Paste into Run Program input control. Then following the path, type a space and /S. Then select the OK button to install.
  5. Wait a few seconds for the install to end.

The text in Run Program should be example: "C:\test\cloudmusicsetup2.9.1.199099.exe" /S

Done with Sandboxie-Plus v0.9.6 on Windows 7 x64.

@StoneMoe
Copy link

I found that the netease music installation window is invisible but focusable, focus on window and press enter key can start installing.

I'm not sure to know how to focus a window that I can't see.

click it in taskbar to make window active

@isaak654
Copy link
Collaborator

click it in taskbar to make window active

Left click doesn't work, do you mean the right click on the taskbar button and select the program from the menu? It's something I prefer to avoid, because it calls an annoying UAC elevation prompt:
immagine

@StoneMoe
Copy link

StoneMoe commented Sep 13, 2021

click it in taskbar to make window active

Left click doesn't work, do you mean the right click on the taskbar button and select the program from the menu? It's something I prefer to avoid, because it calls an annoying UAC elevation prompt:
immagine

I mean LEFT click once, make sure the installer is currently "foreground active window"/highlighted in taskbar, then press enter key blindly even it's invisible/off screen.

and you can see a progress bar showed up in taskbar window preview, then press enter again to finish and close the window

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Help Wanted Extra help is needed Known Issue Old known Sandboxie issues ToDo To be done UAC-related User Account Control issues
Projects
None yet
Development

No branches or pull requests

5 participants