Tag Archives: Installer

Stata – Creating an Installer

Creating an installer for the various versions of Stata:

On Windows:

  • 1) After installing and keying the correct version on a test PC, collect the keyed application and the “stata.lic” file (these are both different for each variant, IC, SE, MP)
  • 2) Place copies of those in the ./payload/wclicense/ folder in the installer directory
  • 3) Change the command in the “Install-RightClick-Run as Admin.bat” file to reflect the correct version.
 ./setupstata15.exe /qn /ADDLOCAL=Ado,Core,StataIC64
 or
 ./setupstata15.exe /qn /ADDLOCAL=Ado,Core,StataSE64

On MacOS:
Everything is contained within the Stata Folder in the applications folder.

  • 1) Install the correct version
  • 2) Key the app
  • 3) Package the Stata folder with “Packages”
  • 4) Zip the package and distribute

JMP – Creating an Installer

Creating an installer to distribute JMP

On MacOS:

  • 1) Install application
  • 2) License application (creates “jmp.per file” in /Users/labadmin/Library/Application Support/JMP/ )
  • 2) Key application
  • 3) Package keyed application and the /Library/Application Support/JMP/ folder
  • 4) Create a folder that contains:
    • Packaged installer
    • jmp.per file from user’s space above
    • Readme file to install (see previous year)
  • 5) Create a compressed disk image from that folder using disk utility (results in a .dmg file)
  • 6) Compress the .dmg file
  • 7) Post the zipped .dmg file

On Windows:
The “jmp.per” file can be included in the same folder as the “setup.exe” file.

Windows – Self-extracting installer with auto-install

With the application WinRar from: http://www.rarlab.com/

Select files, right click and select Add to Archive
Use Browse.. to create the archive in the folder above
Change Archive Format to Zip
Enable Create Archive Format
Select Advanced tab
Select SFX Options
Select Setup tab
Enter setup.exe or msiexec /i xxx.msi into the Run after Extraction field ( No quotes or other stuff … )
Select Modes tab
Enable Unpack to temporary folder
Select text and Icon tab
Enter a more appropriate title for your task
Select OK
Select OK

This was mostly swiped from the bottom of:
http://stackoverflow.com/questions/27904532/how-do-i-make-a-self-extract-and-running-installer

Mac – Using Install command line to install packages

Some software can not be installed on the master image computer because it needs to be uniquely installed on each clone.  So rather then have to copy packages to each clone after imaging, why not put the packages in a known location and then call the installer remotely using the command like:


installer
-pkg /Users/labadmin/Desktop/post/Sophos_10.mpkg -target /

 

See the complete man page at:

https://developer.apple.com/library/mac/documentation/darwin/reference/manpages/man8/installer.8.html

Software – OIT installers web site

To update installers on the OIT Software web site …

1) Add the installers to:
\\wp-dev1
Installers are stored in the “Software Uploads” directory structure.

Note: This server is currently accessible from AD joined Lab computers because those have the NTLM security level lowered already by Group Policy. The AD account you use to log into a lab computer will also have to be authorized on this server.

For other computers,you may need to decrease your LAN Manager (NTLM) security level. This is done in your “local security policies” . Here is one of many web sites that explains how to set the NTLM security level: https://technet.microsoft.com/en-us/library/jj852207(v=ws.11).aspx

2) Login into WordPress at:
http://it.williams.edu/wp-login.php

3) Connect to the Software Admin page at:
http://oit.williams.edu/software-admin/