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

Determining the installation location for an app #736

Closed
veleek opened this issue Jun 12, 2016 · 3 comments
Closed

Determining the installation location for an app #736

veleek opened this issue Jun 12, 2016 · 3 comments

Comments

@veleek
Copy link

veleek commented Jun 12, 2016

I have an app that's installed and updated using Squirrel. I would like to automatically do the installation and launching via a powershell script so that I can easily provide it to my team members.

In this case, the installer I have doesn't point to the most recent version so whenever I launch it using the installer I have (via the script) it doesn't launch the most recent version. Is there anyway using the squirrel installer I can tell it to launch whatever version in installed or at least point me to the installation location?

@tomuxmon
Copy link

We could append "path" system environment variable. Can squirrel installer require (like MSI) launch under elevated permissions?

@anaisbetts
Copy link
Contributor

Squirrel apps already install and launch automatically when you double click them? If you want to do something like "Launch whatever the latest version of X.exe is", mimic what the shortcuts do:

%LocalAppData%\MyApp\Update.exe --processStart myApp.exe

We could append "path" system environment variable. Can squirrel installer require (like MSI) launch under elevated permissions?

Nope, though you could use the per-user PATH

@veleek
Copy link
Author

veleek commented Aug 18, 2016

@paulcbetts That's exactly what I was looking for. Thanks!

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

3 participants