Jump to content

Recommended Posts

Posted

Im having difficulties in understanding how to use RunOnceEx and creating the target path. I read the following:

Installshield applications will fail to install when executed from RunOnceEx on CD, unless a log file location is specified. An example of this is shown below, adapt this example for your InstallShield applications (shown in bold):

REG ADD %KEY%\045 /VE /D "Kerio Personal Firewall 2.1.5" /f

REG ADD %KEY%\045 /V 1 /D "%CDROM%\apps\KPF\Setup.exe -s -f2\"%systemdrive%\kerio.log\"" /f

The address for the program i want to install is C:\WXPO\$OEM$\$1\drivers\000_ChipSet

within this folder i have an installshield file (setup.exe) that i want to execute so it would install my driver so used RunonceEx with the following command

Description Programfile

_______________________________________________________

Chipset driver %cdrom%\$OEM$\$1\drivers\000_ChipSet\

(it was %cdrom%\$OEM$\$1\drivers\000_ChipSet\SETUP.exe but for some reason it disappeared)

The quote above says

REG ADD %KEY%\045 /VE /D "Kerio Personal Firewall 2.1.5" /f

REG ADD %KEY%\045 /V 1 /D "%CDROM%\apps\KPF\Setup.exe -s -f2\"%systemdrive%\kerio.log\"" /f

Where does these lines go (after changing it to my program)?

Do i need to create some file and then save it some where?

Do i need to add anything to cmdlines.txt

thanks in advance


Posted

Everything in %cdrom%\$OEM$\$1 will get copied to your %SYSTEMDRIVE%. So if you wanted to run the setup included in %cdrom%\$OEM$\$1\drivers\000_ChipSet\SETUP.exe, in your runonce, that corresponds to %SYSTEMDRIVE%\drivers\000_ChipSet\SETUP.exe

If you are installing drivers though, I would look up the driver section of the winnt.sif. That would be your best bet on installing the drivers.

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