Questions tagged [program-files]
78 questions
0
votes
1 answer
Allow a Windows screensaver to write to a file in Program Files
I ran into a problem after creating a screensaver that requires writing to a file located in Program Files. When the screensaver becomes active it can successfully read a file from there but fails to write to a file.
I noticed that when I use and…

flippidippi
- 43
- 4
0
votes
0 answers
Difference between "Programme" (german for Program Files) and "Program Files"?
I created a Visual Studio project and built an installer for it. The installer uses as default location "C:\Programme\m-tec". Normally it uses the "Program Files" folder ("Programme" means "Program Files in German). But suddenly the installer…

Enter name here
- 67
- 1
- 8
0
votes
1 answer
How to get Program Files on Windows 64 bit in vb.net
Environment.SpecialFolder.ProgramFiles and Environment.SpecialFolder.ProgramFilesX86 returning x86
my pc is 64 bit
so how to get Program Files on Windows 64 in vb.net or #c
Dim ProgramFiles As String =…

ElMaGeK MoSaAd
- 23
- 4
0
votes
1 answer
Where should I install my program on someone's computer?
I have been writing some simple scripts in C++ for my Physics lab experiments (at uni), and am wondering where to make my setup file install my programs to on somebody else's computer?
What is the best practice for this on Windows and Mac/Linux?

Gregor Hartl Watters
- 518
- 1
- 3
- 17
0
votes
1 answer
Unusual Python exe behavior when running from Progam Files X86 versus Program FIles on Win7 is there some virtualization going on?
I have an EXE that I built that I am trying to have installed in the Program Files (x86) folder on Win7 machines. There is really interesting behavior going on. The program has a gui-we used wx-Python and XRC to handle the interface. we include…

PyNEwbie
- 4,882
- 4
- 38
- 86
0
votes
1 answer
Why my JRE is in C:\Program Files (x86) although it's a 64-Bit build?
I downloaded JRE first. Then downloaded JDK.
My JRE is in this directory
C:\Program Files (x86)\Java\jre1.8.0_291
My JDK is in this directory
C:\Program Files\Java\jdk-16.0.1
Running java -version command yields the following :
C:\Program Files…

Roo Tenshi
- 37
- 8
0
votes
0 answers
How to copy/download file into Program Files without admin rights?
I am working on a legacy MFC app that reads files from a set directory in Program Files but the .exe itself has to work from mostly anywhere else (including outside Program Files).
Is there any way to copy/download a file directly into Program Files…

Trăistaru Vlad
- 1
- 4
0
votes
1 answer
Get language variants of C:\Program Files
I am about to distribute an app, and I am creating an installer. I know that apps in windows go to C:\Program Files but I am also aware that the folder changes its name depending on the language, for example, in spanish it is C:\Archivos de…

Ciro García
- 601
- 5
- 22
0
votes
1 answer
Problem with WPF Setup Program Installation Path
I have a Program Setup project in my solution that should install my program to the default location:
[ProgramFilesFolder][Manufacturer][ProductName]
However, this is not working and the installer is dumping all of the project files into my C: drive…

Micahstuh
- 443
- 1
- 5
- 13
0
votes
1 answer
Batch file to check if installed program is 64 bit or 32 bit?
How can I create a batch file that tells if an installed program (.exe) is 32 or 64 bit?
Sometimes you can tell based on the which folder the program.exe file is in.
If the installed program is 32 bit it will show up in the Program Files…
user11239097
0
votes
0 answers
Unable to automate uninstalling a program silently from Program files using C#
If I place the same file in another folder location it works fine.
This is the code I am currently using
`Process UninstallCmd = new Process();
UninstallCmd.StartInfo.WindowStyle = ProcessWindowStyle.Hidden;
UninstallCmd.StartInfo.FileName =…

Jnewbie
- 1
- 2
0
votes
0 answers
shell script to uninstall smartbear directory
when i uninstall soapui using the uninstaller it doesn't delete the smart bear folder in c/program files.
Can somebody help me with a shell script to remove smart bear folder after uninstalling SOAPUI using the uninstaller.exe

Antony
- 63
- 2
- 6
0
votes
1 answer
Unable to completely uninstall SOAPUI
when uninstalling the SOAPUI from windows 10 or windows 7 it will uninstall the application but the smart bear folder in c:/program files is not removed.
I am uninstalling soapui with the uninstaller.exe in the smartbear folder.
can anybody help me…

Antony
- 63
- 2
- 6
0
votes
5 answers
create a folder and files in c:\program files\myApp\data in windows 7
I have an old c++ application that needs to be modified to work with windows 7.
Problem is in creating a new folder and saving a file in that folder. This folder should be created in
c:\program files\myApp\data\newFolder.
This is function I use…

ilija veselica
- 9,414
- 39
- 93
- 147
0
votes
1 answer
Installation path in ProgramFiles : some concerns
I am developing a software for Windows (XP to 10 and beyond) with Qt 5 C++. As of now, the default installation path is in C:\Users\Public\Kontiki.
However, I read that it might not be a good practice and that I should rather install it in…

alecs26
- 51
- 6