question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Installation Directory

See original GitHub issue

I’ve got a Win64 electron-based app and I’m now trying to create an installer for it. Running the example program creates C:\Program Files (x86)\<AppName> Installer which is unfortunate. I’d prefer to be able to change this to C:\Program Files\<Company>\<AppName> - is there any scope for doing this?

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:1
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
Qillycommented, Mar 28, 2018

Thanks for the more full explanation. I’m now confused and will go back to carefully look at whether things have changed in the past year. The problem was that originally the installer actually did go to C:\Program Files (x86) and therefore did require UAC anyway. Perhaps I made a mistake at that time or perhaps that was changed.

It certainly makes sense for programs that update themselves not to constantly require UAC for this to occur smoothly and that’s definitely what Squirrel does.

I posted this in windows-installer, thinking that there was a difference between Squirrel and the “windows-installer” project. Or did one replace the other?

Anyway, thanks again for the clarification.

0reactions
DrakeXiangcommented, Oct 8, 2019

Perhaps I made a mistake at that time or perhaps that was changed.

electron-winstaller has always used Squirrel.Windows and never installed to “Program Files”, perhaps you were using a different tool? 🤔

I just encountered this problem, does building a msi distribution enables clients to select installation path?

Read more comments on GitHub >

github_iconTop Results From Across the Web

How do you find the installation directory in a computer? - Quora
The installation directory depends on which operating system (OS) is running, for Windows the programs are located in C:\\Program Files or C:\\Program Files ......
Read more >
Installation and data directories - IBM
The installation directory contains files such as executable files and default files that do not change when the system is running. You can...
Read more >
Installation Directory - an overview | ScienceDirect Topics
In the MOM installation directory (“C:\Program Files\Microsoft Operation Manager 2000\One Point”), there is a MOF file called OM.MOF. You must compile the OM....
Read more >
Change default Program Files directory in Windows 11/10
The default directory for installing all your programs shall now be D:\Program Files. If you are using Windows 64-bit, you must change the...
Read more >
Change Default Program Files Installation Directory Location
Change Default Program Files Installation Directory LocationIf you have a SSD or small Hard Drive with very little space and you want to ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found