program-files

Environment.SpecialFolder.ProgramFiles value for a 32-bit application on Windows 7?

本小妞迷上赌 提交于 2019-12-22 08:04:12
问题 What would a 32-bit application running on Windows 7 return for the below? Environment.GetFolderPath(Environment.SpecialFolder.ProgramFiles) C:\Program Files (x86) or C:\Program Files ? 回答1: On 32 bit Windows 7 you should get "C:\Program Files", on 64 bit "C:\Program Files (x86)". 回答2: It doesn't matter what it returns. Either value will map to the same folder, file system virtualization will always map it to (x86) for a 32-bit app. 回答3: Well I'm running Windows 7 Ultimate 32 bit so I wanted

Add SSIS to existing SQL Server instance

不想你离开。 提交于 2019-12-22 03:55:40
问题 I am trying to add Integration Services an existing SQL Server 2008 instance. I went to the SQL Server Installation Center and clicked the option to "New installation or add features to an existing installation." At this point, a file system window pops up. I am asked to browse for SQL Server 2008 R2 Installation Media. I tried C:Program Files\MicrosoftSQLServer but got the error message that it was not accepted as a "valid installation folder." I went deeper into the MicrosoftSQLServer

Access to “Program Files” folder needed

穿精又带淫゛_ 提交于 2019-12-18 07:09:25
问题 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 copies the new version to the clientmashine. So the pattern is as follows: Client installs the updater which is pre configured by me with a specific application. So basicly the updater is somewhere in the Program Files Folder. Then the updater is

Unable to completely uninstall SOAPUI

我与影子孤独终老i 提交于 2019-12-13 07:33:17
问题 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 with any suggestions as to why the smart bear folder is not being deleted when we use the uninstaller 回答1: In general, any software installation, it keeps track of the file being installed. And the same files gets removed on uninstallation .

Allow a Windows screensaver to write to a file in Program Files

吃可爱长大的小学妹 提交于 2019-12-13 04:09:44
问题 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 elevated command prompt to run the screensaver, with /s, the screensaver successfully writes the file. So I assumed this was a permission problem. To see if it was a permission problem I went in and changed Program Files and the subfolders

Adding Files/Folders to Program Files x86 Folder with C#

◇◆丶佛笑我妖孽 提交于 2019-12-11 08:09:08
问题 I am trying to create a file directory (folder) in the 32 bit Program Files folder to store data that a user will be creating in the program. However, it keeps saying that access is denied when I try to do so. Is there anyway to give the program permission to access the 32 bit program files folder and add subsequent folder and files to it? Here is my code below which is producing a run-time error due to not having permission. string mainDirectory=Environment.GetFolderPath(Environment

Add SSIS to existing SQL Server instance

泪湿孤枕 提交于 2019-12-05 02:46:53
I am trying to add Integration Services an existing SQL Server 2008 instance. I went to the SQL Server Installation Center and clicked the option to "New installation or add features to an existing installation." At this point, a file system window pops up. I am asked to browse for SQL Server 2008 R2 Installation Media. I tried C:Program Files\MicrosoftSQLServer but got the error message that it was not accepted as a "valid installation folder." I went deeper into the MicrosoftSQLServer folder and found \SetupBootstrap but this was not accepted either. It appears that the only way to proceed

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

不想你离开。 提交于 2019-12-04 13:56:33
问题 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 settings that are not in the registry (.ini files) Sample data files for the program Log files that the program produces (Am I missing anything?) But I understand that some of these should not go into the "Program Files" directory on Windows Vista.

How do I programmatically retrieve the actual path to the “Program Files” folder? [duplicate]

霸气de小男生 提交于 2019-12-03 08:32:28
问题 This question already has answers here : Closed 7 years ago . Possible Duplicate: C# - How to get Program Files (x86) on Windows Vista 64 bit I realize the odds of a user changing the Windows default of C:\Program Files is fairly slim, but stranger things have happened! How can I get the correct path to Program Files from the system? 回答1: .NET provides an enumeration of 'special folders' for Program Files, My Documents, etc. The code to convert from the enumeration to the actual path looks

What makes c:\Program Files UAC-protected?

我只是一个虾纸丫 提交于 2019-12-01 20:19:51
问题 I know that c:\Program Files is UAC-protected, and if I allow a user to install to d:\Program Files , this is not, by default, UAC protected. What makes c:\Program Files UAC protected other then the directory security settings? Is it simply directory security, or is there something else that Windows does to make it special? I am trying to advise someone if it is possible to make d:\Program Files sort of as equivalently secure as c:\Program Files . If I were to create d:\Program Files with the