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

Run without installer #42

Closed
BenQoo opened this issue Jun 16, 2021 · 6 comments
Closed

Run without installer #42

BenQoo opened this issue Jun 16, 2021 · 6 comments

Comments

@BenQoo
Copy link

BenQoo commented Jun 16, 2021

I would like to run BrowserPicker without register it into Program list at Windows' Control Panel. Is it possible to develop or release a (portable?) version without installer?

Thank you!

@mortenn
Copy link
Owner

mortenn commented Jun 16, 2021

For it to show up in the "set default browser" in windows, it would need to add registry keys to windows.

If you want a portable, I presume you are looking to use it without elevated privileges?
I have not done any research, but I suppose there might be a per-user way to register browsers in windows, if so it would be doable.

Are you able to elaborate a bit on your use case?

@BenQoo
Copy link
Author

BenQoo commented Jun 22, 2021

Sorry for the confusion.

I would like to let BrowserPicker not be listed in the Windows Control Panel\Programs\Programs and Features. However, the other registry and privileges are fine if need, so the installer/uninstaller feature maybe not required in my situation.

@mortenn
Copy link
Owner

mortenn commented Jun 22, 2021

Can't really do that with an installer, as the list there is just windows reading the installed packages from the registry.
You could just install the msi and then remove the registry keys manually, or install it, copy the files, uninstall it, and use the executable from some custom location.

To get it to show up in the default browser selection dropdown, you will need to add some registry keys.
These are defined here in the source: https://github.com/mortenn/BrowserPicker/blob/master/Setup/Product.wxs#L46

The reason I have not coded the app to set these keys on startup, is to not require admin privileges to use it :)

@mortenn
Copy link
Owner

mortenn commented Sep 2, 2021

As the application settings are stored in HKCU, a portable version shouldn't require special registry configuration.
I may as well provide a stand-alone .exe with future releases.

@mortenn
Copy link
Owner

mortenn commented Sep 2, 2021

You may download Portable.7z from the v1.8.2 release and use that now :)

@mortenn mortenn closed this as completed Sep 2, 2021
@mortenn
Copy link
Owner

mortenn commented Apr 1, 2024

I have built a portable version of BrowserPicker which bundles the .net runtime with the executable in this build - but I did not make an msi for it at this time.

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