d0nut Posted April 14, 2004 Share Posted April 14, 2004 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" /fAnd 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 EXITAnd 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 More sharing options...
Winxptwker Posted April 14, 2004 Share Posted April 14, 2004 I haven't yet done the runonceex.cmd method yet but I think I can see why.Maybe remove the EXIT from the install.cmd file Link to comment Share on other sites More sharing options...
Alanoll Posted April 14, 2004 Share Posted April 14, 2004 you want the EXIT.why don't you do a search for the way the WinZIP's websites says to do a silent install?you may also wish to remove your Serial Number from the regtweaks when posting.http://www.winzip.com/xsiteins.htm Link to comment Share on other sites More sharing options...
willpantin Posted April 14, 2004 Share Posted April 14, 2004 Did you mean to spell your reg file like this?START /WAIT REGEDIT /S .\registreerwinzip.regOr, did you miss-spell it, and it should be:"registerwinzip.reg"? Link to comment Share on other sites More sharing options...
SlimShady Posted April 14, 2004 Share Posted April 14, 2004 Don't you have to enter the full path in a command? I mean this:START /WAIT REGEDIT /S .\registreerwinzip.regReplace .\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.regOr, did you miss-spell it, and it should be:"registerwinzip.reg"? Perfect translation .But I don't think that's the problem.Good luck. Link to comment Share on other sites More sharing options...
Alanoll Posted April 14, 2004 Share Posted April 14, 2004 um....everyone is pointing out the flaw in his syntax, but he very clearly states that it works outside of RunOnceEX when he runs it normally. Link to comment Share on other sites More sharing options...
Jono Posted April 15, 2004 Share Posted April 15, 2004 i would remove that serial number from your registry file as anyone can use that Link to comment Share on other sites More sharing options...
mrclasik Posted April 15, 2004 Share Posted April 15, 2004 You could archive the program files using winrar and add this comment..Path=WinzipSavePathSetup=winzip32.exe /autoinstallSilent=2Overwrite=2I 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 More sharing options...
Glowy Posted April 19, 2004 Share Posted April 19, 2004 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 More sharing options...
scankurban Posted April 19, 2004 Share Posted April 19, 2004 What is Winzip? Link to comment Share on other sites More sharing options...
Glowy Posted April 19, 2004 Share Posted April 19, 2004 Winzip Is a utility to unpack packed files such as .zip.Windows XP has this functionality as a standard now, but Winzip has more options Link to comment Share on other sites More sharing options...
SlimShady Posted April 19, 2004 Share Posted April 19, 2004 I recommend PowerArchiver, Microsoft does too. Link to comment Share on other sites More sharing options...
mazin Posted April 20, 2004 Share Posted April 20, 2004 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. Link to comment Share on other sites More sharing options...
Glowy Posted April 20, 2004 Share Posted April 20, 2004 @mazinWhy 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 More sharing options...
mazin Posted April 20, 2004 Share Posted April 20, 2004 I didn't mean this.I mean to copy those files, then run a reg file. No need for running an exe file.Thanks. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now