Jump to content

Recommended Posts

Posted

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


Posted

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) ?

Posted (edited)

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.

Edited by 5eraph
Posted

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

Posted

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

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.
×
×
  • Create New...