winzip
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Answers

1

Here you can see all parameters:

http://kb.winzip.com/kb/entry/11/

Answered 04/11/2012 by: tecrumors
Sixth Degree Black Belt

Please log in to comment
1

My Install.cmd that worked for me: My soultion has the 32bit and 64 bit Version integrated. So it doesnt matter if it is a 64bit client or a 32bit.

@echo off

set AppName=WinZip 16.0 64bit (EN) - 001

 

:: Path for logfiles.

set Logs=%SystemDrive%\Logs

if exist %SystemDrive%\Wininst set Inst=%SystemDrive%\Wininst

if exist %SystemDrive%\Vistainst set Inst=%SystemDrive%\Vistainst

if exist %SystemDrive%\Srv08inst set Inst=%SystemDrive%\Srv08inst

set Logs=%Inst%\Logs

if not exist %Logs% MD %Logs%

set LogFile=%Logs%\%AppName%.log

 

:: Installation

if /i "%PROCESSOR_ARCHITECTURE%"=="AMD64" goto AMD64

if /i "%PROCESSOR_ARCHITEW6432%"=="AMD64" goto AMD64

if /i "%PROCESSOR_ARCHITECTURE%"=="x86" goto x86

echo %date% %time% ERROR: Processor Architecture "%PROCESSOR_ARCHITECTURE%" unknown >>"%LogFile%"

goto Error

 

:x86

echo %date% %time% Installation (32 bit) of %AppName% >>"%LogFile%"

cd /D %~dp0

rem installation 32bit

msiexec /i winzip16-32.msi /qn ADDDESKTOPICON=0 INSTALLCMD="/noqp /noc4u /notip /nojobrunprompt /autoinstall" /L* "%Logs%\%AppName%.msi.log"

rem Path for the  licensefile

if not exist "%PROGRAMDATA%\WinZip" md "%PROGRAMDATA%\WinZip"

rem copy job for the  licensefile

copy /y "%~dp0WinZip.wzmul" "%PROGRAMDATA%\WinZip\WinZip.wzmul\" >>"%LogFile%"

IF %ERRORLEVEL% EQU 3010 set ERRORLEVEL=0

IF %ERRORLEVEL% NEQ 0 goto Error

rem regedit /s "%~dp0AddRemoveEintrag.reg"

goto cleanup

 

:AMD64

echo %date% %time% Installation (64 bit) of %AppName% >>"%LogFile%"

cd /D %~dp0

rem installation 64bit

msiexec /i winzip16-64.msi /qn ADDDESKTOPICON=0 INSTALLCMD="/noqp /noc4u /notip /nojobrunprompt /autoinstall" /L* "%Logs%\%AppName%.msi.log"

rem Path for the  licensefile

if not exist "%PROGRAMDATA%\WinZip" md "%PROGRAMDATA%\WinZip"

rem copy job for the  licensefile

copy /y "%~dp0WinZip.wzmul" "%PROGRAMDATA%\WinZip\WinZip.wzmul\" >>"%LogFile%"

IF %ERRORLEVEL% EQU 3010 set ERRORLEVEL=0

IF %ERRORLEVEL% NEQ 0 goto Error

rem regedit /s "%~dp0AddRemoveEintrag.reg"

goto cleanup

 

:: Cleanup

:Cleanup

if exist "%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\WinZip\WinZip 16.0.lnk" copy /y "%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\WinZip\WinZip 16.0.lnk" "%ALLUSERSPROFILE%\Start Menu\Programs\Tools\WinZip 16.0.lnk"

if exist "%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\WinZip" rmdir /s /q "%ALLUSERSPROFILE%\Microsoft\Windows\Start Menu\Programs\WinZip"

 

:: Errorhandler

goto End

:Error

echo %date% %time% ERROR: %ERRORLEVEL% >>"%LogFile%"

echo Error: %ERRORLEVEL%

echo.

 

:: End of Script

:End

echo %date% %time% End installation of %AppName% >>"%LogFile%"

echo End

Answered 04/11/2012 by: tecrumors
Sixth Degree Black Belt

Please log in to comment
0

Winzip comes as a vendor MSI. So you should not package it. Use Transform to customize it.

Answered 04/11/2012 by: piyushnasa
Red Belt

  • But in the transform file you cant give all setting. With parameters you can make more settings
  • then tell me how to disable "TIP OF THE DAY"
Please log in to comment
Answer this question or Comment on this question for clarity

Share