MSFN Forum: WinZip Unattended Install - MSFN Forum

Jump to content


Unattended CD/DVD Guide Homepage · MSFN Forum Rules

Welcome to the Applications Installs forum. Make sure you read the forum rules before you start posting.

Links/Requests to warez and/or any illegal material (porn, cracks, serials, etc..) will not be tolerated. Discussion of circumventing WGA/activation/timebombs/keygens or any other illegal activity will also not be tolerated.

We try our best to keep this forum clean of illegal content. If you see any illegal activity use the "report" button you find in every post to report the specific post to the moderators. If you ignore any of the rules you will be banned without notice.

Read Forum Rules
  • 3 Pages +
  • 1
  • 2
  • 3
  • You cannot start a new topic
  • You cannot reply to this topic

WinZip Unattended Install How to! Rate Topic: -----

#1 User is offline   runonce 

  • Newbie
  • Group: Members
  • Posts: 34
  • Joined: 31-October 03

  Posted 07 November 2003 - 12:40 AM

When I was going to attempt an include WinZip in my unattended install I couldn't find any posts that expalined this fully. So with bits and pieces of info taken from this board, the WinZip website and trial & error I finally got my install of WinZip 8.1 to work.

Here is how I did it:
1. Take all the files from a working copy of WinZip, which usaually can be found in the c:\Program Files\WinZip folder. (According to WinZip it's not preferable to use a copy of a version that has previously been updated. They suggest you unistall your updated version and download and install the most current version.)

2. Create a $Progs directory under the $OEM$ directory then greate a WinZip directory under the $Progs directory ($OEM$\$Progs\WinZip) and place all the WinZip files into the \WinZip directory. (This will place the WinZip folder in the c:\Program Files diretory on your computer during the Unattended Install.)

{I found this to be important as when WinZip installs it does not create a WinZip folder within the c:\Program Files folder on its own as other programs do. It will leave the files it needs to run in the same directory that they where orginally placed in. The problem that this caused me was I had all the program's I intended to install go into an c:\install\"program name" folder for each of the applications from where they where installed during the Unattended install. When the install was complete I ran a batch files to remove the c:\install directory. In doing so I removed the WinZip files needed for it to run. By making the unattended install place the WinZip Files in the Program Files directory you can remove the unneeded programs from your install folder and leave WinZip files where they should have been in the first place.}

3. Use this line in your batch file to call the installation of WinZip.
echo.
echo Installing WinZip 8.1
start /wait %systemdrive%\"Program Files"\winzip\winzip32.exe /noqp /autoinstall
echo Installation complete!


I know for you pro's this might not be anything new, but it took me a few days to figure out why WinZip was installing but I couldn't get it to run after the reboot. My Cleanup batch file was removing the darn WinZip program files. :rolleyes:

I hope this can help someone. I know I wish I had know it 3 days ago. :)


#2 User is offline   baliktad 

  • Stellar Underachiever
  • PipPip
  • Group: Members
  • Posts: 155
  • Joined: 24-October 03

Posted 07 November 2003 - 02:57 AM

Nice post runonce. I've been using basically this same method for some time and just wanted to add a few notes.
One of the things I do after installing is clean up the start menu. I find that I don't really need all those extra links so I remove all the shortcuts except the main program executable from its program group. Also, I take the opportunity to make a few choice registry changes. Here's the relevant portion of a batch file I use.
echo Installing WinZip... Please Wait
"%ProgramFiles%\WinZip\winzip32.exe" /noqp /autoinstall

echo Cleaning Up... Please Wait
del "%allusersprofile%\start menu\WinZip.lnk"
del "%allusersprofile%\desktop\WinZip.lnk"
del "%allusersprofile%\start menu\Programs\WinZip\Uninstall WinZip.lnk"
del "%allusersprofile%\start menu\Programs\WinZip\Help Manual.lnk"
del "%allusersprofile%\start menu\Programs\WinZip\ReadMe.txt.lnk"
del "%allusersprofile%\start menu\Programs\WinZip\What's New.lnk"
regedit /s registerwinzip.reg

Of course, then registerwinzip.reg takes care of adding my own registration code and a few other tweaks in the registry to make sure things are the way I like it.
Windows Registry Editor Version 5.00

[HKEY_CURRENT_USER\Software\Nico Mak Computing\WinZip\WinIni]
"Name"="Your Name"
"SN"="XXXXXXXX"

[HKEY_CURRENT_USER\Software\Nico Mak Computing\WinZip\WinZip]
"ShowTips"="0"

;Get rid of all those silly icons in the context menus
[-HKEY_CLASSES_ROOT\Directory\shellex\DragDropHandlers\WinZip]
[-HKEY_CLASSES_ROOT\Drive\shellex\DragDropHandlers\WinZip]
[-HKEY_CLASSES_ROOT\Folder\shellex\DragDropHandlers\WinZip]
[-HKEY_CLASSES_ROOT\*\shellex\ContextMenuHandlers\WinZip]
[-HKEY_CLASSES_ROOT\Folder\shellex\ContextMenuHandlers\WinZip]
[-HKEY_CLASSES_ROOT\Directory\shellex\ContextMenuHandlers\WinZip]

;And tell Winzip that's exactly how we want it
[HKEY_CURRENT_USER\Software\Nico Mak Computing\WinZip\fm]
"shlExt"="0"


#3 User is offline   runonce 

  • Newbie
  • Group: Members
  • Posts: 34
  • Joined: 31-October 03

Posted 07 November 2003 - 08:05 AM

baliktad,

Thanks for the additional information.

#4 User is offline   shareef59 

  • Member
  • PipPip
  • Group: Members
  • Posts: 209
  • Joined: 21-November 03

Posted 28 November 2003 - 02:05 AM

Hi Guys
For winzip 8.1 (registered), can the "RunOnceEx" method be used? If so, can anyone help me out with the correct codes/switch etc?
Thanks in advance.

#5 User is offline   Alanoll 

  • CODE tags people, CODE tags!
  • Group: Patrons
  • Posts: 5,496
  • Joined: 25-September 03

Posted 02 December 2003 - 03:12 PM

its the same switchs.....
just use teh INF variable for Program FIlesand you should be good.
look for the post of DirIds in the main Unattended forum

#6 User is offline   shareef59 

  • Member
  • PipPip
  • Group: Members
  • Posts: 209
  • Joined: 21-November 03

Posted 02 December 2003 - 03:38 PM

@Alanoll

Thank you for your reply. I am sure it will be most helpful.

#7 User is offline   QuickFire(UK) 

  • Newbie
  • Group: Members
  • Posts: 11
  • Joined: 27-October 03

Posted 02 December 2003 - 10:29 PM

hi,

i have a latest version of winzip v8.1 SR1 with a digital signature of 11 february 2003.

you MUST add to the registry.

[HKEY_LOCAL_MACHINE\SOFTWARE\Nico Mak Computing\WinZip\WinIni]
"Setup"="1"

or after you have installed it. When are run winzip it will make you enter the registation entries again.

Thanks QuickFire(UK)...

#8 User is offline   shareef59 

  • Member
  • PipPip
  • Group: Members
  • Posts: 209
  • Joined: 21-November 03

  Posted 03 December 2003 - 10:13 AM

@QuickFire[UK]

Thanks buddy, very helpful!!!

-From another English man lost in America..... :)

#9 User is offline   JoJa15 

  • Newbie
  • Group: Members
  • Posts: 11
  • Joined: 31-December 03

Posted 06 January 2004 - 10:55 PM

Thanks for the great tip on WinZip.

Anyone know how I can silently install the Command Line, Internet Browser, Outlook, and Self-Extractor Add-On's?

Thanks,
John

#10 User is offline   pfear 

  • Newbie
  • Group: Members
  • Posts: 21
  • Joined: 19-November 03

Posted 10 January 2004 - 06:39 AM

I used the instructions from "http://www.MSFN.org/board/index.php?showtopic=10618" to install WinZip 8.1sr1 from CMDLINES.TXT, but I got the following error:

'Invalid option "/noqp"'.

After a lot of research, I managed to install WinZip with no errors. I had to go to the WinZip directory and install it from there. Then I moved back to the <cdrom>:\$OEM$.

When we install WinZip from CMDLINES.TXT, it is installed to the Default User. So that the registration is valid for all users that we want to create.

Here is my solution:

1. Place Winzip in ( $OEM$\$1\Winzip ) . We can't use $Progs, because $Progs is only copied to the hard disk after CMDLINES.TXT is called.

2. In the .CMD file that is called from CMDLINES.TXT, add these lines:

ECHO.
ECHO Installing WinZip 8.1
ECHO Please wait ...
SET DIROEM=%CD%
MOVE "%systemdrive%\WinZip" "%ProgramFiles%"
for %%i in (c: d: e: f:) do if /I "%systemdrive%"=="%%i" %%i
cd "%ProgramFiles%\WinZip"
start /wait winzip32.exe /noqp /autoinstall
for %%i in (c: d: e: f: g: h: i: j:) do if /I "%DIROEM%"=="%%i\$OEM$" %%i
CD %DIROEM%
del "%allusersprofile%\Menu Iniciar\WinZip.lnk"
del "%allusersprofile%\Desktop\WinZip.lnk"
START /WAIT REGEDIT /S .\registerwinzip.reg


WinZip is installed and registered for all users that are created after this point.



pfear

#11 User is offline   aknott 

  • Junior
  • Pip
  • Group: Members
  • Posts: 64
  • Joined: 27-January 04

Posted 27 January 2004 - 03:18 PM

for an installation of winzip without creating icons in startup menu you only need
the /cleaninstall switch
copy a valid winzip from program files to your dist in $OEM$\$progs\

