Downloads:

761

Downloads of v 1.3.0.20170918:

520

Last Update:

19 Sep 2017

Package Maintainer(s):

Software Author(s):

  • Shane Croft

Tags:

Static-IP-Address Random-IP-Address DNS-Server IP-Address Static Random DNS admin

Simple Static IP

1.3.0.20170918 | Updated: 19 Sep 2017

Downloads:

761

Downloads of v 1.3.0.20170918:

520

Maintainer(s):

Software Author(s):

  • Shane Croft

Simple Static IP 1.3.0.20170918

Some Checks Have Failed or Are Not Yet Complete

1 Test Passing and 1 Failing Test


Validation Testing Passed


Verification Testing Failed

Details

To install Simple Static IP, run the following command from the command line or from PowerShell:

>

To upgrade Simple Static IP, run the following command from the command line or from PowerShell:

>

To uninstall Simple Static IP, run the following command from the command line or from PowerShell:

>

NOTE: This applies to both open source and commercial editions of Chocolatey.

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

  • Open Source or Commercial:
    • Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to https://chocolatey.org/api/v2. Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
    • You can also just download the package and push it to a repository Download

3. Enter your internal repository url

(this should look similar to https://chocolatey.org/api/v2)

4. Choose your deployment method:


choco upgrade ssip -y --source="'STEP 3 URL'" [other options]

See options you can pass to upgrade.

See best practices for scripting.

Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.

If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:


choco upgrade ssip -y --source="'STEP 3 URL'"
$exitCode = $LASTEXITCODE

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0
}

Exit $exitCode

- name: Ensure ssip installed
  win_chocolatey:
    name: ssip
    state: present
    version: 1.3.0.20170918
    source: STEP 3 URL

See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.

Coming early 2020! Central Managment Reporting available now! More information...


chocolatey_package 'ssip' do
  action    :install
  version  '1.3.0.20170918'
  source   'STEP 3 URL'
end

See docs at https://docs.chef.io/resource_chocolatey_package.html.


Chocolatey::Ensure-Package
(
    Name: ssip,
    Version: 1.3.0.20170918,
    Source: STEP 3 URL
);

Requires Otter Chocolatey Extension. See docs at https://inedo.com/den/otter/chocolatey.


cChocoPackageInstaller ssip
{
   Name     = 'ssip'
   Ensure   = 'Present'
   Version  = '1.3.0.20170918'
   Source   = 'STEP 3 URL'
}

Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.


package { 'ssip':
  provider => 'chocolatey',
  ensure   => '1.3.0.20170918',
  source   => 'STEP 3 URL',
}

Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.


salt '*' chocolatey.install ssip version="1.3.0.20170918" source="STEP 3 URL"

See docs at https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.chocolatey.html.

5. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

Private CDN cached downloads available for licensed customers. Never experience 404 breakages again! Learn more...

This package was approved by moderator flcdrg on 30 Sep 2017.

Description

At times there may be a reason you need to have your IP address set to static. A static IP is an IP address that never changes. By default peoples IP is dynamic which means it can change at any time. When port forwarding you forward to your local IP address, and if your IP changes your port forwarding will no longer work as it is not pointing to your new IP. This is the same for nearly all settings in a router that points to your computer, such as DMZ and logging. So to keep that from happening you need to set your IP to static so it never changes, then you no longer have to worry about your IP changing. (This should be done for computers behind a router) The process to set your IP can be intimidating if you have never done it before, that's why we provide this program to you, to make it simple.


tools\chocolateyinstall.ps1
$ErrorActionPreference = 'Stop'

$packageName = 'ssip'
$url = 'http://www.pcwintech.com/files/setups/Simple_Static_IP_v1.3.0_Setup.exe'
$checksum = '00bbe92bb807c6821ae78831dad1fdf8a6e2af0d547f2d01452e6971638fb211'
$toolsPath = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"

