Windows 7 Forums


Windows 7: Installation woes

08 Apr 2010   #1

Windows 7 Enterprise 64-bit
Wisconsin
 
 
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
Wisconsin
 
 

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
Wisconsin
 
 

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 problems?



Thread Tools



Similar help and support threads for: Installation woes
Thread Forum
Windows 7 64bit installation woes Installation & Setup
Homegroup Woes Network & Sharing
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


All times are GMT -5. The time now is 06:14 AM.


Seven Forums Android App Seven Forums IOS App Follow us on Facebook

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
  

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