Powershell Script
i have batch file listed below but, need powershell scrript installs msiexec.msi package current directory , places in specified location?
@echo off
echo installing time clock... please wait...
msiexec.exe /i "%~dp0\tcp60.msi" /quiet installmanager=0 installscheduler=0 installrdt=0 installdatabasemanager=0 installmodulemanager=0 installreportprinter=0
copy "%~dp0\tcpconn.xml" "%programfiles% (x86)\timeclock plus 6.0" /y
hi,
>>installs msiexec.msi package current directory , places in specified location?
you should try one:
msiexec /i "msi path" installdir="x:\xxx" /qb
"x:\xxx" means location wanted place in.
________________________________________
best regards,
cartman
please remember mark replies answers if , unmark them if provide no help. if have feedback technet support, contact tnmff@microsoft.com.
Windows Server > Windows PowerShell
Comments
Post a Comment