Kitz Forum
Broadband Related => Router Monitoring Software => Topic started by: roseway on April 21, 2017, 04:47:56 PM
-
Not before time, some may say, I've built self-extracting installers for the Windows and Linux versions of v5.9.3. The Raspberry Pi version isn't available as an installer at present, because the installer system I'm using doesn't support that architecture.
The Windows installer creates menu entries and desktop icons for launching the program. The Linux installers create desktop icons in the same folder as the extracted DSLstats files. If your Linux desktop supports program launch icons, you can drag the icon from the folder to the desktop. All the installers generate uninstall programs in the same folder.
I would appreciate it if you could try out these installers and let me know whether they do the job.
http://dslstats.me.uk/downloads.html (http://dslstats.me.uk/downloads.html) (scroll down the page)
Later: Please don't use the Windows version until I've done some more testing
Later still: New Windows version now available for download
-
On Win 10 after installation I get the message 'Unable to read data from file "specialrouters.dat"' when I run the exe
-
That's slightly odd. Did you use the default installation directory?
-
Yes, I just ran the installer
-
I just tried it on a Win8.1 system, and I got the same result. Yet the installed files routers.dat and specialrouters.dat are in place and they're not corrupted. The installer works fine on WinXP which is what I used to build and test it. More head scratching required.
-
Perfect install on Win XP. :)
Appeared in "Start - All Programs" as a new program, with the uninstall option.
-
Given that WinXP is now unsupported, is it worth/possible building an installer that targets win 8.1?
-
It's the same program building the installer, and it's packaging the same files. I don't think it makes any difference what version of Windows is used. But I am going to try building it on a Win 8.1 machine.
-
I've worked out what the problem with the Windows version is: DSLstats isn't happy being installed under C:\Program Files, except with Win XP. The installer does a perfectly good job of installing the files, but the default installation directory isn't suitable. What I have to work out now is what default directory to offer in the installer, which will fit all versions of Windows. If anyone can advise I would be grateful.
-
I have been naughty, having a nose around the self installer, or rather trying to: AVAST is avidly blocking the download.
-
Perhaps it doesn't like you to download executables directly? Self-extracting installers are quite common, so it seems to be excessively diligent.
-
Hi roseway
I could be wrong, so apologies in advance but I think you may have better luck using c:/users/all users/app data/local/
I may have not remembered the correct path, as I am not looking at a computer and memory is not as good as it once was sorry, but if you check /users/, you should see it, and by placing it in all users, it should have correct permissions
The only other thing which comes to mind is, most pc are 64 bit, so your original location would need to be program file (x86)
Once again, apologies if I am wrong sorry
Many thanks
John
-
Yep 32 bit progs do reside where you say, John.
-
Thanks for the suggestion. The problem with hard coding a directory like that is that it may not apply to all versions of Windows. A few people still use Windows XP, and that directory doesn't exist in XP. For the moment I've decided to use HOMEPATH, although of course the installer allows you to change it if you want. I've checked that this works on WinXP and Win 8.1, and DSLstats is happy there.
The new installer using this directory is now available for download.
-
That now works ok, but I would prefer it in a subdirectory of HOMEPATH called dslstats, rather than just putting all the files in HOMEPATH if that's possible
-
Yes, you're quite right. I meant to install the files in a subdirectory under HOMEPATH. I'll change it immediately.
Edit: Now changed to HOMEPATH\dslstats
-
downloaded ok. but refuses to list routers.
-
That appears to work properly under Win 10 now and the Uninstall icon is successful too :)
-
Thank you. :)
-
downloaded ok. but refuses to list routers.
Did you download the latest version, filename dslstats-5.9.3-2-windows-installer.exe?
And did you clean out your DSLstats configuration files before running it for the first time?
-
Yeah the installer works on WIN10 and Windows defender makes a complaint my preferred location for DSLstats has always been C:\User\Me\documents\DSLstats, but with the installer I don't get the nice DSLstats Icon just a plain one.
-
Thanks for that. I'll check out the icon.
-
Did you download the latest version, filename dslstats-5.9.3-2-windows-installer.exe?
And did you clean out your DSLstats configuration files before running it for the first time?
I had cleaned out old stuff, but somehow had downloaded v.3.9.3.1. Another thorough clean, and this time found 5.3.9.2
AOK now! :fingers:
Thanks for help.
-
Excellent. Thank you for persevering. :)
-
Yeah the installer works on WIN10 and Windows defender makes a complaint my preferred location for DSLstats has always been C:\User\Me\documents\DSLstats, but with the installer I don't get the nice DSLstats Icon just a plain one.
I can't do much about Windows Defender unfortunately, but I have sorted out the icon. I won't upload yet another version just yet, to see if any other comments come in.
-
Have also used the Installer on Windows 8.1 Pro and it works fine and uninstalls and the appdata where the DSLstats config file resides is unharmed :thumbs:
-
Thank you for checking all that.
-
Hi Roseway
Installing and uninstalling on Linux Mint 18.1 worked OK. One small suggestion if I may. How about offering an option to delete the contents of the .dslstats directory when uninstalling?
-
Thanks BigJ, that's a good thought.
-
Generally speaking there should be no binaries inside the user profile folder, but I am guessing there is issues with using program files as other developers have also gone the same route.
I am using the portable version of dsl stats so never tested the installer.
-
64Bit PCLinuxOS KDE on test laptop.
Clicked on your 64Bit Linux file on your website.
Menu box came up asking if I wanted to 'save file'. click >Save.
The correct directory came up (which I cleaned out old dslstats files).
Then clicking on the dslstats-5.9.3-linux-x64-installer.run in that directory another menu box came up 'Open With' Unless I choose say 'Ark' nothing happened. :'( :(
Not installed yet wait for your reply.
Works well on main laptop with normal method of Download the 'tar.gz' file to directory, extract it with 'Ark' put a short-cut in start up 'Manage which programs start up automatically with KDE.' Program.
-
The .run file needs to be executable. It's lost it's executable bit somewhere along the way. Just make it executable and it should work fine.
This is not uncommon with downloads, and I need to add a comment to the instructions.
-
@Chrysalis: You're right. I found that the installer worked fine on Windows XP when installed under Program Files, but not with later versions of Windows which require administrator permission there. Working round that was beyond me so I took the easy option.
-
The .run file needs to be executable. It's lost it's executable bit somewhere along the way. Just make it executable and it should work fine.
This is not uncommon with downloads, and I need to add a comment to the instructions.
Yes that now works ok and put icon on desktop. :)
The .run file has permissions of
Owner r w
Group r w
Others r
Is executable = no
Owner = tickmike
Group = tickmike
--------------------------------
Now if I look at the tar.gz file permissions
Owner r w
Group r w
Others r
Is executable = no
Owner = tickmike
Group = tickmike
----------------------------------------
If I look at the tar.gz file with 'Ark' Owner = eric Group = eric.
Hope this helps.
-
Thanks for that. The problem is that the executable bit isn't user dependent, and it's certainly set in the original file which I uploaded, but it gets lost somewhere in the upload/download process. I'll check if it still has the executable bit set on the server.
-
Eric I just downloaded the 64bit Linux installer and it did not have the executable bit set once downloaded.
Stuart
Just had a thought... could it be that using the http download it gets lost but if we were able to FTP download it might still have the bit set?
-
It's a thought, Stuart. I haven't had a chance to look at it yet.
-
I've now checked the files on the server, and the executable bit wasn't set on the files, so it was stripped during the FTP upload. But after setting the bit on the files on the server, it still gets lost in the download. I've tried wget, with the same result.
I can't give people direct access to the FTP server for security reasons, so I think I'm going to leave it there and add a comment advising Linux users that they need to set the executable bit before trying to run the downloaded .run files.
-
Actually it makes sense in some ways from a security perspective, make you think about executing it.... or not...
Stuart