Forum Discussion
pjaudrey
14 years agoOccasional Contributor
Hi,
1. My application is able to support both 32 and 64 bits.
2. OS - Windows 7 / 32 bits
3. Setup authoring software used to create the installer - wise installer
Regards,
Audrey NG
1. My application is able to support both 32 and 64 bits.
2. OS - Windows 7 / 32 bits
3. Setup authoring software used to create the installer - wise installer
4. Result for below -
0
Exit
computerName = "mykul009647w"
applicationName = "MYOB EXO Business"
Set wmiService = GetObject("WinMgmts:{impersonationLevel=impersonate}!\\" & computerName & "\root\cimv2")
Set objectsList = wmiService.ExecQuery("SELECT * FROM Win32_Product " & "WHERE Name='" & applicationName & "'")
Log.Message(objectsList.Count)
What result do you get in the log?
5. Execute the following code:
Result - 0
computerName = "mykul009647w"
applicationName = "MYOB EXO Business"
Set wmiService = GetObject("WinMgmts:{impersonationLevel=impersonate}!\\" & computerName & "\root\cimv2")
Set objectsList = wmiService.ExecQuery("SELECT * FROM Win32_Product WHERE Name='" & applicationName & "'",,0)
Log.Message(Err.Number)
Regards,
Audrey NG
Related Content
- 3 years ago
- 6 months ago
Recent Discussions
- 2 hours ago
- 6 hours ago