Guys,


HTA issue again...sorry. I'm able to pass my variables for my computer name, 
however, when it comes to the applications they aren't passing from what I can 
tell. Any help would be appreciated. Just FYI, my variables I'm passing starts 
with OSD<app name>.



<head>
<title>SCCM Deployment</title>
<HTA:APPLICATION
     APPLICATIONNAME="SCCM Deployment"
     SCROLL="yes"
     SINGLEINSTANCE="yes"
></head>

<SCRIPT LANGUAGE="VBScript">

Sub Window_OnLoad
                window.resizeTo 700,700
                window.focus()
End Sub

Sub ButtonFinishClick

    SET env = CreateObject("Microsoft.SMS.TSEnvironment")

' Set value of variables that will be used by the task sequence, then close the 
window and allow the task sequence to continue.
        Dim SiteCode
  Dim OSDanyconnectv3
  Dim OSDsnare
  Dim OSDibmas400full
  Dim OSDOffice2007
  Dim OSDOffice2010
  Dim OSDspdesigner2010
  Dim OSDtripwire

  env("QTDept") = drop_dept.value
        env("QTLoca") = drop_loca.value
  env("QTOS") = drop_os.value
        env("QTPrimaryUser") = drop_type.value
        env("QTUserName") = username.value

 If anyconnectv3.checked Then
  env("OSDanyconnectv3") = "true"
    End If
 If snare.checked Then
  env("OSDsnare") = "true"
    End If
 If ibmas400full.checked Then
  env("OSDibmas400full") = "true"
    End If
 If Office2007.checked Then
  env("OSDOffice2007") = "true"
    End If
 If Office2010.checked Then
  env("OSDOffice2010") = "true"
    End If
 If spdesigner2010.checked Then
  env("OSDspdesigner2010") = "true"
    End If
 If tripwire.checked Then
  env("OSDtripwire") = "true"
    End If

'Closes window
window.Close
End Sub

</SCRIPT>
</BODY><body style="background-image:url(images/bg_home-blur.jpg); 
background-repeat:repeat; background-attachment:fixed; background-position:top; 
font-family: Arial,Helvetica,sans-serif; font-size: 0.75em;">
<div id="content_wrapper" style="display: inline-block; position: relative; 
vertical-align: middle; margin: 30px; padding: 25px; width:670px;">
 <table border="0" cellpadding="20px"  cellspacing="10px">
  <tr>
   <td rowspan="4" valign="top" style="background-color:#FFFFFF; 
margin-top:15px;">
    <img  border="0" alt="QuikTrip" src="images/logo.png">
   </td>
   <td style="background-color:#FFFFFF;">
    <font style="color: #FF0000; font-size: 18px;">QuikTrip SCCM 
Deployment</font></td>
   </td>
  </tr>
  <tr>
   <td style="background-color:#FFFFFF;">
    <table valign="top" style="background-color:#FFFFFF;">
     <tr>
      <td colspan="2">
       <b>Computer to Install To:</b>
      </td>
     </tr>
     <tr>
      <td align="right">Department:</td>
      <td><select size="1" name="drop_dept">
       <option value="A">Corp Building A</option>
       <option value="B">Corp Building B</option>
       <option value="C">Corp Building C</option>
       <option value="DIV">Division Office</option>
       <option value="FS">Facilities Support</option>
       <option value="QTD">QT Distribution</option>
       <option value="QTK">QT Kitchen</option>
       </select>
      </td>
     </tr>
     <tr>
      <td align="right">Location:</td>
      <td><select size="1" name="drop_loca">
       <option value="1">Floor 1</option>
       <option value="2">Floor 2</option>
       <option value="3">Floor 3</option>
       <option value="7">Atlanta</option>
       <option value="81">Charlotte/Greenville</option>
       <option value="8">Dallas</option>
       <option value="4">Des Moines</option>
       <option value="2">KC Area</option>
       <option value="5">Phoenix/Tucson</option>
       <option value="6">St. Louis</option>
       <option value="1">Tulsa</option>
       <option value="3">Wichita</option>
       </select>
      </td>
     </tr>
         <tr>
                           <td><font color="282828">Workstation OS:</font></td>
                           <td><select size="1" name="drop_os">
                              <option value="W7">Windows 7</option>
                              <option value="W8">Windows 8</option>
                             </select>
                                </td>
                </tr>
     <tr>
      <td align="right">Workstation Type:</td>
      <td>
       <select size="1" name="drop_type">
       <option value="FALSE">Shared</option>
       <option value="TRUE">Assigned</option>
       </select>
      </td>
     </tr>
     <tr>
      <td align="right">User Name:</td>
      <td><input id=username type=text maxlength=8></input></td>
     </tr>
     </table>
    </td>
   </tr>
   <tr>
    <td style="background-color:#FFFFFF;">
     <table valign="top" style="background-color:#FFFFFF;">
     <tr>
      <td>
       <b>Applications to Install:</b>
      </td>
     </tr>
     <tr>
      <td>
       <ul style="list-style-type: none; padding: 0px; margin: 0px;">
       <li><input type="checkbox" name="anyconnectv3"> Cisco AnyConnect 
v3</input></li>
       <li><input type="checkbox" name="snare"> Cisco Snare v4</input></li>
       <li><input type="checkbox" name="ibmas400full"> IBM AS-400 Full V6r1 
</input></li>
       <li><input type="checkbox" name="Office2007"> MS Office 2007 
</input></li>
       <li><input type="checkbox" name="Office2010"> MS Office 2010 
</input></li>
       <li><input type="checkbox" name="spdesigner2010"> MS SharePoint Designer 
2010 </input></li>
       <li><input type="checkbox" name="tripwire"> Tripwire </input></li>
       </ul>
      </td>
     </tr>
     </table>
    </td>
   </tr>
   <tr>
    <td style="background-color:#FFFFFF;" align="right">
     <input style="border: 1 solid #666666; border-radius:10px; display: block; 
font-size: 10px; height: 32px; line-height: 10px; margin: 10px; overflow: 
hidden; color:#666666; width: 110px;" id=runbutton type="button" value="FINISH" 
name="run_button"  onClick="ButtonFinishClick">
    </td>
   </tr>
  </table>
</div>


This e-mail is intended solely for the person or entity to which it is addressed
and may contain confidential and/or privileged information. Any review, 
dissemination,
copying, printing or other use of this e-mail by persons or entities other than 
the 
addressee is prohibited. If you have received this e-mail in error, please 
contact
the sender immediately and delete the material from any computer.
To unsubscribe send an email to: [email protected] 
Hitachi Consulting Corporation, 14643 Dallas Parkway, Suite 800, Dallas, Texas 
75254 (HCAD0411)

</body>


Reply via email to