MSFN Forum: Running multiple programs after 7zSD SFX - 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

Running multiple programs after 7zSD SFX Error ,How to Rate Topic: -----

#1 User is offline   Chumbawamba 

  • Group: Members
  • Posts: 1
  • Joined: 15-January 13
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 15 January 2013 - 05:29 PM

I saw Q&As in this forum about 7zip and the 7zSD sfx module, so i though this a good place to ask.
so im making a tool that launches 2 portable apps that have folders with the app data inside.

So i have the 2 folders with their programs inside and a Run.cmd file parent of those which is something like this;
@echo off
start Portable1.exe && start Portable2.exe
exit


then my exe.cmd is
@echo off
copy /b 7zsd.sfx + config.txt + Tool.7z Tool.exe
echo.
pause


then my config file is
;!@Install@!UTF-8!
Title="Tool"
RunProgram="hidcon:Run.cmd"
GUIMode="8"
;!@InstallEnd@!


this all works fine to a point when it tries to Run the second .exe it says it cannot locate one of its files within the apps folder. when i look in the temporary folder the files haven't been extracted.
so for test purposes i try each file separately like so
;!@Install@!UTF-8!
Title="Tool"
RunProgram="portable1/portable1.exe"
GUIMode="8"
;!@InstallEnd@!

and
;!@Install@!UTF-8!
Title="Tool"
RunProgram="portable2/portable2.exe"
GUIMode="8"
;!@InstallEnd@!


and both run and when i check all files have been extracted.
it seems if i use any .bat or .cmd file then all the files do not extract correctly.
i think this may have something to do with the cmd executing too fast for the install to finish.
ive also tried with pause and nowait: functions without any luck.

Any help would be greatly appreciated, thanks.


Share this topic:


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

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



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