pvds
-
Total Posts
:
7
- Scores: 0
-
Reward points
:
0
- Joined: 11/30/2011
-
Status: offline
|
Vbscript running with admin rights
Thursday, December 01, 2011 1:00 AM
( permalink)
L.S. Explanation: I want to install appv client with msiexec silently in vbscript with following command: strCmd = "MSIEXEC.exe /i ""\\MYSERVER\c$\Preqs\setup.msi"" SWICACHESIZE=""10240"" SWIPUBSVRDISPLAY=""MYSERVER"" SWIPUBSVRTYPE=""RTSP"" SWIPUBSVRHOST=""MYSERVER"" SWIPUBSVRPORT=""554"" SWIPUBSVRPATH=""/AppVirt/appsntype.xml"" SWIPUBSVRREFRESH=""on"" SWIGLOBALDATA=""C:\AppVirt\Global"" SWIUSERDATA=""^%HomeDrive^%\Windows\Application Virtualization Client"" SWIFSDRIVE=""Q"" /q"
objShell.Run strCmd,0,True - This command works when i don't add the /q at the end - in the cmd box start as administrator the same msiexec command is working with the /q I think that vbsedit is not starting internally the cmd box with admin rights from within wscript ? What can I do to get it working ? regards, PVDS
|
|
|
|