/build/static/layout/Breadcrumb_cap_w.png

XP Driver Feed - AutoIt error halts OS deployment

Hi,

When using the Driver Feed for XP, after it finishes copying the drivers using XCopy, whatever the next step is I'm not sure (not having access to the actual script) but it displays the following error, and deployment does not continue until we click OK:

Error Title: "AutoIt Error"

Error Message: "Line 2048 (File "Y:\applications\42\contents\driver_feed_mid_task.exe"): Error Variable used without being declared"

Does anyone know what this error is? As mentioned I don't know what is on line 2048 so not sure what it's trying to do. Once we click OK deployment continues and I believe drivers install so not sure what the issue is but the main problem for me is that clicking OK to clear the error is a manual step.

Thanks,

TWIT.


0 Comments   [ + ] Show comments

Answers (4)

Answer Summary:
Posted by: cserrins 11 years ago
Red Belt
5

Make sure you are using the latest version of the driverfeed workaround, which should have the items .zipped and calling a .bat file.

If that still doesn't work, please add the /debug switch to the task.  Then tell me the last dialog that appeared before the error, this will help me find the undeclared variable.

Lastly, another workaround if running 3.4, would be to create a mid-level .bat task with the commandline:

Y:\hta\copy_drivers.vbs

This is the same file that runs automatically with Scripted Installs.  Of course you still need the PO task to install drivers.

Corey
Lead L3 Enterprise Solutions Engineer, K2000
If my response was helpful, please rate it!


Comments:
  • I just updated the task with a new version where this issue should be resolved, I looked for all the variables and made sure they were declared. I then used the:
    Opt("MustDeclareVars",0)
    Which means it shouldn't run unless all variables are declared and it did run for me.
    So...update to the latest version by downloading again.

    Thanks,

    Corey
    Lead L3 Enterprise Solutions Engineer, K2000
    If my response was helpful, please rate it! - cserrins 11 years ago
  • Thanks mate, I re-downloaded the driver feed task and it worked beautifully! Cheers. - twit 11 years ago
Posted by: dugullett 11 years ago
Red Belt
2

Do you have all the task zipped and running as a post install? Then call the bat file in your command line.

  1. driver_feed_mid_task.bat
  2. driver_feed_mid_task.exe
  3. driver_feed_mid_task_x64.exe

Also this uses DISM not xcopy. 


Comments:
  • Actually, with XP, xcopy is used because DISM doesn't work on xp. So we copy the files over to the workstation, then we have a PO task that uses dpinst to scan that folder for drivers.

    Corey
    Lead L3 Enterprise Solutions Engineer, K2000
    If my response was helpful, please rate it! - cserrins 11 years ago
Posted by: pjgeutjens 11 years ago
Red Belt
1

Variable used without being declared

this seems pretty self-explanatory to me... make sure all variables you use in that line have been declared in advance.


Comments:
  • Thanks but this is all from the Driver Feed tool download from the KACE site. I don't know what is in that line as I didn't create the file. So although I understand that part of the error, I have no clue what variable its referring to. I was hoping someone has had the issue before and knows how to rectify it.

    Thanks. - twit 11 years ago
  • ah, my bad, then I'll leave you to those more knowledgable about KACE - pjgeutjens 11 years ago
Posted by: SMal.tmcc 11 years ago
Red Belt
-1

On your workstation, do a \\ikbox\peinst and login as admin (or .\admin) with the password set in the k2000 for driver/restore box.    navigate to the applications\42\..... and have a look to see what is being called.  use 7zip to look at exe

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