clivebuckwheat Posted June 28, 2010 Share Posted June 28, 2010 (edited) All my Installations are being called from a network share, and all the installs work perfectly yet, how can I get rid of the security warnings for open files so the installs can go through without user intervention?. I calling a mixture of msi's and exe's if that makes a difference.I found the regkeys to turn it off but I get an error when this is in my cmd file. What could the problem be with this?REG ADD %KEY%\005 /VE /D "Turning Off Open File Security Warning" /fREG ADD %KEY%\005 /V 1 /D "REGEDIT /S z:\SecurityWarningsOff.reg" /f Edited June 28, 2010 by clivebuckwheat Link to comment Share on other sites More sharing options...
myselfidem Posted June 29, 2010 Share Posted June 29, 2010 Maybe you can try this reg file:Windows Registry Editor Version 5.00[HKEY_CURRENT_USER\Software\Policies\Microsoft\Windows\Installer]"AlwaysInstallElevated"=dword:00000001 Link to comment Share on other sites More sharing options...
clivebuckwheat Posted June 30, 2010 Author Share Posted June 30, 2010 Thank you sir will do. I'll let you know. Link to comment Share on other sites More sharing options...
cluberti Posted July 2, 2010 Share Posted July 2, 2010 Link to comment Share on other sites More sharing options...
clivebuckwheat Posted July 2, 2010 Author Share Posted July 2, 2010 why isn't this regkey import no working, via the RunOnceEx.cmdif I double click it manually it works and all the installs go with no prompting. Do I have the syntax wrong for the regedit import via the RunOnceEx.cmd?@ ECHO OFFREG ADD HKLM\SOFTWARE\MICROSOFT\WINDOWS\CURRENTVERSION\RunOnceExSET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Installing Applications & Settings" /fREG ADD %KEY%\001 /VE /D "Mapping Network Drive" /fREG ADD %KEY%\001 /V 1 /D "NET USE Z: \\192.168.1.209\Installations password /USER:Robw" /fREG ADD %KEY%\001 /V 2 /D "REGEDIT /S z:\swo.reg" /fREG ADD %KEY%\010 /VE /D "Installing FireFox 3.64" /fREG ADD %KEY%\010 /V 1 /D "z:\Firefox\Firefox364.exe -ms" /fREG ADD %KEY%\015 /VE /D "Installing Java 6 Update 20" /fREG ADD %KEY%\015 /V 1 /D "z:\Java6U20\jre-6u20-windows-i586-s.exe /s /v /qn ADDLOCAL=ALL IEXPLORER=1 MOZILLA=1 SYSTRAY=0 JAVAUPDATE=0 REBOOT=Suppress" /fREG ADD %KEY%\020 /VE /D "Installing Flash Player" /fREG ADD %KEY%\020 /V 1 /D "z:\FlashPlayer\install_flash_player_10_active_x.msi /qn" /fREG ADD %KEY%\020 /V 2 /D "z:\FlashPlayer\install_flash_player_10_plugin.msi /qn" /fREG ADD %KEY%\025 /VE /D "Installing Shockwave Player" /fREG ADD %KEY%\025 /V 1 /D "z:\ShockwavePlayer\sw_lic_full_installer.msi /qn" /fREG ADD %KEY%\030 /VE /D "Installing CCleaner 2.33" /fREG ADD %KEY%\030 /V 1 /D "z:\CCleaner\ccleaner_slim_233.exe /silent" /fREG ADD %KEY%\035 /VE /D "Installing FileZilla 3.3.3" /fREG ADD %KEY%\035 /V 1 /D "z:\FileZilla\FileZilla_3.3.3_win32-setup.exe /S" /fREG ADD %KEY%\040 /VE /D "Install GomPlayer" /fREG ADD %KEY%\040 /V 1 /D "z:\GomPlayer\GOMPLAYERENSETUP.EXE /S" /fREG ADD %KEY%\045 /VE /D "Installing ImgBurn" /fREG ADD %KEY%\045 /V 1 /D "z:\ImgBurn\imageburnsetup.exe /S" /fREG ADD %KEY%\045 /V 2 /D "REGEDIT /S z:\Imgburn\imgburnsettings.reg" /fREG ADD %KEY%\050 /VE /D "Installing Itunes-Quicktime" /fREG ADD %KEY%\050 /V 1 /D "z:\Itunes64Setup\AppleApplicationSupport.msi /qn" /fREG ADD %KEY%\050 /V 2 /D "z:\Itunes64Setup\AppleMobileDeviceSupport64.msi /qn" /fREG ADD %KEY%\050 /V 3 /D "z:\Itunes64Setup\AppleSoftwareUpdate.msi /qn" /fREG ADD %KEY%\050 /V 4 /D "z:\Itunes64Setup\Quicktime.msi /qn" /fREG ADD %KEY%\050 /V 5 /D "z:\Itunes64Setup\Bonjour64.msi /qn" /fREG ADD %KEY%\050 /V 6 /D "z:\Itunes64Setup\iTunes64.msi /qn" /fREG ADD %KEY%\055 /VE /D "Installing Adobe Reader 9.3.1" /fREG ADD %KEY%\055 /V 1 /D "z:\Reader931\AdbeRdr930_en_us.msi /qn" /fREG ADD %KEY%\055 /VE /D "Installing VLC 1.1.0" /fREG ADD %KEY%\055 /V 1 /D "z:\VLC\vlc-1.1.0-win32.exe /S" /fREG ADD %KEY%\090 /VE /D "Installing Microsoft Office 2010" /fREG ADD %KEY%\090 /V 1 /D "z:\Office14\setup.exe /adminfile Office2010Full.MSP" /fREG ADD %KEY%\090 /V 2 /D "REGEDIT /S z:\Office14\Excel-Add-ins.reg" /fcontains of swo.regWindows Registry Editor Version 5.00[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\Associations]"LowRiskFileTypes"=".exe;.bat;.reg;.vbs;.msi;.cmd;" Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now