IPB

Google Frontpage Forums Unattended CD/DVD Guide

> 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 V   1 2 3 >  
Reply to this topicStart new topic
> WinZip Unattended Install, How to!
runonce
post Nov 7 2003, 12:40 AM
Post #1


Newbie


Group: Members
Posts: 34
Joined: 31-October 03
Member No.: 8826



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

I hope this can help someone. I know I wish I had know it 3 days ago. thumbup.gif
Go to the top of the page
 
+Quote Post
baliktad
post Nov 7 2003, 02:57 AM
Post #2


Stellar Underachiever
**

Group: Members
Posts: 155
Joined: 24-October 03
Member No.: 8541
Country Flag


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.
CODE
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.
CODE
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"
Go to the top of the page
 
+Quote Post
runonce
post Nov 7 2003, 08:05 AM
Post #3


Newbie


Group: Members
Posts: 34
Joined: 31-October 03
Member No.: 8826



baliktad,

Thanks for the additional information.
Go to the top of the page
 
+Quote Post
shareef59
post Nov 28 2003, 02:05 AM
Post #4


Member
**

Group: Members
Posts: 209
Joined: 21-November 03
From: Maine, USA
Member No.: 9817
OS: XP Pro x86
Country Flag


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.
Go to the top of the page
 
+Quote Post
Alanoll
post Dec 2 2003, 03:12 PM
Post #5


CODE tags people, CODE tags!
Group Icon

Group: Patrons
Posts: 5496
Joined: 25-September 03
From: Dallas, Texas
Member No.: 7393
OS: none
Country Flag


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
Go to the top of the page
 
+Quote Post
shareef59
post Dec 2 2003, 03:38 PM
Post #6


Member
**

Group: Members
Posts: 209
Joined: 21-November 03
From: Maine, USA
Member No.: 9817
OS: XP Pro x86
Country Flag


@Alanoll

Thank you for your reply. I am sure it will be most helpful.
Go to the top of the page
 
+Quote Post
QuickFire(UK)
post Dec 2 2003, 10:29 PM
Post #7


Newbie


Group: Members
Posts: 11
Joined: 27-October 03
Member No.: 8665
Country Flag


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)...
Go to the top of the page
 
+Quote Post
shareef59
post Dec 3 2003, 10:13 AM
Post #8


Member
**

Group: Members
Posts: 209
Joined: 21-November 03
From: Maine, USA
Member No.: 9817
OS: XP Pro x86
Country Flag


@QuickFire[UK]

Thanks buddy, very helpful!!!

-From another English man lost in America..... woot.gif
Go to the top of the page
 
+Quote Post
JoJa15
post Jan 6 2004, 10:55 PM
Post #9


Newbie


Group: Members
Posts: 11
Joined: 31-December 03
Member No.: 11754



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
Go to the top of the page
 
+Quote Post
pfear
post Jan 10 2004, 06:39 AM
Post #10


Newbie


Group: Members
Posts: 21
Joined: 19-November 03
From: Belo Horizonte, Brazil
Member No.: 9718
Country Flag


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
Go to the top of the page
 
+Quote Post
aknott
post Jan 27 2004, 03:18 PM
Post #11


Junior
*

Group: Members
Posts: 64
Joined: 27-January 04
From: France
Member No.: 13257



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 .......
Go to the top of the page
 
+Quote Post
holyone
post Apr 12 2004, 12:02 PM
Post #12


Newbie


Group: Members
Posts: 20
Joined: 2-April 04
Member No.: 17127



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.
Go to the top of the page
 
+Quote Post
kenken mak
post Jun 24 2004, 10:06 PM
Post #13





Group: Members
Posts: 2
Joined: 24-June 04
Member No.: 23363



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
Go to the top of the page
 
+Quote Post
Lightning
post Oct 9 2004, 12:03 PM
Post #14





Group: Members
Posts: 1
Joined: 29-September 04
Member No.: 32381



Has anyone had any success silently installing WinZip 9.0.6028 Corporate edition?
Go to the top of the page
 
+Quote Post
Alanoll
post Oct 9 2004, 02:54 PM
Post #15


CODE tags people, CODE tags!
Group Icon

Group: Patrons
Posts: 5496
Joined: 25-September 03
From: Dallas, Texas
Member No.: 7393
OS: none
Country Flag


Last I saw, it works just the same.
Go to the top of the page
 
+Quote Post
chyronn
post Nov 4 2004, 10:30 PM
Post #16


Still A Noob
*

Group: Members
Posts: 68
Joined: 12-October 04
From: London
Member No.: 33530
Country Flag


QUOTE (holyone @ Apr 12 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...

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?
Go to the top of the page
 
+Quote Post
Astalavista
post Nov 5 2004, 01:11 AM
Post #17


MSFN loyalist
*********

Group: Banned
Posts: 3338
Joined: 2-December 03
Member No.: 10301
Country Flag


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: Nov 5 2004, 01:19 AM
Go to the top of the page
 
+Quote Post
chyronn
post Nov 5 2004, 09:32 AM
Post #18


Still A Noob
*

Group: Members
Posts: 68
Joined: 12-October 04
From: London
Member No.: 33530
Country Flag


thank you, i can see how this is going to work for me now. i'll try it at once!
Go to the top of the page
 
+Quote Post
chyronn
post Nov 5 2004, 07:49 PM
Post #19


Still A Noob
*

Group: Members
Posts: 68
Joined: 12-October 04
From: London
Member No.: 33530
Country Flag


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.
Go to the top of the page
 
+Quote Post
Astalavista
post Nov 6 2004, 08:19 AM
Post #20


MSFN loyalist
*********

Group: Banned
Posts: 3338
Joined: 2-December 03
Member No.: 10301
Country Flag


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.
Go to the top of the page
 
+Quote Post

Google Frontpage Forums Unattended CD/DVD Guide

3 Pages V   1 2 3 >
Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 




Lo-Fi Version Time is now: 21st November 2009 - 12:41 AM
All trademarks mentioned on this page are the property of their respective owners
MSFN is not affiliated with Microsoft
Copyright © 2001-2009 msfn.org
Privacy Policy