$packageArgs = @{
  packageName    = $packageName
  fileType       = 'exe'
  url            = $url
  silentArgs     = ''
  validExitCodes = @(0)
  checksum       = $checksum
  checksumType   = 'sha256'
}

Start-Process 'AutoHotkey' "$toolsPath\install.ahk"
Install-ChocolateyPackage @packageArgs
tools\chocolateyuninstall.ps1
$ErrorActionPreference = 'Stop'

$packageName = 'ssip'
$toolsPath = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"

$packageArgs = @{
  packageName    = $packageName
  fileType        = 'exe'
  silentArgs      = '"/U:C:\Program Files (x86)\Simple Static IP\Uninstall\uninstall.xml"'
  validExitCodes = @(0)
  File            = "C:\Windows\Simple Static IP\uninstall.exe"
}

Start-Process 'AutoHotkey' "$toolsPath\uninstall.ahk"
Uninstall-ChocolateyPackage @packageArgs
tools\install.ahk
#NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn  ; Enable warnings to assist with detecting common errors.
SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory.

Loop, %0%  ; For each parameter:
  {
    param := %A_Index%  ; Fetch the contents of the variable whose name is contained in A_Index.
    params .= A_Space . param
  }
ShellExecute := A_IsUnicode ? "shell32\ShellExecute":"shell32\ShellExecuteA"

if not A_IsAdmin
{
  If A_IsCompiled
    DllCall(ShellExecute, uint, 0, str, "RunAs", str, A_ScriptFullPath, str, params , str, A_WorkingDir, int, 1)
  Else
    DllCall(ShellExecute, uint, 0, str, "RunAs", str, A_AhkPath, str, """" . A_ScriptFullPath . """" . A_Space . params, str, A_WorkingDir, int, 1)
  ExitApp
}


Winahk = ahk_exe irsetup.exe

; Welcome Screen
WinWait, %Winahk%, &Help
ControlClick, &Next, %Winahk%

; Installation Folder
WinWait, %Winahk%, C&hange...
ControlClick, &Next, %Winahk%

; Shortcut Folder
WinWait, %Winahk%, Install shortcuts for current user only
sleep, 1000
ControlClick, Button4, %Winahk%
sleep, 1000
ControlClick, &Next, %Winahk%

; Ready To Install
sleep, 4000
WinWait, %Winahk%, &Cancel
ControlClick, &Next, %Winahk%

; Install Successfull
WinWait, %Winahk%, &Finish
ControlClick, &Finish, %Winahk%
tools\uninstall.ahk
#NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn  ; Enable warnings to assist with detecting common errors.
SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory.

Loop, %0%  ; For each parameter:
  {
    param := %A_Index%  ; Fetch the contents of the variable whose name is contained in A_Index.
    params .= A_Space . param
  }
ShellExecute := A_IsUnicode ? "shell32\ShellExecute":"shell32\ShellExecuteA"

if not A_IsAdmin
{
  If A_IsCompiled
    DllCall(ShellExecute, uint, 0, str, "RunAs", str, A_ScriptFullPath, str, params , str, A_WorkingDir, int, 1)
  Else
    DllCall(ShellExecute, uint, 0, str, "RunAs", str, A_AhkPath, str, """" . A_ScriptFullPath . """" . A_Space . params, str, A_WorkingDir, int, 1)
  ExitApp
}

Winahk = Simple Static IP Uninstaller

; Uninstall Simple Static IP
WinWait, %Winahk%, &Next >
ControlClick, &Next, %Winahk%

; uninstallation successfull
WinWait, %Winahk%, &Finish
ControlClick, &Finish, %Winahk%

Log in or click on link to see number of positives.

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Version Downloads Last Updated Status
Simple Static IP 1.3.0 241 Friday, August 25, 2017 Approved
Discussion for the Simple Static IP Package

Ground Rules:

  • This discussion is only about Simple Static IP and the Simple Static IP package. If you have feedback for Chocolatey, please contact the Google Group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or Simple Static IP, or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.
comments powered by Disqus