I am working with an HTA frontend to collect information from the user and pass this information to the task sequence for the OS build.
I started with advertising the task sequence within Windows to the computer. The user launch the advertisement, it gathers some information and the HTA opens for some user input. This all works fine, the issue is when I try to collect my variables with the object ("Microsoft.SMS.TSEnvironment") I get an error. I understand that I can not use this object just within Windows but, it is being launch by the task sequence in the task sequence.
Am I missing something? or How do I pass variables from within Windows I need to the task sequence so I can use them during the build?