Questions tagged [program-files]
78 questions
0
votes
0 answers
Where to deploy complex .NET applications which include web and non web component
There doesn't seem to be an obvious place or any documentation from Microsoft that explains where to install complex applications which write files into the app folder and are shared by different users.
We have a complex .NET web application that…

user2728841
- 1,333
- 17
- 32
0
votes
1 answer
Calling an application with elevated Privileges from a normal privileged account from normal application causing issue when placed in Program Files
I have a program that needs to run with normal privileges. To prevent piracy, at the launch of our application we launch a License Manager application that needs to run with Elevated Privileges. Upon enquiring with our vendors, the License Manager…

Ganesh Kamath - 'Code Frenzy'
- 5,094
- 3
- 43
- 60
0
votes
1 answer
Program Files Environment Variables giving different results in Windows
When I run the command set programfiles in the command prompt, I get
ProgramFiles=C:\Program Files (x86)
ProgramFiles(x86)=C:\Program Files (x86)
However, the following code in python
import os
print os.getenv("programfiles")
or
msgbox…

Ishan
- 3,931
- 11
- 37
- 59
0
votes
1 answer
Get path from Environment.GetEnvironmentVariable Method in vb
I am using visual basic and Environment.GetEnvironmentVariable Method and I want to get the path of Environment.GetEnvironmentVariable(Program Files).How is that possible?
*I want to use that method instead of writing (C:/ProgramFiles), because some…

Technologuy
- 131
- 3
- 16
0
votes
1 answer
Why Process.Start() only opens shortcuts if the target is in "Program Files (x86)"
Process.Start() only seems to work on a shortcut whose the target is located in the Program Files (x86) folder and not in the Program Files folder.
If the target is in the Program Files folder I get the fallowing error
"The system cannot find the…

JackBarn
- 635
- 1
- 6
- 18
0
votes
0 answers
Open a folder under Program Files in Windows Explorer using C#
I have a log file for my program, which I leave in the install directory. The default install directory is Program Files (x86 on 64bit systems). I would like to be able to include a menu option called "Get Log File" in my program where the…

Benji
- 105
- 8
0
votes
3 answers
How can I code defensively against potential unorthodox hard drive letters?
I can set a SaveFileDialog's InitialDirectory property to where my app will usually be installed like so:
saveFileDialog1.InitialDirectory = @"C:\Program Files\Waltons\Mountains";
...but as "there is one in every crowd," some may use a drive letter…

B. Clay Shannon-B. Crow Raven
- 8,547
- 144
- 472
- 862
0
votes
0 answers
Files in Program files folder vanished
I have saved few files in Program files.When I checked again, the files are not seen. I tried searching the system with the file name, but it is not found.
How did the files disappear?
And is there a way to recover the files?

cmm user
- 2,426
- 7
- 34
- 48
0
votes
1 answer
Installing .EXE using WINE (OSX)
I've used HomeBrew to install WINE on OSX.
I've downloaded the 64-bit .EXE from http://www.fastbem.com/Download.html
Now I try running it, which should install FastBEM into "Program Files"
piBookAir:Program Files pi$ wine…

P i
- 29,020
- 36
- 159
- 267
0
votes
3 answers
Why does it required UAC for changing files?
I creted an application that has ini file and db.mdb (access) and it downloads some images from web to a folder that is near of App.
Well, I created a setup file with Setup Factory Software. Everything seems quite fine and I started my application…

ertan2002
- 1,458
- 1
- 32
- 68
0
votes
1 answer
MEF how to handle access rights to PipelineSegments.store
I have MEF application that creates PipelineSegments.store and AddIns.store files in program/Addins directory. However if I install this application in i.e. "C:\Program Files\My Application" and I run this application without admin rights, it fails…

Marek
- 486
- 7
- 19
0
votes
2 answers
Security concerns for writing to application directory under Program Files
When logged in as a user with administrative privileges, do apps automatically have the right to write to their own Program Files directory?
I'm persisting some data to the app directory and it's obviously not an issue in development because the app…

BVernon
- 3,205
- 5
- 28
- 64
0
votes
4 answers
Path of %ProgramFiles(x86)% in 64 bit machine (for Registry)
Question: What is the equivalent of [INSTALLDIR] for %ProgramFiles(x86)% to use in Registry in 64 bit machine ?
I have a program that will be installed inside %ProgramFiles(x86)% in 64 bit machine.
Basically, I want to add these values in…

Butters
- 947
- 5
- 16
- 25
0
votes
1 answer
Program File saved file
I have developed an application in Visual Basic.net. When I install this application to a ProgramFiles/[Appname] folder, and I create a file that is saved in the same folder (a settings file, created from in the application), the file is not…

user2230606
- 89
- 3
- 9
0
votes
2 answers
XML saved by application installed in Program Files: where is it?
I've spent the last two hours Googling on this with no results, so…
I am developing an application which uses XML files to save data. These files are supposed to exist in the same directory as the program executable. I use:
string filePath =…

Adam Kłosowski
- 1
- 2