Link to home
Create AccountLog in
Avatar of bsharath
bsharathFlag for India

asked on

Winzip install on all machines.

Hi,
We have just purchased the licence version of Winzip.I need the easiest way to push to all machines.If from GPO.How can i do ?

Regards
Sharath
Avatar of Kurt_Braeckmans
Kurt_Braeckmans
Flag of Belgium image

Hi!

1. Create distribution point - share on server which contains .msi file.
2. Create and link GPO to proper OU and add msi package to Software settings of Computer or User configuration. Personally I prefer installing software to computers not users.

Winzip msi package has to be modified for silent install, accepting EULA, etc... Follow this link on how to do iz: http://www.appdeploy.com/packages/detail.asp?id=914

HTH

Toni
Avatar of bsharath

ASKER

I tried this method

1. Install winzip

2. Copy the Winzip folder from e.x. C:\program files\ to your "setup" folder, e.x. C:\WinzipSetup
Copy WinZip.wzmul to the "setup folder, e.x. C:\WinzipSetup

Copy - paste the vbs script below, and create the file winzipSetup.vbs in the C:\WinzipSetup folder.

the WinzipSetup folder should contain a folder called Winzip, the winzip.wzmul and the winzipsetup.vbs file.

Now you can move the WinzipSetup folder to your deployment server. All the client has to do is run the .vbs file - it will silently install winzip and insert the multi-user registeration file.

If no Winzip folder exists, the script will install winzip, but if the "program files"\winzip folder does exists, then it will do nothing and quit with code 100


' Install Winzip - Then register winzip with license file
' 2007 Anton
' --------------------------------------------------

'Variables!
Set oFSO = CreateObject("Scripting.FileSystemObject")
path = WScript.ScriptFullName
path = Left(path, InstrRev(path, "\"))

Set wshShell = WScript.CreateObject("WScript.Shell")
set objEnv = WSHShell.Environment("PROCESS")

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)

But when i use the vbs script it asks me to run the setup on the client machine.Is there any way where it does i9t silently.After i test i can run it through GPO.
I would suggest that you create software package in GPO and add transform file .mst. This way you will have completely silent install of software.
toniur:

How do i do that?
From previously posted link, follow these steps:

This is what I did using Wise Package Studio:

-I created a new transform file (did not use Install Tailor, just a blank MST).

-Edit the INSTALLCMD property in Setup Editor to be: "/noqp /notip /noc4u /nopredefinedjobs /autoinstall"
NOTE that /autoinstall has to be the last switch.

-I also added the license file (winzip.wzmul) to the package so it was placed in C:\Documents and Settings\All Users\Application Data\Winzip\

Details on Switches Used for the INSTALLCMD property:
/noqp = no quickpick icon in system tray
/notip = no tip of the day
/noc4u = don't check for updates
/nopredefinedjobs = no predefined sample jobs in the Winzip menu

Then deployed the MSI with the Transform and it worked great.

Do you have specific question on how to create GPO, or add software package to GPO?
Where can i get nthe download

Wise Package Studio:

I get an error."Could not run the setup".I downloaded from the primary site.
ASKER CERTIFIED SOLUTION
Avatar of Toni Uranjek
Toni Uranjek
Flag of Slovenia image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer