Jump to content

Calling ALL wpi mods!


Recommended Posts


Feature: LaunchInf

In ConfigWizard.js

Below

			CommandsMenuBar.addNewChild("cmd_system", 3, "dos_instinf", "InstINF", false, "", "");

add

			CommandsMenuBar.addNewChild("cmd_system", 4, "dos_launchinf", "LaunchInf", false, "", "");

Below

		case 'dos_instinf':
HandleCommandsSelectionMenu("{INSTINF} ");
break;

add

		case 'dos_launchinf':
HandleCommandsSelectionMenu("{LAUNCHINF} ");
break;

Replace

			if (document.getElementById("cmd1").value.substr(0,9)=="{INSTINF}")

with

			if (document.getElementById("cmd1").value.substr(0,9)=="{INSTINF}" || document.getElementById("cmd1").value.substr(0,9)=="{LAUNCHINF}")

In Installer.js

Below

			case '{INSTINF}':
cmd=("CMD /C "+cmd.replace(/{INSTINF}/gi,'rundll32.exe setupapi,InstallHinfSection DefaultInstall 132'));
fsoCmd=true;
break;

add

			case '{LAUNCHINF}':
cmd=("CMD /C "+cmd.replace(/{LAUNCHINF}/gi,'rundll32.exe advpack.dll,LaunchINFSection'));
fsoCmd=true;
break;

Link to comment
Share on other sites

  • 1 month later...

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