Windows 7 Forums
Welcome to Windows 7 Forums. Our forum is dedicated to helping you find support and solutions for any problems regarding your Windows 7 PC be it Dell, HP, Acer, Asus or a custom build. We also provide an extensive Windows 7 tutorial section that covers a wide range of tips and tricks.


Windows 7: Installation woes


08 Apr 2010   #1

Windows 7 Enterprise 64-bit
 
 
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 System SpecsSystem Spec
.

12 Apr 2010   #2

Windows 7 Enterprise 64-bit
 
 

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 System SpecsSystem Spec
19 Apr 2010   #3

Windows 7 Enterprise 64-bit
 
 

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 System SpecsSystem Spec
.


Reply

 Installation woes




Thread Tools



Similar help and support threads for2: Installation woes
Thread Forum
Serious VHD woes Virtualization
Printer Woes.... Hardware & Devices
Windows 7 64bit installation woes Installation & Setup
ATI All in Wonder Woes. Graphic Cards
Windows 7 Installation Woes KB/Mouse Unresponsive Installation & Setup
Installation woes….. W7 can't access files Installation & Setup

Our Sites

Site Links

About Us

Find 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 02:02 AM.
Twitter Facebook Google+



Windows 7 Forums

Seven Forums Android App Seven Forums IOS App
  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33