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

Fake Acrylic Background Picker NRE #14

Closed
Techttv opened this issue Aug 9, 2021 · 5 comments
Closed

Fake Acrylic Background Picker NRE #14

Techttv opened this issue Aug 9, 2021 · 5 comments
Assignees
Labels
bug Something isn't working

Comments

@Techttv
Copy link

Techttv commented Aug 9, 2021

When I try to install BeautySearch an .net framework error show up.

Log:
`Le informazioni su come richiamare il debug JIT (Just-In-Time) anziché questa finestra
sono riportate in fondo al messaggio.

************** Testo dell'eccezione **************
System.NullReferenceException: Riferimento a un oggetto non impostato su un'istanza di oggetto.
in BeautySearch.FakeBackgroundAcrylic.IsSearchBoxVisible()
in BeautySearch.FakeBackgroundAcrylic.CaptureWallpaper(String directory)
in BeautySearch.ScriptInstaller.Install(FeatureControl features)
in BeautySearch.InstallationForm.installBtn_Click(Object sender, EventArgs e)
in System.Windows.Forms.Control.OnClick(EventArgs e)
in System.Windows.Forms.Button.OnClick(EventArgs e)
in System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
in System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
in System.Windows.Forms.Control.WndProc(Message& m)
in System.Windows.Forms.ButtonBase.WndProc(Message& m)
in System.Windows.Forms.Button.WndProc(Message& m)
in System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
in System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
in System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

************** Assembly caricati **************
mscorlib
Versione assembly: 4.0.0.0
Versione Win32: 4.8.4390.0 built by: NET48REL1LAST_C
Base di codice: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll

BeautySearch
Versione assembly: 1.6.0.0
Versione Win32: 1.6.0.0
Base di codice: file:///C:/Users/tomma/Downloads/BeautySearch%20(1).exe

System.Windows.Forms
Versione assembly: 4.0.0.0
Versione Win32: 4.8.4390.0 built by: NET48REL1LAST_C
Base di codice: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll

System
Versione assembly: 4.0.0.0
Versione Win32: 4.8.4360.0 built by: NET48REL1LAST_C
Base di codice: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll

System.Drawing
Versione assembly: 4.0.0.0
Versione Win32: 4.8.4390.0 built by: NET48REL1LAST_C
Base di codice: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll

System.Configuration
Versione assembly: 4.0.0.0
Versione Win32: 4.8.4190.0 built by: NET48REL1LAST_B
Base di codice: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll

System.Core
Versione assembly: 4.0.0.0
Versione Win32: 4.8.4390.0 built by: NET48REL1LAST_C
Base di codice: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll

System.Xml
Versione assembly: 4.0.0.0
Versione Win32: 4.8.4084.0 built by: NET48REL1
Base di codice: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll

System.Management
Versione assembly: 4.0.0.0
Versione Win32: 4.8.4084.0 built by: NET48REL1
Base di codice: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Management/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Management.dll

System.Web
Versione assembly: 4.0.0.0
Versione Win32: 4.8.4330.0 built by: NET48REL1LAST_B
Base di codice: file:///C:/Windows/Microsoft.Net/assembly/GAC_32/System.Web/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Web.dll

mscorlib.resources
Versione assembly: 4.0.0.0
Versione Win32: 4.8.4084.0 built by: NET48REL1
Base di codice: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_it_b77a5c561934e089/mscorlib.resources.dll

System.Windows.Forms.resources
Versione assembly: 4.0.0.0
Versione Win32: 4.8.4084.0 built by: NET48REL1
Base di codice: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.resources/v4.0_4.0.0.0_it_b77a5c561934e089/System.Windows.Forms.resources.dll

************** Debug JIT **************
Per abilitare il debug JIT, è necessario impostare il valore
jitDebugging nella sezione system.windows.forms del file di configurazione
dell'applicazione o del computer (machine.config).
L'applicazione inoltre deve essere compilata con il debug
abilitato.

Ad esempio:

Quando il debug JIT è abilitato, tutte le eccezioni non gestite
vengono inviate al debugger JIT registrato nel computer,
anziché essere gestite da questa finestra di dialogo.`

2021-08-09.21-14-49.mp4
@krlvm
Copy link
Owner

krlvm commented Aug 9, 2021

Thanks for details, that happens because BeautySearch can't unlock Search files to modify them (it's actually just one .html file, no DLLs are patched), take ownership over C:\Windows\SystemApps\Microsoft.Windows.Search_cw5n1h2txyewy\cache\Local\Desktop\2.html as descirbed here and try again - it will work. You also may need to take ownership over the folder that contains 2.html so BeautySearch can place the script there, but this usually does not cause problems.

@Techttv
Copy link
Author

Techttv commented Aug 9, 2021

Same error.

2021-08-09.21-39-54.mp4

@krlvm
Copy link
Owner

krlvm commented Aug 9, 2021

Sorry for oversight, it appears the problem with Fake Acrylic: the installer can't determine whether search box visible on taskbar or not. Try to changing its state via taskbar context menu (hide it, then show it again), or check the registry key: HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Search, DWORD SearchboxTaskbarMode

@krlvm krlvm changed the title .net framework error Fake Acrylic Background Picker NRE Aug 9, 2021
@krlvm krlvm added the bug Something isn't working label Aug 9, 2021
@krlvm krlvm self-assigned this Aug 9, 2021
@krlvm krlvm closed this as completed in 91ddba6 Aug 9, 2021
@Techttv
Copy link
Author

Techttv commented Aug 9, 2021

Ok now it does work. thx.

@krlvm
Copy link
Owner

krlvm commented Aug 9, 2021

Should be fixed in version 1.6.1, please check does it work for you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants