Jump to content

Welcome to MSFN Forum
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. This message will be removed once you have signed in.
Login to Account Create an Account



Photo

WinZip Unattended Install

- - - - -

  • Please log in to reply
55 replies to this topic

#1
runonce

runonce

    Newbie

  • Member
  • 34 posts
  • Joined 31-October 03
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. :)


How to remove advertisement from MSFN

#2
baliktad

baliktad

    Stellar Underachiever

  • Member
  • PipPip
  • 155 posts
  • Joined 24-October 03
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
runonce

runonce

    Newbie

  • Member
  • 34 posts
  • Joined 31-October 03
baliktad,

Thanks for the additional information.

#4
shareef59

shareef59

    Member

  • Member
  • PipPip
  • 209 posts
  • Joined 21-November 03
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.
Read the rules.

#5
Alanoll

Alanoll

    CODE tags people, CODE tags!

  • Patrons
  • 5,496 posts
  • Joined 25-September 03
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
Welcome to the Forum! Please READ Me!!
Alright, that's it for the site for now. Now on to the next project....which could concievable replace the current site :)

#6
shareef59

shareef59

    Member

  • Member
  • PipPip
  • 209 posts
  • Joined 21-November 03
@Alanoll

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

#7
QuickFire(UK)

QuickFire(UK)

    Newbie

  • Member
  • 11 posts
  • Joined 27-October 03
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
shareef59

shareef59

    Member

  • Member
  • PipPip
  • 209 posts
  • Joined 21-November 03
@QuickFire[UK]

Thanks buddy, very helpful!!!

-From another English man lost in America..... :)
Read the rules.

#9
JoJa15

JoJa15

    Newbie

  • Member
  • 11 posts
  • Joined 31-December 03
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
pfear

pfear

    Newbie

  • Member
  • 21 posts
  • Joined 19-November 03
I used the instructions from "http://www.MSFN.org/...howtopic=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
aknott

aknott

    Junior

  • Member
  • Pip
  • 64 posts
  • Joined 27-January 04
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 .......
PIV 2.4GHz 1024Mb - P4C800E - FX5700 TD - 200G+80G+120G
WIN XP 'nLite' including XPlode
thanks to wraith and nuhi

#12
holyone

holyone

    Newbie

  • Member
  • 20 posts
  • Joined 02-April 04
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
kenken mak

kenken mak
  • Member
  • 2 posts
  • Joined 24-June 04
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
Lightning

Lightning
  • Member
  • 1 posts
  • Joined 29-September 04
Has anyone had any success silently installing WinZip 9.0.6028 Corporate edition?

#15
Alanoll

Alanoll

    CODE tags people, CODE tags!

  • Patrons
  • 5,496 posts
  • Joined 25-September 03
Last I saw, it works just the same.
Welcome to the Forum! Please READ Me!!
Alright, that's it for the site for now. Now on to the next project....which could concievable replace the current site :)

#16
chyronn

chyronn

    Still A Noob

  • Member
  • Pip
  • 90 posts
  • Joined 12-October 04

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
Astalavista

Astalavista

    MSFN loyalist

  • Member
  • PipPipPipPipPipPipPipPipPip
  • 3,338 posts
  • Joined 02-December 03
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.

Edited by Astalavista, 05 November 2004 - 01:19 AM.


#18
chyronn

chyronn

    Still A Noob

  • Member
  • Pip
  • 90 posts
  • Joined 12-October 04
thank you, i can see how this is going to work for me now. i'll try it at once!

#19
chyronn

chyronn

    Still A Noob

  • Member
  • Pip
  • 90 posts
  • Joined 12-October 04
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
Astalavista

Astalavista

    MSFN loyalist

  • Member
  • PipPipPipPipPipPipPipPipPip
  • 3,338 posts
  • Joined 02-December 03
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.

#21
chyronn

chyronn

    Still A Noob

  • Member
  • Pip
  • 90 posts
  • Joined 12-October 04
Still doesn't work...can someone give me a definitive version of how they got Winxip9.0 to silently install (registered) with the runonceex file?

#22
prathapml

prathapml

    Follow the rules please :-)

  • Patrons
  • 6,791 posts
  • Joined 14-November 03
  • OS:Windows 8 x64
  • Country: Country Flag
First try trouble-shooting as to why the code by Astalasvista did not work - it looks perfectly fine. Check whether it was run at all by using PAUSE statements and removing the silent switches. Check whether you have any special characters in your runonceex which is holding-up execution of the batch-job.

And lastly, this is astalavista's code (posted above) with a slight modification:
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 "%ProgramFiles%\winzip\winzip32.exe /noqp /notip /autoinstall" /f
Try it, maybe this would work fine.
Posted ImageCheers !!!   Donate to MSFN and Help Keep This Site Running
||Please Read the Forum Rules||  Etiquette   || Welcome to MSFN - Forum Basics || Before posting
prathapml :: MSFN Supermod :: Private Message me if you ever have a problem while at MSFN

#23
alfareed

alfareed

    Newbie

  • Member
  • 24 posts
  • Joined 09-November 04

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


search slove

#24
LispWarez

LispWarez

    Newbie

  • Member
  • 36 posts
  • Joined 07-December 04
Hey all. for all those who still havent soloved the winzip silent install i have made an installer for it. it is a NSIS installer so it needs the /S to make it silent but it installs and it is regged and doesnt have the tips @ startup. hope someone get some use from it. download it here

#25
alfareed

alfareed

    Newbie

  • Member
  • 24 posts
  • Joined 09-November 04
thanks




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users