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

(Sorry!!) Add an option to install to Program Files for those apps that really need it #382

Closed
Pinpickle opened this issue Jul 13, 2015 · 7 comments

Comments

@Pinpickle
Copy link

I hate to propose this feature, I really do.

But I'm currently working on an application with uiaccess="true" which means it has to run in Program Files.

I really love the installing experience for Squirrel - that being no experience at all! I want a similar experience for this app - even if there is a UAC dialog to go through.

So is it possible to add an option to --releasify that allows people to do this? Maybe make it more useful by allowing an arbitrary location, though I'm unsure how much value that will add.

From what I can tell, #308 did some of the groundwork to make this possible.

I don't know how this will fit in with the updating process. I think a caveat could be that automatic updating just wouldn't work in these situations.

Any documentation for this feature, should it exist, should advise users at all costs not to use it unless it is completely unavoidable.

@anaisbetts
Copy link
Contributor

This will never happen, sorry - you're going to have to use a different installer technology (and you're totally right that uiaccess="true" is one of the only legit conditions where this is a True Dealbreaker).

One thing you could do is on the first-run of your app, copy over your uiaccess=true helper to Program Files, but this gets Tricky (you can't do this in a Squirrel hook because if the user doesn't answer the hook in 15secs or so, it gets killed).

@Pinpickle
Copy link
Author

Well at least I have a definitive answer now! I'll look for a different solution for this but I'll definitely use Squirrel when I've got a project that doesn't play dirty like this.

@Pinpickle
Copy link
Author

One thing you could do is on the first-run of your app, copy over your uiaccess=true helper to Program Files, but this gets Tricky (you can't do this in a Squirrel hook because if the user doesn't answer the hook in 15secs or so, it gets killed).

I actually ended up doing this because every other solution was pretty terrible. It works well, the only disadvantage being that the app isn't removed from program files on uninstall yet.

@malipetek
Copy link

Why this is something undesirable? I used nsis for doing that. It seems more proper way that a program sitting in program files right?

@anaisbetts
Copy link
Contributor

@malipetek I don't want to explain this for the three millionth time, please read through the repo and existing issues if you want to understand more.

@malipetek
Copy link

malipetek commented Sep 19, 2017

@paulcbetts Very sensible proposal. I didnt think its something so disclosed. Sorry for infollution, you may delete this and above issue comments as these are out of context actually.

@Neustradamus
Copy link

@anaisbetts: Can you reopen this closed ticket?
It is not solved.

It must be possible like all good softwares to select where the user/admin want to install.

  • Program Files
  • Program Files (x86)
  • A choice from the user/admin
  • Shortcut for the Current User
  • Shortcut for All Users

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

4 participants