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.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...