Results 1 to 9 of 9
  • Thread Tools
  1. New Lounger
    Join Date
    Feb 2010
    Location
    Portland, OR
    Posts
    13
    Thanks
    1
    Thanked 0 Times in 0 Posts
    I have many old programs without installers. I just need to copy the .exe files to some location on the PATH. Also, I compile new programs that don't have installers.

    In Windows 7, even logged in as an Administrator, I can't seem to copy any files to the Program Files (x86) directory, either using a command prompt or through Explorer.

    How can this be overcome? Should I make my own bin directory under /users/myname ? Or is there some way to install these programs in Program Files?

    Thanks!

  2. Subscribe to our Windows Secrets Newsletter - It's Free!

    Get our unique weekly Newsletter with tips and techniques, how to's and critical updates on Windows 7, Windows 8, Windows XP, Firefox, Internet Explorer, Google, etc. Join our 480,000 subscribers!

    Excel 2013: The Missing Manual

    + Get this BONUS — free!

    Get the most of Excel! Learn about new features, basics of creating a new spreadsheet and using the infamous Ribbon in the first chapter of Excel 2013: The Missing Manual - Subscribe and download Chapter 1 for free!

  3. Star Lounger
    Join Date
    Dec 2009
    Location
    Australia
    Posts
    68
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I install MOST programs on a P: partition - no install problems there.

    One caveat is that some programs will not allow me to change the path from the Program Files (x86) directory.

  4. 5 Star Lounger
    Join Date
    Jan 2010
    Location
    Los Angeles, CA
    Posts
    783
    Thanks
    3
    Thanked 26 Times in 24 Posts
    I have a directory named c:\apps where I place many such programs.

    You could open a command prompt with "run as administrator" option and then you should be able to copy to Program Files (x86).

  5. New Lounger
    Join Date
    Dec 2009
    Location
    Lugarno, NSW, Australia
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Bryan's and Peter's solutions work of course but you may like to try the FREE Inno installer which I've used to do just what you want.
    This is available at www.jrsoftware.org
    The installer includes an un-installer , lets you add help or informational files to the installation, and seems to write correct registry entries.
    It appears to create and use scripts to write the .exe file into the Program Files directory (or subdirectories within that.)
    It may be that Win 7 allows scripts to write to the Program Files directory and it doesn't even need to ask if you have Administrator privileges.

    I'm not sure if it will overcome your problem because I don't have it on my Win 7 Pro system;
    I can write directly to the Program Files directory when I have Administrator privileges anyway.

    Hope this helps.

  6. 2 Star Lounger
    Join Date
    Dec 2009
    Location
    Texas
    Posts
    162
    Thanks
    0
    Thanked 2 Times in 2 Posts
    +10 to Inno Setup
    ISTool which is an addon makes that puppy much better. You can spec whether to add to Program Files (x86) or Program Files for 64 bit apps

  7. New Lounger
    Join Date
    Feb 2010
    Location
    Portland, OR
    Posts
    13
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Thanks to all for the suggestions! I use INNO already for some of my programs that are distributed to others. Great product. For what I need now, setting up c:\apps seems to be the way to go. Not sure why some others can write to Program Files as Administrators, and I cannot. I'll have to explore that -- later!

  8. 2 Star Lounger
    Join Date
    Dec 2009
    Location
    Texas
    Posts
    162
    Thanks
    0
    Thanked 2 Times in 2 Posts
    in Setup section of my .iss I have an exe installing to Program Files (x86)
    ISTool helps with all that = the pic

    Code:
    [Setup]
    DefaultDirName={pf}\Jump2reg
    [Files]
    Source: ..\Jump2reg.exe; DestDir: {app}; Flags: ignoreversion 32bit
    [attachment=88274f.png]
    Attached Images Attached Images

  9. Administrator
    Join Date
    Mar 2001
    Location
    St Louis, Missouri, USA
    Posts
    19,808
    Thanks
    1
    Thanked 518 Times in 473 Posts
    Quote Originally Posted by Roth View Post
    Thanks to all for the suggestions! I use INNO already for some of my programs that are distributed to others. Great product. For what I need now, setting up c:\apps seems to be the way to go. Not sure why some others can write to Program Files as Administrators, and I cannot. I'll have to explore that -- later!
    In Windows 7 being a member of the Administrators group does not grant the same level of privilege as in prior Operating Systems. "Program Files" and "Program Files (X86)" are protected in WIndows 7. You need to set permissions for those folder and the sub-folders to allow the administrators group to do what you need.

    Joe

  10. New Lounger
    Join Date
    Feb 2010
    Location
    Portland, OR
    Posts
    13
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by JoeP View Post
    In Windows 7 being a member of the Administrators group does not grant the same level of privilege as in prior Operating Systems. "Program Files" and "Program Files (X86)" are protected in WIndows 7. You need to set permissions for those folder and the sub-folders to allow the administrators group to do what you need.
    Joe, thanks! That explains exactly what I have experienced. Rather then change the permissions (which I'm not sure I could change back successfully), I turned off UAC just long enough to do what I needed. Then I added a "c:\pgms" directory tree for programs without installers, scripts, etc.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •