
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-08-2015 11:07 AM
Hi all,
I have many clients in remote sites (wan connections) and I would reduce as much as possible the network load.
Considering the advantage of LsPush: data sent to the server is only 40KB;
I am wondering what is the best way to deploy it. Many uses VbScript, but the script loads the client remotely each time it is launched (and lspush.exe is 1.19MB).
Maybe it is possible to deploy the client once and run it locally...
Do you have any ideas? How would you do that?
I have many clients in remote sites (wan connections) and I would reduce as much as possible the network load.
Considering the advantage of LsPush: data sent to the server is only 40KB;
I am wondering what is the best way to deploy it. Many uses VbScript, but the script loads the client remotely each time it is launched (and lspush.exe is 1.19MB).
Maybe it is possible to deploy the client once and run it locally...
Do you have any ideas? How would you do that?
Solved! Go to Solution.
Labels:
- Labels:
-
General Discussion
1 ACCEPTED SOLUTION

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-08-2015 01:27 PM
Check in your vbscript if the file exists locally and has the latest version.
If it is the latest version, have the script run it locally.
If not, copy it locally and then run it.
If it is the latest version, have the script run it locally.
If not, copy it locally and then run it.
3 REPLIES 3
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-18-2015 01:30 PM
We recommend having a look at this article. Do keep in mind that we cannot provide support for writing custom scripts.

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-09-2015 07:57 AM
So I created this code, it will run once the user logs in.
You may see I'm a newbie in vbs, I am just checking if the file exists, but how can I check the file version?
Any hint will be very appreciated
You may see I'm a newbie in vbs, I am just checking if the file exists, but how can I check the file version?
Any hint will be very appreciated
Dim objShell
Set WshShell = CreateObject("WScript.Shell")
strHomeFolder = WshShell.ExpandEnvironmentStrings("%USERPROFILE%")
Set objShell = WScript.CreateObject( "WScript.Shell" )
Set fso = CreateObject("Scripting.FileSystemObject")
If fso.FileExists(strHomeFolder & "\lspush.exe") Then
objShell.Run(strHomeFolder & "\lspush.exe 192.168.0.1")
Else
fso.CopyFile "\\192.168.0.1\Client\lspush.exe", strHomeFolder & "\"
objShell.Run(strHomeFolder & "\lspush.exe 192.168.0.1")
End If
Set fso = Nothing

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-08-2015 01:27 PM
Check in your vbscript if the file exists locally and has the latest version.
If it is the latest version, have the script run it locally.
If not, copy it locally and then run it.
If it is the latest version, have the script run it locally.
If not, copy it locally and then run it.
