/build/static/layout/Breadcrumb_cap_w.png

How to make Windows Firewall Security alert silent using AutoIT?

HI All,

  I am working on IBM Lotus Quickr Connector. While installing this app following Windows firewall security alert is prompting.

 

Am using Auto It script to install it silently. The first installation is fine but if we uninstall and install the app for second time the installation process is not ending. In task manager the IBM_AutoIT.exe is still running. I am using the following code

$InstallCommand = @ScriptDir & "\Source\qkrconn.exe" & " /Install /quiet ADDLOCAL=WindowsExplorer,LotusNotes,MicrosoftOffice /NORESTART"
$pid = RunWait ($InstallCommand)

WinWaitActive("Authentication Required","","5")
  If WinExists("Authentication Required") Then
    Send("userid{TAB}")
    Send("password{Enter}")
  
  EndIf

Is there anything wrong in this code

Can anybody help me with this issue.

 

Thanks in Advance

 


2 Comments   [ + ] Show comments
  • I am only considering this information: "...The first installation is fine but if we uninstall and install the app for second time the installation process is not ending."

    The issue could be because you need a reboot after the uninstallation in order for the second attempt of instalallation to be successful.. - dj_xest 10 years ago
  • Even I reboot the machine same thing is happening - swetha539 10 years ago

Answers (2)

Posted by: darkhawktman 10 years ago
Green Belt
1

Maybe if you add a firewall exception for this via Group Policy this popup will never happen and keep your Autoit install from failing.

Posted by: rarao90 10 years ago
Senior Yellow Belt
0

netsh advfirewall firewall add rule name="My Application" dir=in action=allow program="C:\MyApp\MyApp.exe" enable=yes remoteip=157.60.0.1,172.16.0.0/16,LocalSubnet profile=domain

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