Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6929397
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T11:18:45+00:00 2026-05-27T11:18:45+00:00

If I install my app to program files, will it always be able to

  • 0

If I install my app to program files, will it always be able to create and write files within its install directory? It seems to work in a lot of different versions of windows, but are there situations where this wouldn’t work?

Mainly I’m using this approach for logging. If this is not the correct approach, is there a better place to log?

Note: My installer requires Admin privileges to run and it grants Full Access to all users in the install directory.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T11:18:45+00:00Added an answer on May 27, 2026 at 11:18 am

    Apps don’t run as users, users run as users. If you install an app into Program Files, and let’s assume you needed elevated permissions to do so, when your standard user then runs that app, that is the user that needs permissions.

    1. App is installed with elevated permissions (user: Admin, for example)
    2. All permissions on the AppName folder might well be “Admin:Full, Users:Read”
    3. User runs app, so cannot change any files

    At install-time, your installer will need to know which of it’s own files need to be made writable to standard users, and set permissions accordingly. Of course, user-data should not be in Program Files anyway. That’s what %appdata% and the user profile are for, usually.

    If your app has a globalsettings.ini or whatever, that lives in “Program Files\YourApp”, then while you have admin permissions (i.e. at install time) you need to grant write permission to all users to that globalsettings.ini file. Or Power Users. Or a group. Or whatever is correct for your app.

    In summary, no, users do not have default write-access to ProgFiles, nor should they.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I install my app under Program Files directory. And I install data, under ProgramData
I have a setup project that installs my app to the typical program files
We have an app that currently installs itself into 'program files\our app', and it
My app is installed via NSIS. I want the installer to install the program
My installer installs the app to Program files\MyApp, the app when running changes files
I'm trying to create a cmd file that will install a .msi and then
I'm developing an iPad app that will be distributed in-house using the Enterprise Program
How do I install the app that I'm making on an actual device? I'm
I am trying to install an app inside of another web app. I have
Possible Duplicate: Make iPhone app paid version replace free version on install from app

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.