Installer Help folder inside %Program Files% permissions

So, I just created an installer on my Win7 machine, and I'm running into problems.

Let's call my request "MyApplication.exe".

The application is installed in "C:\Program Files\MyApplication"... which is great.  It also creates a couple subdirectories inside this folder that my application will use.  For example:

C:\Program Files\MyApplication\Data

C:\Program Files\MyApplication\Log

My EXE needs create files and write to these subdirectories.

The problem is that after installing, my EXE has no permission to write to these files.  I think that by default, Win7 Program Files read-only for average users.

Is there a way that my installer can allow the files 'Data' and 'Log' only during installation?

Voila!

Found the answer myself.  Although I would update my own post.  When you build your Installer, the solution is to check "unlock" on the file/folder want to write:

Tags: NI Software

Similar Questions

  • STEAM will not install. Fatal Error 1324; The folder path ' Program Files (x 86) contains an invalid character. How to fix this?

    I can't play any of my games, because STEAM refused to install... I have used their Web Site and my records... the results are the same... the same fatal error pops up...

    From the other thread: http://answers.microsoft.com/en-us/windows/forum/windows_7-gaming/error-1324-when-installing-steam/d9515071-2fc1-405c-875a-8fd6bca91930

    Title: ERROR 1324 When STEAM plant

    I tried to install STEAM via the WEB and game discs (games include Civilization V, Napoleon - Total War & EMPIER - Total War)

    Program runs until the WIZARD of INSTALLATION of STEAM... as soon as I received an ERROR 1324. The fold path ' Program Files (x 86) contains an invalid character. It does not specify which file or which character is not valid. I tried several registry cleaners... no luck. There is nowhere any folder on the computer for the Valve or STEAM...

    I disable the security & firewall and still get the same results... The installer of Steam does not work... Help?

    Hello

    Have you contacted https://support.steampowered.com/newticket.php to help?

    Thank you!

  • How to configure the zxp so that he will place the related files for the Panel in one specific folder other than the folder "C:\Program Files (x 86) \Common files \Adobe\CEPServiceManager4\extensions\ ' usual?

    Hello

    I'm working on a Panel for Adobe Premiere pro CC, now we have a group set on foot which will install all the files that are part of the Extension and associated content files folder in the

    Folder C:\Program Files (x 86) \Common files \Adobe\CEPServiceManager4\extensions \Panel\CONFIG. But we have to change this location to C:\Users\USER\APPDATA or any other folder specified for the user during the installation itself.

    Is it possible to do Builder extension?

    Thank you and best regards,

    Anoop NR

    Thanks guys,.

    I have it! Extensions of the hybrid.

    I use Adobe Extension builder 3 in Eclipse to code and create the zxp for Premiere pro panel.

    See the hybrid extension HTML panels advice part: #10 packages / installers ZXP | Photoshop, etc I added a hybrid extension using the manifest editor Panel within the extension Builder. It creates an automatically mxi file with all the properties, I have to change the maximum version number of host in the mxi file to make the extension in the first pro CC 2014. Using the hybrid option in the Bundle manifest editor you can choose a set of folder paths to put the files during the installation itself and can be used later using "csInterface.getSystemPath (SystemPath.CODE)" of javascript functions to edit.

    Thanks for your relpies,

    Anoop NR

  • Installer of Lexmark printer drivers saved in a folder "c:\Program Files \" (with a space at the end of this one!)

    I have a real problem.

    On my Windows 7 Professional machine somehow is an automatic update of installed Lexmark printer drivers and the installation program saved files
    in a folder names "c:\Program Files \" (with a space at the end of this one!)

    This all happened the day after without seeing me what was going on.

    It seems that the Windows 7 system does not like the folder or file names ending in a 'space' or a 'period' and it will not work with it.

    The side effect is that in some sort the system has copied EACH name on this new folder called sub0folder "C:\Program Files-" and I ended up with TWO files that have the air of the same name (even if we have a space at the edn of it ".

    It isn't really a problem in what I could simply ignore it (the other folder names corrrectly operates always OK). The only problem is that changes to 'Security' affect the TWO files because Windows 7 sees the two folder as the 'same' names when setting security.

    That's why, when I tried to mark the 'bogus' as 'not available' folder to everyone (including the system) it is the same for 'Program Files' (the real one) with disastrous consequences. I had the chance to get out and restore some semb; launched sound mind to my machine.

    But I'm stuck now with this annoying issue with many sub-fdolers (which are all unaccessable because the system cannot locate).

    My question is, how to remove a file that has a 'space' as the last part of his name when Windows Explorer cannot work with it?

    Thanks a lot with no matter what helpf with this very unusual problem.

    If you have the opportunity to make a complete picture of the system of the disc, I would before you try the following... just in case remove the "bad" folder ends up deleting all good also.  Alternatively, rather than remove the directory in the last step below, rename it using a command like

    ren c:\PROGRA~3 c:\badprogs {press Enter}

    If program of the 'real' the files and other directories survive unscathed, and then delete the C:\badprogs in the usual way.

    ******************************************

    In the search box, type cmd, then right click on cmd.exe and select "Run as Administrator".  Give the password when you are prompted.

    Type

    CD c:\  {Press Enter}

    to switch to the root

    Now type

    dir /x {press Enter}

    This will show you a list of directories of names "short form".  You will probably see something like this (from a x 64 Win 7 installation, is why there "Progra ~ 1" and "Progra ~ 2" directories ")

    Directory of c:\

    01/08/2012 13:19

    PROGRA ~ 1 Program Files
    30/07/2012 13:03 PROGRA ~ 2 Program Files (x 86)
    03/07/2012 10:46 users
    30/07/2012 20:16 Windows

    In your case, your directory parasite called or PROGRA ~ 3 (if you have x 64) or PROGRA ~ 2 (if you have Windows 7 32 bit).

    Now that you know the name short, which allows to delete:

    del C:\progra~3 {press Enter}

  • How to remove a folder from program files in the C drive?

    I tried to remove CA my computer for several days. I just discovered how to manually remove programs. However, will not remove the file CA in my program files. I give permission, and then he said please try again. I don't use this program because of the large amount of questions and he won't let me download an anti-virus up-to-date program. Help, please.

    You must uninstall the programs start / Control Panel / programs and features - and then select the program you want to remove, right-click on it and click on uninstall or delete - otherwise the pieces of the program stay in various places throughout the operating system and in the register - it cause you problems later and taking space without good reason.

    If you really want to remove this folder to appropriate it.

    To resolve this problem with the record of CA, appropriating the folder (as an administrator) and give you all the rights.  Right-click on the folder, click Properties, click the Security tab and click on advanced and then click the owner tab.  Click on edit, and then click the name of the person you want to give to the property (you may need to add if it is not there--or maybe yourself). If you want that it applies to subfolders and files in this folder, then check the box to replace the owner of subcontainers and objects, and click OK.  Back and now there is a new owner for the folders and files that can change permissions.  You can change now switched to read-only (even if the main folder indicates that they are always read-only - you can access yourself as the owner).  You can now delete the files and folders.  Here is more information on the ownership of a file or a folder: http://www.vistax64.com/tutorials/67717-take-ownership-file.html... If ownership doesn't work, someone has placed a deny access to all user somewhere safe - you have to find that entry and delete it and then you will be able to delete the files and folders.

    Good luck and I hope this helps!

    Lorien - a - MCSE/MCSA/network + / A +.

  • I can't delete my Windows.old folder because of file permissions.

    I have a h8-1000z HP running Windows 8 Pro (a domestic installation). I recently cloned just my hard drive to a Hitachi 1 TB to a 120 GB Intel SSD Cherryville. Such a small disc, I'm looking to get as much room I can release. My windows.old folder is about 10 GB of space lost at the moment. I tried to adjust the ownership of the folder and the files contained in conjunction with change permissions. My account is an administrator account, but even when I adjust the permissions to allow full access to the admins, I always get the following error message:

    File access denied
    You need permission to perform this action
    You need authorization of josh-HP\Administrators to make changes to this file.
    (josh-HP is the name of my rig).
    I tried to give permissions to users, administrator, administrators, and all, but nothing seems to work. I even tried to delete the file in safe mode, nothing works. If anyone has any recommendations he could do, my ears are large open.
    Josh Cunningham
    Student and Tech Junky

    Hello

    How to remove the Windows.old folder
    http://Windows.Microsoft.com/en-us/Windows-8/how-remove-Windows-old-folder

    How to remove the "Windows.old" folder in Windows 8 (several methods)
    http://www.eightforums.com/tutorials/2527-Windows-old-folder-delete-Windows-8-a.html

    How to recover files from the Windows.old folder
    http://Windows.Microsoft.com/en-us/Windows-8/restore-files-upgrade-Windows-old

    ================================

    If necessary:

    1. open a command prompt (Admin)

    Since the office - key Windows + X, or right-click in the lower left-
    Command prompt (Admin); OR in the screen start just start typing CMD
    or in the Menu of charms - research - Apps - CMD-> and right-click on it.
    then on low screen "Run as Administrator".

    2 prompt probably like C:\Windows\System32 >

    This type at the prompt, and then press ENTER.

    CD\

    Now, the line should look like C:\ >

    3: This type at the prompt, and then press ENTER.

    Windows.old DIR

    Should resemble C:\>DIR Windows.old

    It should return

    C:\Windows.old directory

    and view the contents of Windows.old

    It's just to make sure that the Windows.old folder is under C: (drive C) - if she does not STOP

    4 this type at the prompt, and then press ENTER.

    Attrib - r - / s has s h Windows.old

    Should look like C:\>Attrib/s - r - a s h Windows.old
    (there are SPACES between Attrib and / s and r - and - a and -s-h and Windows.old)

    He should return to the prompt C:\ if it shows and ERROR and STOP - then check the command
    and if it has been entered correctly you are not in the right place.

    5 this type at the prompt, and then press ENTER.

    RD/s Windows.old

    Should resemble C:\>RD/s Windows.old
    (there are SPACES between the RD /s and Windows.old)

    Return Windows.old, are your sure Y/N Y type

    (If you get a message that you have no property rights then type this command
    "and press ENTER.)

    TAKEOWN /f Windows.old/a/r

    and repeat step 5 - were you using an elevated command prompt?

    6: This type at the prompt, and then press ENTER.

    Windows.old DIR

    Should look like C:\>DIR Windows.old - and press ENTER.

    It should return

    Directory of C:\

    File not found

    Which confirms that it is gone.

    7 close the COMMAND window

    I hope this helps.

    Rob Brown - Microsoft MVP<- profile="" -="" windows="" expert="" -="" consumer="" :="" bicycle=""><- mark="" twain="" said="" it="">

  • How to remove a folder empty program files?

    Hello.

    I uninstalled my antivirus avg and use avg uninstall program to remove completely all components of avg, avg aa folder remain in c: program files, I try to remove it but I can't use some file shredder software but each of them is unable to delete the folder, I must add that this folder contains a few other empty subfolders. I even try to delet it in safe mode, but I can't. my pc has windows vista Home premium.

    How can I remove this folder completely?

    Kind regards.

    Ali

    I don't know what to do with the ownership of an item.

    In the tutorial...

    First step is to add Take Ownership option to your context menu.

    Two ASEO is to show you how to use it.

    First step is self-explanatory.
    Second step is... right click on the file/folder you want to delete > click appropriate > a black and white screen flashes for a second or two and disappear > now do a right click on the folder/file/new > click on delete.

    I hope this helps. For the benefits of others looking for answers, please mark as answer suggestion if it solves your problem.

  • How to make changes to a file in the folder C: Program Files Windows 7 Ultimate 64-bit?

    I need to be logged as administrator? If so, how? It appears my username at startup. There is no option for the admin.

    Please let me know,

    Thank you

    N

    In Windows Vista and 7, make changes to the files in Program Files is strongly discouraged.  It is possible, but requires a security change / property rights.  Well-written programs should look to the folder tree of data program for these kinds of things, or sometimes the user Appdata folder.  There is not another location course serve this in Autocad 2010?  There should be.

  • Cannot completely remove applications; they are always present in the WindowsApps folder in Program Files.

    Original title: window 8 Metro apss removal

    How to completely remove metro applications in window 8.1? I know there is option uninstall option by right-clicking on the metro application but it only remove the icon screen and not uninstall completely. There is still sound where installed in program files > window apps and even I can access by opening then, but in the home screen I had uninstall them.

    Hello

    Thanks for the update.

    I would like you to try the following steps:

    Method 1: run Disk Cleanup and check if the problem is resolved.

    The disk cleanup tool lets you free up space on your hard disk by searching your disk for files that you can safely remove. You can choose to delete some or all of the files.

    Please visit this link to learn how to run the disk cleanup utility:

    Delete files using disk cleanup
    http://Windows.Microsoft.com/en-in/Windows/delete-files-using-disk-cleanup#delete-files-using-disk-cleanup=Windows-8

    Note: these steps also apply to Windows 8.1 Overview.

    Method 2: run SFC scan and verify if the issue is resolved.

    The sfc/scannow command analyzes all protected system files and replaces incorrect versions with appropriate Microsoft versions. When the analysis is complete, the System File Checker tool indicates whether integrity violations were found. If integrity violations are detected, the System File Checker tool difficulty integrity violations.

    Follow these steps to scan SFC:

    a. press the Windows key + R and type cmd in the Run dialog box.

    b. right-click on the command prompt and select run as administrator.

    c. type sfc/scannow , and then press enter.

    NOTE: It can take some time to finish the race.

    Please let us know the status of the issue.

  • Vista folder Program Files and the folder Program Files (86)

    What is the significance of the differences, if any, between the Program Files folder and the folder C:\Program Files (86)?  When you install the software, is it better to let the software decide what Program Files folder to use?

    Hello Pit Bull Junkyard,

    Thank you for using the Microsoft Windows Vista Forums.

    The Program Files (x 86) folder is the default folder for 32-bit programs, Program Files is the default folder for 64-bit programs.  I suggest you leave all programs you install go to the default to avoid any problems.

    Both of these files have very strict default permissions that are difficult to ignore, unless you want to create a new folder, and then save it there.

    Hope this helps, please let us know status.  Thank you!

    Engineer James Microsoft Support answers visit our Microsoft answers feedback Forum and let us know what you think.

  • Can not install or save the file to the Program Files folder

    Just got a new laptop with Windows 7 64-bit and 32-bit computer.  When downloading from internet programs or the installation of the CD, it won't let me save in either the Program Files folder.  (I like to keep things organized and in one place, so I would like to save all my programs it).   When I try to register there, an error message appears and says "you don't have permission to save in this location.  Contact the administrator to back up to this location.  You want to save in the case of Cheryl instead? »

    I am the only user on the laptop and, therefore, the administrator.   It upset me enough that there are already files Program Files (2).  Not being not able to save the rest of my programs it makes me crazy.  Help, please!

    Well first off your laptop will be either using win7 64 bit or win7 32 bit, it cannot use both, and since you're talking about 2 files Program Files then this would indicate the 64-bit version of victory

    If its 64-bit version of victory, the 32-bit programs install in the Program files (x 86) and 64-bit programs installed in the Program Files folder.

    Trying to force programs to be installed in the wrong folder will save issues, and may result in this program does not work.

    So no, you cannot install to a specific folder in Program Files

  • Need help for my drive c:/directory of restoration after accidentally clicking on display the hidden files on my c: Program Files.

    Please help me to restore its original settings. I trieds a system restore which has been dated several hours before the event, but he was no help. Now it is a terrible mess, I can't find any of my files. I tried to remove a set of Origion through and the .xml file that I never found incidentally. And I thought that maybe it's a hidden file, so I decided to show the hidden files for 1 file but somehow he eventually go in the folder c: Program Files, and when he says that you want to show all hidden for this folder files I said yes. And then the team is down. I have no more recognizable files and filenames have changed not to mention there are now 1 folder with more than 10,000 files in there that I have no idea what to do with them. I can sometimes use the search engine on the start menu and locate the file I'm looking for, but if I try to go to the location of the file, it's just a mess when need me it I don't recognize anything that should be in this folder. So far it has not affected the performance of my computer just my ability to perfom tasks on my c: drive. If someone can tell me please how to restore to its correct state. I searched directory fixing programs watched through the forums watched even though windows has installed a magic button that would have but all the files in order and hide files that need to be hidden again. Help, please!

    P.S. If you need more information I'll glady it provide for anyone who is ready to help.

    Hey Bitterhouse,

    Check out this link, it should help you. If you can't make it work, please explain what was different in these steps on your system so that we can continue to help you.
    Thank you!
  • Impossible to delete/uninstall program program file in the downloaded folder

    How can I remove / uninstall a program in the folder downloaded program file?

    Vista 32 bit

    When I open the folder and right click on the program file that I want to remove/uninstall the Properties menu appears, but there is no facility to remove or uninstall the file.

    I tried disk cleanup, and this does not remove the file either.

    Help please, thank you. Peter

    When you uninstall a program, you go to the application of programs and features.

    Start > Control Panel > Classic view > programs and features > scroll down to find the program, right click, click on uninstall.

    For the benefits of others looking for answers, please mark as answer suggestion if it solves your problem.

  • Why some programs in the folder program files do not have appear in the start menu

    Hello
    I've scanned my laptop (vista home premium) with antivirus, then I lost a few menu start programs
    but they are in the folder c:\program files and they run right.
    they do not have appear in the start menu
    How can I solve this problem

    Click Start - All Programs - Accessories - System Tools - run (or press the Windows key + R). Type the following command

    menu start shell: common

    Shell programs: common

    start of the shell: common

    Shell: Start menu

    Shell: programs

    start of the interpreter:

    Each folder open in a place in your folders on the start menu.

    Start menu

    -Programs

    -The boot

  • Printer driver install resulted in double Program Files folder - how can I remove it?

    Trouble installing a lexmark printer driver led to a work folder lexmark Program Files (x 86) and a 2nd same lexmark folder in a new folder of C: drive called "Program Files (x 86) (x 86)".  Only lexmark files are in this new folder in program files.  Can find no specific uninstall script in the new folder.

    Can I just delete (x 86) 2nd (x 86) folder and lexmark all files it contains?

    The printer works now that the "Program files (x 86)" has been filled.

    My directories now looks like this:

    OPERATING SYSTEM (C :))

    Program Files

    Program Files (x 86)

    Program Files (x 86) (x 86)<= this="" is="" the="" apparently="" duplicate="" folder="" and="" contains="" only="" lexmark="" printer="" files="" (reviewed="" with="" 'show="" hidden="" files'="">

    If you will not be able to rename after reboot, you can try to boot your operating system in "safe mode" and rename the folder in "safe mode":

    http://Windows.Microsoft.com/en-us/Windows-Vista/start-your-computer-in-safe-mode

    LC

Maybe you are looking for

  • Pop - up, what is the source?

    Always looks like this, and has different products, it's advertising. I have the feeling that it is because of the virus remains "myshopmate" I got when switching to a wrong address for a textbook online. My question is how to find and remove this la

  • I have two Apple Id I only want one.  How to combine them?

    I discovered that I have two apple ID.  How or can I combine into one.

  • Satellite P100 - thin yellow line appears on the screen

    Hello world. I have a Toshiba Satellite P100, 3 years ago.Recently appeared on my screen an intermittent thin vertical yellow line. Nothing serious, but very annoying, especially when I play or watch movies.I just found that it is not a software prob

  • P6-2143w HP: video card

    (deleted content) is the serial number P6-2143w is the model that is a product H2L91AA #ABA need a video card that can support more than 1900 VADM the game says he uses vam 1980 vam 485

  • How can I access my music folder by using the start menu. I'm used to be able to do.

    When I turned on my computer this morning, I wanted to go to my music folder that I normally have access using the 'start' button in the lower left corner of the screen. Normally, I get instant access. Today, I get a message that needs to close Inter