add elements to an object

 From:  Scooter (DORMANTVISION)
3830.64 In reply to 3830.8 
I'm having trouble getting the "AssignPresetName" script to work in the release version of MOI 3.0

I've tried all of the suggestion Michael presented.
Here is the error that I encounter.


I keep getting the error about line 58, which is

var env = wsh.Environment( 'PROCESS' );

I've changed line 61 to be the correct MOI 3.0 install path.
I even tried changing line 59, as I have a 64 bit machine which has a "Program Files x86" directory for 32 bit apps.
Is anyone else having problems with this, or perhaps have any suggestions?

Thanks

Scott
Attachments: