I am racking my brain on trying to automate the install of WinZip 11.2 in my domain and have tried multiple solutions to get it to work but have not had any success Here is what I have tried so far.
VBS SCRIPT through PSTOOLS
'Variables!
Set oFSO = CreateObject("Scripting.Fi
leSystemOb
ject")
path = WScript.ScriptFullName
path = Left(path, InstrRev(path, "\"))
Set wshShell = WScript.CreateObject("WScr
ipt.Shell"
)
set objEnv = WSHShell.Environment("PROC
ESS")
alluser = objEnv("ALLUSERSPROFILE")
programfiles = objEnv("ProgramFiles")
if oFSO.FolderExists (programfiles & "\WinZip") then
' If winzip folder exists. update to this version :p - not implemented
WScript.Quit(100)
else
' If no winzip folder, plain install
' Copy winzip setup folder
oFSO.CopyFolder path & "\WinZip",programfiles & "\WinZip",true
' Run the silent setup
dim wsh,exe,command
set wsh=createobject("wscript.
shell")
command = programfiles & "\WinZip\WinZip32.exe /noqp /noc4u /notip /autoinstall"
set exe = wsh.Exec (command)
do while exe.status <> 1
wscript.sleep 1000
loop
'put WinZip.wzmul in place
oFSO.CopyFile path & "\WinZip.wzmul",alluser & "\Application Data\WinZip\WinZip.wzmul",
true
'we are all done now!
'WScript.Echo "done!"
end if
WScript.Quit(0)
PSTOOLS COMMAND TRIED
psexec -d \\COMPUTER -u administrator -p password cscript.exe -e -c \\Share\Winzip\winzip.vbs
OTHER PSTOOLS INSTALL COMMAND (NON VBS)
psexec \\COMPUTER -u administrator -p password \\Share\WinZip\WinZip32.ex
e /noqp /noc4u /nodesktop /nostartmenu /nomenugroup /autoinstall
THIRD ATTEMPTED METHOD
I used ORCA which I am 100% new to but managed to follow tutorial to modify .MSI and create .MFT added to active directory software install but error'd out saying it wasnt a valid .MSI.
Please help. Not sure which direction to take but will atttempt any suggestions or walkthroughs available.
Links I have used thus far are
http://www.appdeploy.com/packages/detail.asp?id=914http://www.winzip.com/xmsicust.htmhttp://forum.sysinternals.com/forum_posts.asp?TID=9753