Jump to content
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble

MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, register and become a site sponsor/subscriber and ads will be disabled automatically. 


Sign in to follow this  
shorterxp

Make self-extracting archive run uncontained installer?

Recommended Posts

Hi all

This one's tricky,

 

I have self extracting archive and the program inside depends on a runtime.

Aiming for an unattended installation of both should the user choose to install the program, if not the runtime installer resides in another easy to find directory anyway. Duplicating the same runtime inside the archive wastes space.

 

Source is read only mandating intermediate copying (temp folder).

As working directory is now temporary folder, the source directory is disregarded.

Otherwise I would simply use command ..\ to locate runtime installer.

 

WinRAR SFX does provide "Run before extraction" but it disregards source directory in 'TempMode'.

As the source could be USB or DVD, a static variable can't be used in commands executed from temp folder.

 

Does SFX.exe have modifiable script? (that differs to whats offered in GUI)?

If so, could modify SFX.exe in someway to append a command, (using ..\ to locate installer).

 

Out of curiosity really, I could duplicate the files but that'd seem too ... unprofessional.

Edited by shorterxp

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...