September 21, 200520 yr I run a little .REG to disable the Security warning on a couple of programs. I am using the .REG in the "Registry before" line but it does not seem to take effect fast enough before the Application starts to install. IS there a way to make the install wait until the Registry setting is complete? If i manually run it before i install the app it works.Like adding a wait 10 seconds or something after the .reg runs.Registry before: regedit /S %systemdrive%\install\CWS_REMOVAL\DIS_SECWARN.regCommand 1:%systemdrive%\install\CWS_REMOVAL\aawsepersonal.exe /SRegistry after:regedit /S %systemdrive%\install\CWS_REMOVAL\ENA_SECWARN.regCode for DIS_SECWARN.reg (disables security warning for .exe files)Windows Registry Editor Version 5.00[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Associations]"LowRiskFileTypes"=".exe;"Code for ENA_SECWARN.reg:(enables security warning for .exe files)Windows Registry Editor Version 5.00[-HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Associations]BTW. this forum rocks.
October 10, 200520 yr You could add it into the WPI.cmd reg file that runs at startup.Does the reg file that WPI.cmd run re-enable the security warnings? Because I wouldn't want to leave .exe,.zip ,etc as lowrisk?
Create an account or sign in to comment