tag:blogger.com,1999:blog-8795498742679938772.post4785946716598500932..comments2020-05-04T03:57:02.140-07:00Comments on Techo 3000: Tick box HTA in a SCCM Task Sequence?halcoberryhttp://www.blogger.com/profile/15243465759264938277noreply@blogger.comBlogger13125tag:blogger.com,1999:blog-8795498742679938772.post-15751919819893494282016-08-25T10:07:22.230-07:002016-08-25T10:07:22.230-07:00Can anyone help me how to get OSD Menu like adding...Can anyone help me how to get OSD Menu like adding machine to OU and User details in the AD computer description during the TS OSD ?<br />Naren Karthikhttps://www.blogger.com/profile/15314744167823131394noreply@blogger.comtag:blogger.com,1999:blog-8795498742679938772.post-81525215842654023832013-09-26T00:22:27.479-07:002013-09-26T00:22:27.479-07:00Not a problem EmmoD!
Glad it helped you out.Not a problem EmmoD!<br /><br />Glad it helped you out.halcoberryhttps://www.blogger.com/profile/15243465759264938277noreply@blogger.comtag:blogger.com,1999:blog-8795498742679938772.post-52374376520973881042013-09-12T10:43:21.997-07:002013-09-12T10:43:21.997-07:00I ran the script and it showed the correct variabl...I ran the script and it showed the correct variable set to true. <br /><br />It turned out it was the office package. I recreated it and it is now installing successfully. Many thanks for this it has saved us doubling up on separate ts for office std and pro.EmmoDhttps://www.blogger.com/profile/11143479483219815020noreply@blogger.comtag:blogger.com,1999:blog-8795498742679938772.post-69756731876258753292013-09-11T20:56:03.601-07:002013-09-11T20:56:03.601-07:00Hi Emma,
Once you have selected the tickbox and h...Hi Emma,<br /><br />Once you have selected the tickbox and hit the install button you can try running the script below<br />Dim oVar, oTSEnv<br /><br />Set oTSEnv = CreateObject("Microsoft.SMS.TSEnvironment")<br /><br />For Each oVar In oTSEnv.GetVariables<br /><br />WScript.Echo " "& oVar & "=" & oTSEnv(oVar)<br /><br />Next<br /><br />to display if the variable is set<br /><br />If the Variable is set in the echo, then the problem is that the package has not had the variable check done on it.<br /><br />if its not set, then there is something wrong in the HTA script.halcoberryhttps://www.blogger.com/profile/15243465759264938277noreply@blogger.comtag:blogger.com,1999:blog-8795498742679938772.post-41603149789523664462013-09-11T17:08:20.363-07:002013-09-11T17:08:20.363-07:00Hi,
I have created a task sequence to boot into Wi...Hi,<br />I have created a task sequence to boot into WinPE and the hta launches sucesfully. I have left the hta and script untouched and added the variable OSDOffice2010 equals true to my Office 2010 package. After selecting Office 2010 and pressing finish it never installs. I do not have any other variables set. <br />Would you know why Office is not installing. The package is ok as it normally installs fine in other task sequences.EmmoDhttps://www.blogger.com/profile/11143479483219815020noreply@blogger.comtag:blogger.com,1999:blog-8795498742679938772.post-29140704338550090292013-04-03T05:30:09.203-07:002013-04-03T05:30:09.203-07:00Yes, that is correct. multiple programs - one pack...Yes, that is correct. multiple programs - one package. Each program has a specific cmd line install that has db info, server, etc. Thanks for the reply, I will check try that out.Anonymoushttps://www.blogger.com/profile/16105835156291706141noreply@blogger.comtag:blogger.com,1999:blog-8795498742679938772.post-72208530364688215392013-04-02T20:19:05.130-07:002013-04-02T20:19:05.130-07:00If I am reading your question right, you have mult...If I am reading your question right, you have multiple programs to install in a single program package that you have separate run programs for each piece of software?<br /><br />if that is the case you add the program package multiple times to the TS and select a different run for each package you have added. You can also use the same variable check that you set with the tick boxes on multiple programs if you would like or, as I have done, create a folder in the TS and place all the programs you would like to run and add the variable check on the folder that contains all the programs.<br /><br />hope that helpshalcoberryhttps://www.blogger.com/profile/15243465759264938277noreply@blogger.comtag:blogger.com,1999:blog-8795498742679938772.post-73787671730229671142013-04-02T11:03:07.127-07:002013-04-02T11:03:07.127-07:00Interesting, thanks so much for sharing this. Are ...Interesting, thanks so much for sharing this. Are there any options if there are multiple programs that you want to install separately in a software package? Anonymoushttps://www.blogger.com/profile/16105835156291706141noreply@blogger.comtag:blogger.com,1999:blog-8795498742679938772.post-44911341123434306682013-03-11T13:23:38.025-07:002013-03-11T13:23:38.025-07:00Daniel,
Thanks for your reply.
I found my error...Daniel,<br /><br />Thanks for your reply. <br /><br />I found my error a few days back. In my testing I had actually commented out all of the lines where the variables were being set in the environment. Felt like a bit of an idiot when I went back and saw that in the package. <br /><br />Thanks. Gary Sandhuhttps://www.blogger.com/profile/08642402763026997547noreply@blogger.comtag:blogger.com,1999:blog-8795498742679938772.post-86792768914504622312013-03-06T16:41:22.815-08:002013-03-06T16:41:22.815-08:00Hi Gary,
From my understanding you can create TS ...Hi Gary,<br /><br />From my understanding you can create TS Variables directly in the HTA Script just like I have done above.<br />More so I actually re-created this same system in SCCM 2012 and it worked exactly the same way.<br /><br />Are you launching the HTA page manually?<br />if you are you will need to make sure you launch the page AFTER the TS has actually started rather than at the TS selection page. The TS variables are only saved once the Sequence has been started thus if they are started at the selection page they will be cleared when you start the TS.<br /><br />also I know it seems in the script that I have doubled up on variables but unless the variable is specifically set as environment variable it will not be set in the TS such as<br /><br /> env("OSDOffice2010") = strOffice2010<br /><br />also if you want to see if the variables are set, you can make and run the following VBS script to see what variables are set which should help you narrow the problem down.<br /><br />Dim oVar, oTSEnv<br /><br />Set oTSEnv = CreateObject("Microsoft.SMS.TSEnvironment")<br /><br />For Each oVar In oTSEnv.GetVariables<br /><br />WScript.Echo " "& oVar & "=" & oTSEnv(oVar)<br /><br />Next<br /><br />and as a note<br />If you have a condition on a variable TS step that has not been created it will just return a null value.<br /><br />hope that helps!<br /><br />Danielhalcoberryhttps://www.blogger.com/profile/15243465759264938277noreply@blogger.comtag:blogger.com,1999:blog-8795498742679938772.post-41522616825257555242013-03-06T15:15:46.112-08:002013-03-06T15:15:46.112-08:00Hi Daniel,
First of all thanks for the very detai...Hi Daniel,<br /><br />First of all thanks for the very detailed steps. I've managed to setup the hta and launch it from standalone media. However, it doesn't look like my TS actually picks up any of the information. <br /><br />Do I have to define empty variables on the TS before they can be set by the script?Gary Sandhuhttps://www.blogger.com/profile/08642402763026997547noreply@blogger.comtag:blogger.com,1999:blog-8795498742679938772.post-67483556353858696752012-07-05T00:31:34.548-07:002012-07-05T00:31:34.548-07:00Apologizes for the late reply, My wife recently ga...Apologizes for the late reply, My wife recently gave birth so I haven't touched my computer for the past month.<br /><br />Anyway, I have actually ran into this problem and its due to the Task Sequence step not correctly detecting that the process has ended. I didn't have this problem but I have had another person email me about it. You can actually set a manual process success code which should then help TS to detect when the VBS has ended.<br /><br />Open the TS Editor and select the UI Run step.<br />select Options then in the Success Codes type 0 3010<br /><br />I will also update my post to reflect this change for others to seehalcoberryhttps://www.blogger.com/profile/15243465759264938277noreply@blogger.comtag:blogger.com,1999:blog-8795498742679938772.post-30393401241917232432012-06-07T10:52:38.440-07:002012-06-07T10:52:38.440-07:00Not sure if you can help me but when I select my v...Not sure if you can help me but when I select my variable from my HTA and click on the Finish button, I get a blank page and the task sequence never continue.Anonymoushttps://www.blogger.com/profile/13777228157321839276noreply@blogger.com