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 7630753
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T06:10:46+00:00 2026-05-31T06:10:46+00:00

I am trying to create a file system when installing a WPF application. Currently

  • 0

I am trying to create a file system when installing a WPF application. Currently I am creating the filesystem at run time. I am able to use the FileSystem page in Visual Studio 2010 to create the filesystem I want in any folder except for Users\public.

In the installer Filsystem page I create a special folder, but I need to give my special folder a default location. I have already tried:
%SystemRoot%\Users\Public – it says it cant find it [Error: Cannot access network drive …]
And the other built in options go to places I don’t want the fiels to be, commonfiles/program files/user documents/etc.

Can someone help me with creating the file system under Users\Public?

The directory I want to create is C:\Users\Public\MY_FOLDER\MY_OTHER_FOLDERS…

  • 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-31T06:10:47+00:00Added an answer on May 31, 2026 at 6:10 am

    You want to use %SystemDrive% rather than %SystemRoot%. Check it with the Command Prompt.

    C:\>set System
    SystemDrive=C:
    SystemRoot=C:\Windows
    

    EDIT: To use environment variables in an MSI package, use the format [%Name], so in your case [%SystemDrive].

    Reference: Windows Installer Team Blog

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

Sidebar

Related Questions

Hi Im trying to create a file upload system where I am able to
I'm trying to use PHP to create a file, but it isn't working. I
I am trying to create an initial-data.yml file for a Play! Framework application. Part
I'm trying to create a run time css-based swf which DOES NOT have embedded
I am trying to create a file with my android application. I need to
i am trying to create a Model FAT16 file system in a file with
I am trying to create a file on the filesystem, but I keep getting
I've been trying to create a union file system for a college project. One
I am trying to create a file in the /tmp directory (working on a
I am trying to create a file using File newFile = new File(myFile); However

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.