Advanced Installer Community - Search

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

Search found 1 match

Go to advanced search

by Runtorious
Sat Aug 11, 2007 11:40 pm
Forum: Common Problems
Topic: VBScript and WMI Custom Actions
Replies: 1
Views: 3515
 
Jump to post

VBScript and WMI Custom Actions

Hi Guy's,

Does any one know why this doesn't work when run as a custom action but it does when run under WSH?

===CODE===

strComputer = "."

Set objWMIService = GetObject("winmgmts:" & "{impersonationLevel=impersonate}!\\" & strComputer & "\root\cimv2")



Set SWBemlocator = CreateObject ...

Go to advanced search