Questions tagged [program-files]

78 questions
3
votes
2 answers

During Installation, where do the Various File Types go on Vista

Installing my software on Windows XP was always easy. Everything went in the "c:\Program Files\myprogram" directory. This included: The executable program itself and any dlls. Readme.txt and License.txt The help files (.hlp or .chm or .pdf) Program…
lkessler
  • 19,819
  • 36
  • 132
  • 203
3
votes
1 answer

List of Installed Programs not showing my program C#

Im using this post to get a list of my installed Programs in C# I have an application installed via Click once on my computer, and would now like to uninstall in without the user knowing.(Silently) But My program isn't appearing on the list I…
Ruan
  • 3,969
  • 10
  • 60
  • 87
3
votes
1 answer

Custom Action modify files in Program Files folder

I want to create Custom Action that modify some files in Program Files folder But when I run I got the error that the access is denied and the installer rolls back running as Administrator also couldn't help. is there anyway to solve this ?
Quizer
  • 471
  • 5
  • 17
3
votes
1 answer

running a batch file from another batch file as an admisitrator

I need to run a batch file (setup.bat) which will call another batch file (make_dir.bat) which will create a folder in the "C:\Program Files" directory. This is for an internal installer. All the users will be logged in with their user names but…
floyd1510
  • 391
  • 1
  • 6
  • 14
2
votes
2 answers

How can I insert Intel64 or x64 in Template Summary in an MSI project of Wix Toolkit?

I am writing a simple code to install a file in the Program Files folder, NOT Program Files (x86)
2
votes
0 answers

Copy PowerShell shortcut to Program Files, repath -file argument magic

I have a PowerShell utility that historically is run from a shortcut, and stored on a network share, so the path in the shortcut for the -file argument is a full UNC path. I am implementing a Work From Home version, where I zip up the network folder…
Gordon
  • 6,257
  • 6
  • 36
  • 89
2
votes
4 answers

Displaying formatted records using AWK

I have been giving an input file where it looks as this: ID PID PPID C STIME TTY TIME CMD adz110 5344 5334 0 08:47 pts/2 00:00:00 bash dmq292 6908 6854 0 08:53 pts/1 00:00:00 bash adz110 7227…
2
votes
2 answers

WIX Install files into both 32 and 64 bit program files folders

I have a special situation I need to find a workaround for. I have an wix installer for my 32-bit application, but it has a dependency on an office document file that must go in a fixed place under the "Program Files" folder regardless of 32/64 bit…
Jason Rodman
  • 71
  • 1
  • 5
2
votes
3 answers

Access to “Program Files” folder needed

I ran into this quite often stated problem but even after looking up nearly every scource I didn’t get an aswer. Problem is as follows: I wrote a little updater tool that connects to a server to check for new versions of an application and then…
GuyFawkes
  • 1,686
  • 3
  • 17
  • 30
2
votes
2 answers

Move Python Folder Into Program Files Folder?

I have Python27 and Python33 folders. Can I move these folders into my Program Files folder or will this cause problems?
user3179229
  • 215
  • 1
  • 3
  • 7
2
votes
1 answer

MSI ignoring %programfiles% environment variable

I have a MSI'd application I am installing, ignoring the %programfiles% environment variable. From a procmon trace, it seems to be using the value of HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\ProgramFilesDir instead. Why might it be doing this…
user66001
  • 774
  • 1
  • 13
  • 36
2
votes
3 answers

How to check if application runs from \program files\

Is there a reliable method to check if an application is run from somewhere beneath program files? If the user installs the application to program files on local machine, we need to put writable files somewhere else to avoid virtualization on Vista…
Vegar
  • 12,828
  • 16
  • 85
  • 151
2
votes
1 answer

Batch: How to move a .exe from network drive to Program Files

I'm new at batch and I'm trying to make a simple script that moves an executable from a network drive to a certain folder in Program Files. The script will be executed by people who have admin on their computer. The exe cannot be execute elsewhere…
user1275094
  • 125
  • 2
  • 2
  • 7
2
votes
1 answer

How to get log4net to generate log files when running as non-administrator user?

A process running as a non-administrator user does not have rights to write to the program files folder. What is the best way to configure log4net to write to a location that a non-administrator user has rights to? Ideally there would be: A single…
Thomas Bratt
  • 48,038
  • 36
  • 121
  • 139
2
votes
1 answer

Wix: moving data from ProgramFilesFolder to ProgramData

We develop C# application and package it by Wix to MSI file that can be installed. The application executable and .dll files are installed to the standard location in ProgramFilesFolder. When started application creates local .sdf file (database),…
Ivan
  • 9,089
  • 4
  • 61
  • 74