and add the following line in your unattand command file


c:\program files\winzip\winzip32.exe /cleaninstall

that's all...

you perhaps need also a file named
autoinst.txt in the winzip folder containing the following line
I agree to the WinZip Computing License Agreement

you can also get your registration conde from the registry and use the .reg file before the winzip command like that

REM ----------- WINZIP
REG ADD %KEY%\010 /VE /D "Winzip" /f
REG ADD %KEY%\010 /V 1 /D "regedit /s %systemdrive%\regfiles\winzip.reg" /f
REG ADD %KEY%\010 /V 2 /D "%systemdrive%\progra~1\WinZip\winzip32.exe /cleaninstall" /f

IT WORKS .......

#12 User is offline   holyone 

  • Newbie
  • Group: Members
  • Posts: 20
  • Joined: 02-April 04

Posted 12 April 2004 - 12:02 PM

I have a problem withe the install...
It's install winzip but after i do "UnInstall" it's delete the files in the install folder...
How can i change it?
And also after the install it's still asking for the code...

Thanks for the help !

holyone.

#13 User is offline   kenken mak 

  • Group: Members
  • Posts: 2
  • Joined: 24-June 04

Posted 24 June 2004 - 10:06 PM

I have a problem with auto-installation of winzip 7 without tip when i launch it afterwards

and aknott, I can't understand your meaning
I do got autoinst.txt with the line "I agree to the WinZip Computing License Agreement"
so i just need to add "c:\program files\winzip\winzip32.exe /cleaninstall" in order to have no icon created?

Thanks,
Kenneth

#14 User is offline   Lightning 

  • Group: Members
  • Posts: 1
  • Joined: 29-September 04

Posted 09 October 2004 - 12:03 PM

Has anyone had any success silently installing WinZip 9.0.6028 Corporate edition?

#15 User is offline   Alanoll 

  • CODE tags people, CODE tags!
  • Group: Patrons
  • Posts: 5,496
  • Joined: 25-September 03

Posted 09 October 2004 - 02:54 PM

Last I saw, it works just the same.

#16 User is offline   chyronn 

  • Still A Noob
  • Pip
  • Group: Members
  • Posts: 90
  • Joined: 12-October 04

Posted 04 November 2004 - 10:30 PM

holyone, on Apr 12 2004, 12:02 PM, said:

I have a problem withe the install...
It's install winzip but after i do "UnInstall" it's delete the files in the install folder...

I also have this problem, when i put the contents of my winzip folder from my current machine into the $Progs folder for the unattended CD, it works how it's supposed to, but i noticed that it only places a copy into Program Files and NOT actually executing the install procedure in the newly created Windows, when i click it, it begins to install.....
i followed the exact same procedure as runonce outlined but i put my commands in the runonceex file not the start.cmd
does this make any difference?

#17 User is offline   Astalavista 

  • MSFN loyalist
  • PipPipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 3,338
  • Joined: 02-December 03

Posted 05 November 2004 - 01:11 AM

here is what u do,

1. winrar your winzip folder, create a SFX file (self extracting file)
extracting to c:\program files\winzip silent install overwrite options

2. in your runonce add this command

REG ADD %KEY%\019 /VE /D "WinZip 9.0" /f
REG ADD %KEY%\019 /V 1 /D "%systemdrive%\install\Winzip\WinZipSFX.exe" /f
REG ADD %KEY%\019 /V 2 /D "\"%systemdrive%\"Program Files"\winzip\winzip32.exe\" /noqp /notip /autoinstall" /f

i hope this helps u out.

This post has been edited by Astalavista: 05 November 2004 - 01:19 AM


#18 User is offline   chyronn 

  • Still A Noob
  • Pip
  • Group: Members
  • Posts: 90
  • Joined: 12-October 04

Posted 05 November 2004 - 09:32 AM

thank you, i can see how this is going to work for me now. i'll try it at once!

#19 User is offline   chyronn 

  • Still A Noob
  • Pip
  • Group: Members
  • Posts: 90
  • Joined: 12-October 04

Posted 05 November 2004 - 07:49 PM

no luck, everything works up until when runonceex needs to execute the install. it seems to be doing something but after XP has finished loading after reboot it's not part of the installation. it's there in the Program Files\Winzip folder but it's just sitting there inert waiting for me to double click it and start the process. i really can't understand why the command isn't tripping the switches.

#20 User is offline   Astalavista 

  • MSFN loyalist
  • PipPipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 3,338
  • Joined: 02-December 03

Posted 06 November 2004 - 08:19 AM

i suggest that u download the latest winzip

from www.winzip.com

uninstall and delete your c:\program files\winzip

reinstall winzip 9.1


try the steps outline again.

Share this topic:


  • 3 Pages +
  • 1
  • 2
  • 3
  • You cannot start a new topic
  • You cannot reply to this topic

2 User(s) are reading this topic
0 members, 2 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2013 msfn.org
Privacy Policy