Jump to content

WinZip silent doesn't work


d0nut

Recommended Posts

Silent installing WinZip doesn't seem to work the way it should...

These lines are in runonceex.cmd:

REG ADD %KEY%\007 /VE /D "WinZip 8.1" /fREG ADD %KEY%\007 /V 1 /D "%systemdrive%\Install\WinZip\install.cmd" /f

And this is in the install.cmd:

CMDOW @ /HID@ECHO OFF
SET DIROEM=%CD%MOVE "%systemdrive%\Install\WinZip" "%ProgramFiles%"START /WAIT winzip32.exe /cleaninstallSTART /WAIT REGEDIT /S .\registreerwinzip.reg
EXIT

And this is the regfile:

Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Nico Mak Computing\WinZip\WinIni]"Name"="Toon Gorissen""SN"="WORKING SERIAL NUMBER"[HKEY_CURRENT_USER\Software\Nico Mak Computing\WinZip\WinZip]"ShowTips"="0"[HKEY_CURRENT_USER\Software\Nico Mak Computing\WinZip\fm]"shlExt"="0"[HKEY_LOCAL_MACHINE\Software\Nico Mak Computing\WinZip\WinIni]"Setup"="1"

When RunOnceEx tries to execute the install.cmd-file, nothing seems to be affected. Manually executing install.cmd does the trick.

Why doesn't it work ?

Thanks in advance !

Link to comment
Share on other sites


Don't you have to enter the full path in a command? I mean this:

START /WAIT REGEDIT /S .\registreerwinzip.reg
Replace .\registreerwinzip.reg with the full path.

Maybe that'll help.

BTW:

Did you mean to spell your reg file like this?
START /WAIT REGEDIT /S .\registreerwinzip.reg

Or, did you miss-spell it, and it should be:

"registerwinzip.reg"?

:rolleyes:

Perfect translation :) .

But I don't think that's the problem.

Good luck.

Link to comment
Share on other sites

You could archive the program files using winrar and add this comment..

Path=Winzip

SavePath

Setup=winzip32.exe /autoinstall

Silent=2

Overwrite=2

I will extract all the files needed, then run the install command silently.

I have used this for a while now, and it works.

Let me know if you need more detailed info..

Link to comment
Share on other sites

Did u try to change the line for starting the setup in "%ProgramFiles%\winzip\winzip32.exe" /noqp /notip /autoinstall

(this is for winzip 9 so /cleaninstall could work for 8)

at first I forgot the "" and it started the setup, but didn't do anything.

And, as you, running it manual worked normally.

Link to comment
Share on other sites

@mazin

Why do we need to install WinZip?

All files of WinZip go to: C:\Program Files\WinZip\, so all we need is some registry keys and values to integrate and configure it.

Thats exacly what

"%ProgramFiles%\winzip\winzip32.exe" /noqp /notip /autoinstall

does.

The files must be copied, and running the command runs a silent "install" that imports the regkeys.

All you need to do after that is register winzip, by importing a reg file or other means

Link to comment
Share on other sites

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...