MSFN Forum: mutiple files in 1 addon - MSFN Forum

Jump to content



Last warning

1. This is not a warez site! Links/Requests to warez and/or 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. Any offenders of this rule may be banned on first violation. We take issues like this very seriously here at MSFN.
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

mutiple files in 1 addon Rate Topic: -----

#1 User is offline   b-man 

  • Member
  • PipPip
  • Group: Members
  • Posts: 199
  • Joined: 28-April 09

Posted 23 May 2009 - 01:51 AM

if i have 2 files the program and 1 self extracting archive can i add both to the same addonpack

also can i load a bat file from the addon how would i achieve this


#2 User is offline   -X- 

  • Member
  • Group: Patrons
  • Posts: 1,567
  • Joined: 08-January 04
  • OS:XP Pro x86
  • Country: Country Flag

Posted 23 May 2009 - 04:50 AM

I'm not sure I understand your questions. On the second one, I presume you mean you want to run a batch file during setup. Why not place your bat file in the $OEM$ folders (like $OEM$\$1\my.bat) and call it from GUIRunOnce (%SYSTEMDRIVE%\my.bat) ?

#3 User is offline   5eraph 

  • Update Packrat
  • Group: Supreme Sponsor
  • Posts: 762
  • Joined: 04-July 05
  • OS:XP Pro x64
  • Country: Country Flag

Posted 23 May 2009 - 06:07 AM

The answer is yes to both questions.

To execute a batch file from SvcPack.inf you must place the file in the SvcPack directory and execute it as you would any SvcPack installer.

This post has been edited by 5eraph: 23 May 2009 - 06:08 AM


#4 User is offline   b-man 

  • Member
  • PipPip
  • Group: Members
  • Posts: 199
  • Joined: 28-April 09

Posted 23 May 2009 - 09:10 PM

yeah dont know much about run once or batch files so hard to explain lol

i was more thinking if running a batch file in my addon could it be added to entries.ini or would i have to combine and create the 2 files as 1 switchless installer with the batch file being called from inside the installer

#5 User is offline   5eraph 

  • Update Packrat
  • Group: Supreme Sponsor
  • Posts: 762
  • Joined: 04-July 05
  • OS:XP Pro x64
  • Country: Country Flag

Posted 23 May 2009 - 09:35 PM

You don't need to combine them into a single installer unless you want to.

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