SCCM Package – Spartan 10

I’m making a series of posts describing the package creation process for the applications in my current lab image. This post is about Spartan 10.

References

General Info

Spartan obeys the /S switch. Pretty easy going.

Process

  1. Download the latest version of Spartan 10 from the above link.
  2. Extract the downloaded file “Spartan10V110Installer.exe” to C:\temp\spartan10.
  3. Create a script named “Make-Shortcuts_Spartan10.ps1″ that creates the Spartan 10 shortcuts. For help creating a shortcut script see my previous blog post “Creating Shortcuts for SCCM Packages“.
    Use the following parameters:
    Target Path: “C:\Program Files\Wavefunction\Spartan10v110\WF10gui64.exe”
    Name: “Spartan 10.lnk”
  4. Create a batch file named “Install-Spartan10.cmd” with the following contents. Note that the script also creates file associations. For some reason the installer didn’t do this automatically.
    REM Main Install
    Sp10V110.exe /S
    
    REM Shortcuts
    powershell -noprofile -command "& {$a = get-executionpolicy;If((get-executionpolicy) -ne 'Unrestricted'){set-executionpolicy unrestricted -force;}; .\Make-Shortcuts_Spartan10.ps1; set-executionpolicy $a}"
    del /q "C:\Users\Public\Desktop\Spartan '10 V1.1.0.lnk"
    rmdir /s /q "%allusersprofile%\microsoft\windows\start menu\programs\spartan '10 v1.1.0"
    
    REM File Associations
    assoc .spartan=SpartanDocument
    ftype SpartanDocument="C:\Program Files\Wavefunction\Spartan10v110\WF10gui64.exe" "%%1"
  5. Assemble the files into a single source folder then create a SCCM package and program. The program’s command line action should be “install-spartan10.cmd”. The following is a screen shot of my final source folder.

Keep going! You can make it! I should start using movie quotes to end my posts.

Advertisements

3 thoughts on “SCCM Package – Spartan 10

  1. Do you use Spartan with a network license manager? When we install with the /s switch it doesn’t give us the opportunity to specify the network HASP license manager and the client wants an activation code on launch.

  2. Pingback: Table of Contents | windowsmasher

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s