MSFN Forum: WinRar Problem - 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
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

WinRar Problem WinRar Rate Topic: -----

#1 User is offline   pear 

  • Newbie
  • Group: Members
  • Posts: 15
  • Joined: 31-March 05

Posted 28 April 2005 - 10:53 AM

I have everything setup, and now I am trying to get Winrar (just 1 program to start) to automatically install after reboot. Its gets written to the Registry but does not auto install, but does get copied to a folder on C:\ Install\Winrar

Where must you copy the actual program (WinRar) in your file structure to get it to auto install after reboot? I have read and read but am a little slow I guess :)

Also if using RunOnceEx method, must I put something in my Wnnt.sif file, and if so what eactly to get WinRar to auto install?


$OEM$ (RunOnceEx.cmd and cmdlines.txt are inside this folder)
==>$1\Install\Winrar\Rar.exe


#2 User is offline   tguy 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 698
  • Joined: 19-May 04

Posted 28 April 2005 - 11:13 AM

Which command line switch are you using to initiate the installation? I believe the one you want is /S .

#3 User is offline   tguy 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 698
  • Joined: 19-May 04

Posted 28 April 2005 - 11:14 AM

Which command line switch are you using to initiate the installation? I believe the one you want is /S .

#4 User is offline   Astie 

  • Newbie
  • Group: Members
  • Posts: 11
  • Joined: 25-January 05

Posted 28 April 2005 - 11:36 AM

u have tu use the /s switch (like this: winrar.exe /s) and after the installation you can add your register tweaks for the winrar settings.

greetz astie

#5 User is offline   pear 

  • Newbie
  • Group: Members
  • Posts: 15
  • Joined: 31-March 05

Posted 28 April 2005 - 11:57 AM

Here is my setup, hope this helps diagnose my problem

RunOnceEx.cmd
@echo off

SET PP=%SystemDrive%\Install\

SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx

REG ADD %KEY% /V TITLE /D "Installing Applications" /f

REG ADD %KEY%\010 /VE /D "WinRAR 3.40" /f
REG ADD %KEY%\010 /V 1 /D "%systemdrive%\install\Winrar\RAR.exe /s" /f


Winnt.sif
;SetupMgrTag
[Data]
    AutoPartition=1
    MsDosInitiated="0"
    UnattendedInstall="Yes"
    AutomaticUpdates=yes

[Unattended]
    UnattendMode=FullUnattended
    OemSkipEula=Yes
    OemPreinstall=yes
    TargetPath=\WINDOWS
    UnattendSwitch="yes"
    WaitForReboot="No"
    AutoActivate =Yes
   repartition=yes
        
[GuiUnattended]
    AdminPassword=*
    EncryptedAdminPassword=NO
    OEMSkipRegional=1
    TimeZone=35
    OemSkipWelcome=1
    
[Display]
    BitsPerPel=32
    Xresolution=800
    Yresolution=600
    AutoConfirm=1
 
[UserData]
    ProductKey=xxxxxxxxxxxxx
    FullName=xxxxx
    OrgName=xxxxx
    ComputerName=*

[TapiLocation]
    CountryCode=107
    AreaCode=519

[RegionalSettings]
    LanguageGroup=15,1

[Identification]
    JoinWorkgroup=WORKGROUP

[Networking]
    InstallDefaultComponents=Yes

[GuiRunOnce]
  useraccounts.cmd
   "RunOnceEx.cmd"

cmdlines.txt
[COMMANDS]
useraccounts.cmd
"RunOnceEx.cmd"


#6 User is offline   oneless 

  • Advanced Member
  • PipPipPip
  • Group: Members
  • Posts: 374
  • Joined: 07-January 05

Posted 28 April 2005 - 12:12 PM

