January 11, 200521 yr 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" /fREG ADD %KEY%\045 /V 1 /D "%CDROM%\apps\KPF\Setup.exe -s -f2\"%systemdrive%\kerio.log\"" /fThe address for the program i want to install is C:\WXPO\$OEM$\$1\drivers\000_ChipSetwithin 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 commandDescription 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" /fREG ADD %KEY%\045 /V 1 /D "%CDROM%\apps\KPF\Setup.exe -s -f2\"%systemdrive%\kerio.log\"" /fWhere 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.txtthanks in advance
January 12, 200521 yr 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.exeIf 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