MSFN Forum: WinRAR SFX "wait / timout" help - 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 SFX "wait / timout" help Rate Topic: -----

#1 User is offline   thedayismine 

  • Group: Members
  • Posts: 1
  • Joined: 22-October 12
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 22 October 2012 - 05:37 AM

Hello,
I'm creating a basic WinRAR self-executable
This is my code:

Setup=STB.exe
Setup=SJ.exe
TempMode
Silent=1
Overwrite=1


Problem:
I need it to first start "STB.exe" and then wait about 10-12 seconds for the program to load, and then subsequently begin SJ.exe
Right now it runs them both at the same time.

Any way to do this?

Thank you for reading, =)


#2 User is offline   Sp0iLedBrAt 

  • MSFN Addict
  • Group: Supreme Sponsor
  • Posts: 1,710
  • Joined: 19-March 09
  • OS:XP Pro x86
  • Country: Country Flag

Posted 22 October 2012 - 06:06 AM

Maybe something along the lines of this http://www.msfn.org/...ms/#entry952677

#3 User is offline   skavenger 

  • Master of Tools
  • Pip
  • Group: Members
  • Posts: 55
  • Joined: 19-October 05
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 06 November 2012 - 08:09 AM

Just create a small Batch-file like this:

@echo off
start /wait STB.exe
start /wait SJ.exe

Save it as install.bat, add it to your SFX and use this as Setup.

#4 User is offline   maddyrox 

  • Group: Members
  • Posts: 6
  • Joined: 01-December 12
  • OS:none specified
  • Country: Country Flag

Posted 04 January 2013 - 01:18 PM

Can we create SFX using Winrar, which can throw error based on system architecture?

Suppose, a program has to be installed in C:\Program Files (x86) and user changed the extraction path to C:\Program Files, I want that extraction in this case should throw error, as my program should not get installed in this directory ....C:\Program Files....


Can somebody help me in this?

#5 User is offline   skavenger 

  • Master of Tools
  • Pip
  • Group: Members
  • Posts: 55
  • Joined: 19-October 05
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 06 January 2013 - 05:08 AM

View Postmaddyrox, on 04 January 2013 - 01:18 PM, said:

Can we create SFX using Winrar, which can throw error based on system architecture?

Suppose, a program has to be installed in C:\Program Files (x86) and user changed the extraction path to C:\Program Files, I want that extraction in this case should throw error, as my program should not get installed in this directory ....C:\Program Files....


Hm, i not really know. what you want.

Why can the users change the extraction-path?
If you want to extract your prog always to c:\program files - set this path as target in advanced sfx-settings in WinRAR and that's it.

But please remember: 'c:\program files (x86)' exists on win x64 machines only.

The better way to extract your program always to the right path is to use system-variables like %programfiles%.

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 - 2013 msfn.org
Privacy Policy