/build/static/layout/Breadcrumb_cap_w.png

packaging winzip 16

winzip

0 Comments   [ + ] Show comments

Answers (3)

Posted by: tecrumors 12 years ago
6th Degree Black Belt
1

Here you can see all parameters:

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

Posted by: tecrumors 12 years ago
6th Degree Black Belt
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

Posted by: piyushnasa 12 years ago
Red Belt
0

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


Comments:
  • But in the transform file you cant give all setting. With parameters you can make more settings - tecrumors 12 years ago
  • then tell me how to disable "TIP OF THE DAY" - sar 10 years ago

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

View more:

Link

Related Links

Post

Related Posts

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