Jump to content

WinZip silent doesn't work


d0nut

Recommended Posts


Hi,

I'm trying to do an unattended install of WinZip 9.0 using start.cmd and keep getting the error that /noqp is not a valid switch. I've tries it without the /noqp and /notip switches and just using /autoinstall but then I get /autoinstall is not a valid switch.

Here is the code of my start.cmd

CLS
@echo off
TITLE Windows XP Unattended Installation

ECHO.
ECHO Installing and Registering WinZip 9.0
ECHO Please Wait...
MOVE "%systemdrive%\install\Applications\Winzip" "%ProgramFiles%"
start /wait "%ProgramFiles%\Winzip\winzip32.exe" /noqp /notip /autoinstall
REGEDIT /S %systemdrive%\install\Applications\Winzip\register.reg

EXIT

Thanks in advance

Paul

Link to comment
Share on other sites

just a followup question. why were the regfile i set to run after silent install of winzip didnt worked? :)

here's my autoit-code

RunWait($sd&"\Others\winrar\WinZip.exe")
RunWait("regedit.exe /S "&$sd&"\Others\winrar\registerzip.reg")

the installation went fine, its just that the settings for winzip were still the defaults. btw, the reg file contained this:

Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Nico Mak Computing]

[HKEY_CURRENT_USER\Software\Nico Mak Computing\WinZip]

[HKEY_CURRENT_USER\Software\Nico Mak Computing\WinZip\fm]
"assoc"="1"
"shlExt"="1"
".ZIP"="0"
".LZH"="0"
".ARJ"="0"
".ARC"="1"
".TAR"="0"
".TAZ"="1"
".TGZ"="0"
".TZ"="1"
".GZ"="0"
".Z"="1"
".CAB"="0"
".UU"="0"
".UUE"="0"
".XXE"="0"
".B64"="1"
".HQX"="1"
".BHX"="1"
".MIM"="1"

[HKEY_CURRENT_USER\Software\Nico Mak Computing\WinZip\ListView]
"ListFormat"="0"
"FullRowSelect"="0"
"GridLines"="0"
"Col_Name"="0,L,139,T"
"Col_Type"="1,L,100,T"
"Col_Date"="2,L,138,T"
"Col_Size"="3,R,70,T"
"Col_Ratio"="4,R,41,T"
"Col_Packed"="5,R,63,T"
"Col_CRC"="6,L,0,F"
"Col_Attrib"="7,L,0,F"
"Col_Path"="8,L,93,T"

[HKEY_CURRENT_USER\Software\Nico Mak Computing\WinZip\ToolBar]
"Button1"="new,open,favor,add,extra,encrypt,view,check,wiz"

[HKEY_CURRENT_USER\Software\Nico Mak Computing\WinZip\WinIni]
"win32_version"="R6.3-9.0"

[HKEY_CURRENT_USER\Software\Nico Mak Computing\WinZip\WinZip]
"IBS"="1"
"AltDrag"="1"
"Adjustable"="1"
"AlwaysOnTop"="0"
"ReuseWindows"="1"
"SpanDefault"="0"
"DialogSplitFactor"="2"
"ExtractSkipOlder"="0"
"CheckOutIconOnly"="1"
"ShowTips"="0"
"VersionDate"="5/28/2004"
"Setup"="0"
"Display"="1152,864"
"Main"="0,50,50,656,342"
"AssocMsg"="0"
"ViewerFont"="F3FFFFFF000000000000000000000000000000000000000000000000436F7572696572204E6577000000000000000000
00000000000000000000000013"
"RecycleBin"="1"
"wizard"="0"
"Extract95"="1"
"AnimatedBusy"="1"
"Beep"="1"
"MRUSize"="1"

[HKEY_CURRENT_USER\Software\Nico Mak Computing\WinZip\wzshlext]
"DropDialogWinzip"="1"
"DropDialogExplorer"="1"
"MenuBitmaps"="1"
"ShellExtensionSubMenu"="1"
"AddToFolder"="1"
"CabCheckFixed"="1"
"CabCheckRemovable"="1"
"CabCheckOther"="1"
"CommentCheckFixed"="1"
"CommentCheckRemovable"="1"
"CommentCheckOther"="1"
"MenuCfgTable"="22222222222220002222"

Link to comment
Share on other sites

pauluea

If you make a SFX with WinRAR and include those switches, it should work. I tested it under a batch file.

edmoncu

I never used autoit. But, is it right to use "regedit.exe" instead of "regedit" in your scripts? I mean, does it always work?

Link to comment
Share on other sites

@mazin, i think specifying it as an exe or not will give the same results as its pointing the same file. also, its in the path. i just detailed the filename under autoit.

i was wondering though if the pattern should be installing the app then applying the registry enties after the installation. or it should be the other way around, like in some cases: nero.

Link to comment
Share on other sites

  • 2 months later...

Well how to disable "Include WinZip in the Start menu" and "Include WinZip on the desktop" options on install? Registry key not cutten it.

Might just have to remove them both after install via:

RD /S /Q "%AllUsersProfile%\Start Menu\Programs\WinZip"

DEL "%AllUsersProfile%\Start Menu\WinZip.lnk"
DEL "%AllUsersProfile%\Desktop\WinZip.lnk"

cya,

Will

Link to comment
Share on other sites

  • 1 month later...
Hi,

I'm trying to do an unattended install of WinZip 9.0 using start.cmd and keep getting the error that /noqp is not a valid switch. Thanks in advance

Paul

I keep getting the same '/noqp is not a valid switch' while doing an unattend install of 'WinZip 9.0.6224 SR1'. The following is what i have in my start.cmd:

ECHO.
ECHO Installing WinZip 9.0.6224 SR1
ECHO Please wait...
start /wait "%ProgramFiles%\WinZip\winzip32.exe" /noqp /autoinstall
start /wait regedit /s %systemdrive%\Install\WinZip\registerwinzip.reg

I have all the the WinZip install files from my current windows install in '$OEM$\$PROGS\WinZip'.

Can someone please figure out what is it I am doing wrong. Thanks.

Link to comment
Share on other sites

Thanks to the help by 'jbm', I finally have a working solution.

My final start.cmd entries for WinZip:

ECHO.
ECHO Installing WinZip 9.0.6224 SR1
ECHO Please wait...
start /wait %systemdrive%\"Program Files"\WinZip\winzip32.exe /noqp /autoinstall
start /wait regedit /s %systemdrive%\Install\WinZip\registerwinzip.reg

Link to comment
Share on other sites

  • 1 month later...
start /wait regedit /s %systemdrive%\Install\WinZip\registerwinzip.reg

OK, so what is in this registerwinzip.reg file?

It is what I use to register WinZip during the silent install.

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Nico Mak Computing\WinZip\WinIni]
"Setup"="0"
"win32_version"="6.3-9.0"
"Name"="YOURNAME"
"SN"="YourSerial#"

[HKEY_CURRENT_USER\Software\Nico Mak Computing\WinZip\WinIni]
"win32_version"="6.3-9.0"
"Name"="YOURNAME"
"SN"="YourSerial#"

Link to comment
Share on other sites

  • 1 year later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...