Welcome to MSFN

Register now to gain access to all of our features. Once registered and logged in, you will be able to contribute to this site by submitting your own content or replying to existing content. You'll be able to customize your profile, receive reputation points as a reward for submitting content, while also communicating with other members via your own private inbox, plus much more! This message will be removed once you have signed in.


thedayismine

WinRAR SFX "wait / timout" help

5 posts in this topic

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, =)

0

Share this post


Link to post
Share on other sites

Maybe something along the lines of this

0

Share this post


Link to post
Share on other sites

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.

0

Share this post


Link to post
Share on other sites

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?

0

Share this post


Link to post
Share on other sites

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%.

0

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.