# PsExec OnValidate runtime error on FinalBuilder 7.0.0.642

**URL:** https://www.finalbuilder.com/forums/t/psexec-onvalidate-runtime-error-on-finalbuilder-7-0-0-642/1594
**Category:** Discussion
**Created:** [September 14, 2010, 8:48am UTC](https://www.finalbuilder.com/forums/t/psexec-onvalidate-runtime-error-on-finalbuilder-7-0-0-642/1594 "2010-09-14T08:48:40Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)
#### Post date: [September 14, 2010, 8:48am UTC](https://www.finalbuilder.com/forums/t/psexec-onvalidate-runtime-error-on-finalbuilder-7-0-0-642/1594/1 "2010-09-14T08:48:40Z")

</div>

Hi,

I am trying to use the **PsExec** action to remotely execute a program

(I am using FinalBuilder version 7.0.0.642 with PsTools version 2.44 taken from: http://technet.microsoft.com/en-us/sysinternals/bb896649.aspx)

I get the following validation message when I run script:

_Script: Script Execution Failed : Error Executing script :&nbsp;OnValidate Microsoft JScript runtime error 'Properties' is null or not an object In Package Common Script. Line:65 Char:3_

When I click on the validation message link the PSExec action opens.

What I really don't understand, is that the same script works on the PC&nbsp;I used to create the script on. I have tried the same script on three different FinalBuilder installations with the same bad result. I have checked the path to PSTools, and variables in script, and it's OK on all installations.

I can remotely install using a DOS Command using same variables as I use in the PSExec action. So of course I could replace all the PSExec actions into DOS&nbsp;Command actions, but it would save me a lot of time if someone could help me resolve this error.

Please advise.

Best regards,

Anders

---

<div class="post-metadata">

### Author: ![paulsamways](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/p/e8c25b/32.png) [@paulsamways](https://www.finalbuilder.com/forums/u/paulsamways)
#### Post date: [September 15, 2010, 12:13pm UTC](https://www.finalbuilder.com/forums/t/psexec-onvalidate-runtime-error-on-finalbuilder-7-0-0-642/1594/2 "2010-09-15T12:13:40Z")

</div>

Hi Anders,   
  
 Will have a new build available very soon with a fix.   
  
 Regards,   
 Paul.

---

<div class="post-metadata">

### Author: ![paulsamways](https://www.finalbuilder.com/forums/letter_avatar_proxy/v4/letter/p/e8c25b/32.png) [@paulsamways](https://www.finalbuilder.com/forums/u/paulsamways)
#### Post date: [September 15, 2010, 4:34am UTC](https://www.finalbuilder.com/forums/t/psexec-onvalidate-runtime-error-on-finalbuilder-7-0-0-642/1594/3 "2010-09-15T04:34:46Z")

</div>

Hi Anders,   
  
 Here is the new test build of FinalBuilder:   
  
 URL: [https://www.finalbuilder.com/downloads/finalbuilder/aex6/FB700\_676.exe](https://www.finalbuilder.com/downloads/finalbuilder/aex6/FB700_676.exe)   
  
 Regards,   
 Paul.

---

<div class="post-metadata">

### Author: ![deleted\_user](https://www.finalbuilder.com/forums/user_avatar/www.finalbuilder.com/deleted_user/32/937_2.png) [@deleted\_user](https://www.finalbuilder.com/forums/u/deleted_user)
#### Post date: [September 15, 2010, 12:57pm UTC](https://www.finalbuilder.com/forums/t/psexec-onvalidate-runtime-error-on-finalbuilder-7-0-0-642/1594/4 "2010-09-15T12:57:49Z")

</div>

Hi Paul,

Thank you very much, it works.

Best regards,

Anders
