Installation woes


  1. Posts : 3
    Windows 7 Enterprise 64-bit
       #1

    Installation woes


    I am trying to execute a software installation using a batch file. I am able to create a target directory and copy the files just fine. The problem I am running in to is when the batch tries to create shortcuts to the all user desktop and start menu. Every time the action is denied. I am trying to copy to the users\public\desktop and users\public\start menu. I am able to manually copy the shortcuts but unable to automate the process. I have full admin rights...what else am I missing here?

    Any ideas?
      My Computer


  2. Posts : 3
    Windows 7 Enterprise 64-bit
    Thread Starter
       #2

    I have resolved this issue temporarily. I had to turn off UAC to run the installation batch file. There has got to be a better way of doing this. Taking ownership of the target folder is not a viable option either. If anyone has any ideas on how to bypass this ridiculous security, feel free to post them here. I will post more after my meetings with Microsoft this week.
      My Computer


  3. Posts : 3
    Windows 7 Enterprise 64-bit
    Thread Starter
       #3

    I have resolved my own question. I have begun to compile executables to install shortcuts and programs to the locations I need in order to circumvent the problems created by the UAC. It is much easier to install an executable with elevated rights than it is to run a batch file with elevated rights.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 05:53.
Find Us