first at all , your UA_CD
copy your $OEM$ directory (which include your app's) on the system directory
so , your files must be addressed with corect pathes
like I do :

[GUIRunOnce]
    %systemdrive%\install\hotfixes\hotfixes.cmd
    %systemdrive%\install\main_batch.cmd
    %systemdrive%\install\applications.cmd


without " "

I make also this mistake .

also where is run <<cmdlines.txt>> ?

#7 User is offline   Tinywoods 

  • Member
  • PipPip
  • Group: Members
  • Posts: 140
  • Joined: 04-April 04

Posted 28 April 2005 - 01:25 PM

If you have a reg key. Following way is much easier. It was posed by a good guy but I do not remember his name,sorry. Of course, you need to use RunOnceEx.cmd if you want to run the exe after rebooting. In my case, I use WPI.

1. I assume you have WinRAR installed on your system. Download the original installer of WinRAR here.

2. Using WinRAR, extract the files of the SFX to an empty folder.

3. Copy your rarreg.key to that folder.

4. Select all files in that folder and select "Add to archive..".

5. In the "General" tab, select Best Compression, Create SFX, Create Solid Archive, Put Authenticity Verification, Put Recovery Record, and Lock Archive.

6. Click the comment tab, and paste this comment.

Title=WinRAR 3.50B3
Text
{
 <html>
 <body bgcolor="#ececec">
 <style>
  body {
   color: #000000;
   background-color: #ffffff;
   font-family: "MS Sans Serif";
   font-size: 12;
   scrollbar-3dlight-color:#f0f0f0;
   scrollbar-arrow-color:#f0f0f0;
   scrollbar-darkshadow-color:#909090;
   scrollbar-face-color:#909090;
   scrollbar-highlight-color:#f0f0f0;
   scrollbar-shadow-color:#f0f0f0
  }
  em {color: navy;  font-style: normal}
 </style>
 &nbsp;&nbsp; <b>WinRAR is a powerful archiver</b>. It
  provides complete support of <em><b>RAR</b></em> and
  <em><b>ZIP</b></em> files, unpacks <em>7Z</em>, <em>ACE</em>,
  <em>ARJ</em>, <em>BZ2</em>, <em>CAB</em>, <em>GZ</em>, 
  <em>ISO</em>, <em>JAR</em>, <em>LZH</em>, <em>TAR</em>,
  <em>UUE</em>, <em>Z</em>. Among WinRAR features are strong compression,
  volumes, encryption, self-extracting modules, backup
  facilities.<br><br>
 &nbsp;&nbsp; <b>WinRAR is shareware</b>. Anyone may use
  it during a test period of 40 days. Following this test
  period or less, if you wish to continue to use WinRAR,
  you must register.<br><br>
 &nbsp;&nbsp; <b>There are no additional license fees</b>, apart from
  the cost of registration, associated with the creation
  and distribution of RAR archives or self-extracting
  archives. Legally registered owners may use their copies
  of WinRAR to produce and distribute those archives free of
  any additional RAR royalties.<br><br>
 &nbsp;&nbsp; <b>WinRAR archiver is distributed as is</b>.
No warranty of any kind is expressed or implied. You use at your
own risk. Neither the author nor the agents of the author will be
liable for data loss, damages, loss of profits or any other kind
of loss while using or misusing this software.
 </body>
 </html>
}
Path=WinRAR
SavePath
Overwrite=1
Delete=*.lng
Delete=rarlng.dll
Delete=rarext.dll
Delete=register.frm
Delete=rar_site.txt
Delete=register.txt
Delete=order.txt
Delete=Dos.sfx
Delete=os2.sfx
Delete=Formats\ace.fmt
Delete=Formats\arj.fmt
Delete=Formats\cab.fmt
Delete=Formats\gz.fmt
Delete=Formats\lzh.fmt
Delete=Formats\tar.fmt
Delete=Formats\uue.fmt
Delete=Formats\bz2.fmt
Delete=Formats\iso.fmt
Delete=Formats\unacev2.dll
Delete=Formats\7z.fmt
Delete=Formats\7za.dll
Delete=Formats\z.fmt
Presetup=uninstall.exe /clean
Setup=uninstall.exe /setup


7. And the most important part, click "OK"

#8 User is offline   Bâshrat the Sneaky 

  • aka Wim Leers
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,214
  • Joined: 29-October 03
  • OS:none specified
  • Country: Country Flag

Posted 28 April 2005 - 01:27 PM

I think it has to be a CAPITAL S. That would be:

X:\path\WinRAR.exe /S


I believe that mattered in this case? Don't shoot me if I'm wrong!

#9 User is offline   pear 

  • Newbie
  • Group: Members
  • Posts: 15
  • Joined: 31-March 05

Posted 29 April 2005 - 05:01 AM

the program can't seem to find the file and says incorrect path or something to that effect.

1)Where must you copy the actual program (WinRar) in your file structure to get it to auto install after reboot? I have read and read but am a little slow I guess :)

2)Also if using RunOnceEx method, must I put something in my Wnnt.sif file, and if so what eactly to get WinRar to auto install?

I have my $OEM$ folder, which has my $1 folder , which has my Install folder,which has my Winrar folder, and that is where I put the actual complete Winrar program, is this correct?


$OEM$ (RunOnceEx.cmd and cmdlines.txt are inside this folder)
==>$1\Install\Winrar\Rar.exe
<{POST_SNAPBACK}>
[/quote]

#10 User is offline   Bâshrat the Sneaky 

  • aka Wim Leers
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,214
  • Joined: 29-October 03
  • OS:none specified
  • Country: Country Flag

Posted 29 April 2005 - 05:07 AM

Here you say it is the 'Install' folder while you said earlier it was the 'install' folder. Pay attention to capital characters!

#11 User is offline   pear 

  • Newbie
  • Group: Members
  • Posts: 15
  • Joined: 31-March 05

Posted 29 April 2005 - 05:26 AM

[quote name='Bâshrat the Sneaky' date='Apr 29 2005, 05:07 AM']
Here you say it is the 'Install' folder while you said earlier it was the 'install' folder. Pay attention to capital characters!
<{POST_SNAPBACK}>

/quote]

I will go back and check, I am not sure what I did :)

#12 User is offline   pear 

  • Newbie
  • Group: Members
  • Posts: 15
  • Joined: 31-March 05

Posted 29 April 2005 - 08:56 AM

This is the the error message I get after the computer reboots. I also changed /s to /S, but still didn't work.



C:\install\RunOnceEx.cmd

Windows cannot find "C:\install\RunOnceEx.cmd" Make sure you typed the name correctly, then try agian. To search for a file, click Start button, then click Search

#13 User is offline   MageJubi 

  • Junior
  • Pip
  • Group: Members
  • Posts: 69
  • Joined: 16-November 04

Posted 29 April 2005 - 09:23 AM

I see "Install" in one place, and "install" in another...it's the small stuff that'll give you a headache. Got to double check the spelling, caps, etc. in your R.O.E.--it's super easy to overlook a minor detail.

#14 User is offline   swampy 

  • Junior
  • Pip
  • Group: Members
  • Posts: 92
  • Joined: 26-January 04

Posted 29 April 2005 - 08:33 PM

Please show your cmdlines.txt
Windows shouldn't be looking for RunOnceEx.cmd in C:\install

#15 User is offline   Tinywoods 

  • Member
  • PipPip
  • Group: Members
  • Posts: 140
  • Joined: 04-April 04

Posted 30 April 2005 - 10:59 AM

I understand your points. See below site, then you will find answers for (1) and (2).

http://unattended.ms.../apps/intro.htm

http://unattended.ms...al/examples.htm


Why do not you use SFX.exe? It does not need any switches. Try it.
Make a WinRAR350B3.exe SFX file as I mentioned in my previous post.
In the following command, WinRAR350B3.exe is a SFX file.
RunOnceEx.cmd
ECHO.
ECHO Installing WinRAR 3.50B3
ECHO Please wait...
start /wait %systemdrive%\install\PowerToys\WinRAR350B3.exe


#16 User is offline   pear 

  • Newbie
  • Group: Members
  • Posts: 15
  • Joined: 31-March 05

Posted 02 May 2005 - 05:25 AM

[COMMANDS]
useraccounts.cmd
"RunOnceEx.cmd"


Here is my cmdlines.txt

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

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



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