This website uses cookies. By clicking OK, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Harshala
Pilgrim
Feb 24, 2016
03:20 AM
We have created Custom folder in %Appdata% using InstallShield 2015 at the time of installation. In this multiple files are created while we run application using created shortcut. How to remove CustomFolder from AppData at the time uninstallation using InstallShield 2015's Basic .msi project.
... View more
Labels
Nov 16, 2015
06:45 AM
Thanks for the Reply. But we have written script in powershell. Please find below code...! $port1 = New-Object -ComObject HNetCfg.FWOpenPort $port2 = New-Object -ComObject HNetCfg.FWOpenPort $port3 = New-Object -ComObject HNetCfg.FWOpenPort $port4 = New-Object -ComObject HNetCfg.FWOpenPort $port5 = New-Object -ComObject HNetCfg.FWOpenPort $port1.Port = 55007 $port1.Protocol = 6 $port2.Port = 55008 $port2.Protocol = 6 $port3.Port = 55004 $port3.Protocol = 17 $port3.Direction = 2 $port4.Port = 43440 $port4.Protocol = 6 $port5.Port = 43440 $port5.Protocol = 17 $port5.Direction = 2 $port1.Name = 'MA' # name of Port $port1.Enabled = $true $port2.Name = 'MA' # name of Port $port2.Enabled = $true $port3.Name = 'MA' # name of Port $port3.Enabled = $true $port4.Name = 'MA' # name of Port $port4.Enabled = $true $port5.Name = 'MA' # name of Port $port5.Enabled = $true $fwMgr = New-Object -ComObject HNetCfg.FwMgr $profiledomain=$fwMgr.LocalPolicy.CurrentProfile $profiledomain.GloballyOpenPorts.Add($port1) $profiledomain.GloballyOpenPorts.Add($port2) $profiledomain.GloballyOpenPorts.Add($port3) $profiledomain.GloballyOpenPorts.Add($port4) $profiledomain.GloballyOpenPorts.Add($port5) But in above code "$port5.Direction = 2" is not working. Could you please help me to create/open firewall port in outbound rules using above code? Thanks
... View more
Nov 06, 2015
05:16 AM
We have created powershell script to open/enable outbound firewall ports instead of executing .bat file using Installshield 2015 professional edition. When we execute .bat file it will command prompt(i.e. Black window). We have created powershell script to hide command prompt window. But, rules are not created in outbound it always created in inbound rules. Could you please anyone tell me how to created outbound ports using powershell script? Thanks
... View more
Labels
Latest posts by Harshala
Subject | Views | Posted |
---|---|---|
884 | Feb 24, 2016 03:20 AM | |
715 | Nov 16, 2015 06:45 AM | |
1921 | Nov 06, 2015 05:16 AM |
Activity Feed
- Posted Remove Custom folder from AppData on InstallShield Forum. Feb 24, 2016 03:20 AM
- Posted Re: Enable/open outbound firewall ports using powershell script on InstallShield Forum. Nov 16, 2015 06:45 AM
- Posted Enable/open outbound firewall ports using powershell script on InstallShield Forum. Nov 06, 2015 05:16 AM
Contact Me
Online Status |
Offline
|
Date Last Visited |
Mar 18, 2019
12:10 PM
|