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

Addons Installation Failed! due to missing folders #3135

Closed
offhub opened this issue Jul 24, 2023 · 7 comments
Closed

Addons Installation Failed! due to missing folders #3135

offhub opened this issue Jul 24, 2023 · 7 comments
Labels
fixed in next build Fixed in the next Sandboxie version

Comments

@offhub
Copy link
Collaborator

offhub commented Jul 24, 2023

Describe what you noticed and did

  1. Uninstall Sandboxie Plus if it is installed and delete the %ProgramFiles%\Sandboxie-Plus folder if it remains.
  2. Install Sandboxie Plus
  3. Open Addons Manager (Options > Global Settings)
  4. Try to install
    • File Checker: It will throw an Addon Installation Failed! error because the bin folder does not exist in %ProgramFiles%\Sandboxie-Plus directory.
    • SbieHide.dll: It will throw an Addon Installation Failed! error because the SbieHide folder does not exist in %ProgramFiles%\Sandboxie-Plus directory.
    • LogAPI.dll: It will throw an Addon Installation Failed! error because the LogAPI folder does not exist in %ProgramFiles%\Sandboxie-Plus directory.

How often did you encounter it so far?

Every time

Affected program

Not relevant

Download link

Not relevant

Where is the program located?

Not relevant to my request.

Expected behavior

The appropriate folders should also be created when installing addons.

What is your Windows edition and version?

Windows 10 Pro 22H2 64-bit (19045.3208)

In which Windows account you have this problem?

A Microsoft account (Administrator)., An account with UAC protection set to Always notify.

Please mention any installed security software

Microsoft Windows Defender

What version of Sandboxie are you running?

Sandboxie-Plus 1.10.1 64-bit

Is it a new installation of Sandboxie?

I recently did a new clean installation.

Is it a regression?

No response

In which sandbox type you have this problem?

Not relevant to my request.

Can you reproduce this problem on a new empty sandbox?

Not relevant to my request.

Did you previously enable some security policy settings outside Sandboxie?

No response

Crash dump

No response

Trace log

No response

Sandboxie.ini configuration

No response

@offhub offhub added the Confirmation pending Further confirmation is requested label Jul 24, 2023
@wilders-soccerfan
Copy link

I tried only for "File Checker" on Win7SP1x64 (v1.10.1, portable folder):

  1. Clicking "Install" does create the folder bin with two files. Status shows "Installed".
  2. Clicking "Remove" deletes the two files. Folder bin is not deleted. Status still "Installed".
  3. I must manually remove bin folder, reopen Global settings and select "Remove" to clear status.

OT: imo, the "Remove" button should be renamed "Uninstall"

@offhub
Copy link
Collaborator Author

offhub commented Jul 24, 2023

You probably didn't have any problems installing addons because the portable version runs from a folder that doesn't require administrator rights.

@DavidXanatos DavidXanatos added the High priority To be done as soon as possible label Jul 25, 2023
@offhub offhub removed the Confirmation pending Further confirmation is requested label Jul 25, 2023
@DavidXanatos
Copy link
Member

DavidXanatos commented Jul 28, 2023

Short update on this, it seems we can't use Windows file copy mechanisms to create a directory when admin rights are required, it can only do that when user rights are enough, despite being able to ask for admin rights when copying to an existing folder.

So I'll move the addon functionality to the updutil.exe, this is actually quite a nice improvement, it will allow to add and remove addons using the command line and avoid UAC prompts.

Also the format of the addon data will change, so after the next build is out, the old builds will not be able to handle the data returned by the server. As both previous builds were pre-releases, I think this is fine and we don't need to maintain backwards compatibility for this.

@bastik-1001
Copy link
Contributor

Also the format of the addon data will change (...)

Do users from 1.10.0 and 1.10.1 need to uninstall/remove the addons or can they be updated with the upcoming release?

@DavidXanatos
Copy link
Member

Also the format of the addon data will change (...)

Do users from 1.10.0 and 1.10.1 need to uninstall/remove the addons or can they be updated with the upcoming release?

they wil need to reinstall some of them, some will work though not being listed as installed some will not work and not be listed

@bastik-1001
Copy link
Contributor

I think that it is smart to mention this in the release description and in the change-log. While I don't know how many downloaded addons, there have been enough downloads of the pre-releases for users to be confused about why an addon is no longer listed as installed and the rest.

@DavidXanatos DavidXanatos added fixed in next build Fixed in the next Sandboxie version and removed High priority To be done as soon as possible labels Jul 30, 2023
@DavidXanatos
Copy link
Member

Yes I'll emphasis this in the next release note

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fixed in next build Fixed in the next Sandboxie version
Projects
None yet
Development

No branches or pull requests

4 participants