I have some confusion about LaunchPad refresh...
1) Shouldn't it invoke the same as does the Software Deployment Portal upon execution? (maybe it does but policy.sync is not an instantaneous action)
2) Should we create the shortcut icon for: "C:\Program Files\LANDesk\Shared Files\httpclient.exe" http://localhost:9595/policy.cgi.exe?action=start
OR C:\Program Files\LANDesk\LDClient\localsch.exe /exe=policy.sync.exe" ??
I wrote my own. I dont like flasking DOS windows for the customers.
On Error Resume Next
Const wshOkOnly = 0
Set objWshShell = WScript.CreateObject("WScript.Shell")
runStr = Chr(34) & "C:\Program Files\LANDesk\Shared Files\httpclient.exe" _
& Chr(34) & " http://localhost:9595/policy.cgi.exe?action=start"
objWshShell.run runStr, 0, False strMessage = "Please allow about 15 seconds for the window to refresh." & vbCrLf & vbCrlf & _
"(or wait for this message box to self dismiss)"
intReturn = objwshShell.Popup(strMessage, 10, "Launchpad Policy Refresh", wshOkOnly)
runStr = Chr(34) & "C:\Program Files\LANDesk\LDClient\localsch.exe" _
& Chr(34) & " /exe=policy.sync.exe"
objWshShell.run runStr, 0, False