Running a portable version of CSE HTML Validator

For topics about current BETA or future releases, including feature requests.
Post Reply
User avatar
Albert Wiersch
Site Admin
Site Admin
Posts: 3170
Joined: Sat Dec 11, 2004 9:23 am
Location: Near Dallas, TX
Contact:

Running a portable version of CSE HTML Validator

Post by Albert Wiersch » Tue Feb 22, 2011 7:43 am

If you are interested in a portable version of CSE HTML Validator that you can install on a thumb drive and take with you to work or school, then please read on.

Registerable (paid) versions of CSE HTML Validator v10 and above and CSE HTML Validator Lite now support a "portability" feature. The free trial version does not. However, please note that this feature is still considered "BETA" because it hasn't been thoroughly tested & refined.

To try portable mode:

* Install normally (or have already installed) CSE HTML Validator v10.0132 or later
* Insert a USB drive into your computer and create a folder on it, where you want to put CSE HTML Validator (like "E:\CSE HTML Validator")
* Copy all files and folders from the folder where you installed CSE HTML Validator (like "C:\Program Files\HTMLValidator140" (32-bit OS) or "C:\Program Files (x86)\HTMLValidator140" (64-bit OS) if using v14) to the folder you just created on the USB drive (like "E:\CSE HTML Validator")
* IMPORTANT: Create an empty file "cseoptions.ini" on the USB drive (like "E:\CSE HTML Validator\cseoptions.ini"). When CSE HTML Validator sees this file, it will run in "portable mode".
* Now you can start CSE HTML Validator from the USB drive by running the executable file cse140.exe, like "E:\CSE HTML Validator\cse140.exe" for this example (or cse120.exe for v12)

After starting from the USB drive for the first time:

* Check to make sure you are running in "portable mode" by going to Help->About CSE HTML Validator and make sure it says "Running in portable mode from folder <folder>." in the About box
* Re-register CSE HTML Validator with your registration information

Notes:

* Do not remove the USB drive while CSE HTML Validator is still running
* All settings will be reset to their defaults when first run from the USB drive with an empty cseoptions.ini file
* Copying the USB drive folder to another drive will invalidate the registration and require re-registration when run from the new copy, but the program options will be retained

Upgrading a portable install:

The easiest way to upgrade a portable install is to upgrade your desktop/non-portable install in the normal fashion by running the setup program, then copy all the files and folders in the installation folder (like "C:\Program Files\HTMLValidator110") to your portable installation, replacing only the newer files. The most important files to upgrade/copy are the EXE and DLL files, as well as the configuration file (usually htmlvalV110.cfg).
Image
Albert Wiersch

nightwaves
Rank 0 - Newcomer
Rank 0 - Newcomer
Posts: 1
Joined: Thu Feb 24, 2011 1:19 pm

Re: Portable version of CSE HTML Validator - interested?

Post by nightwaves » Thu Feb 24, 2011 1:21 pm

I am very interested in this. Thanks

andrew greenhut

User avatar
Albert Wiersch
Site Admin
Site Admin
Posts: 3170
Joined: Sat Dec 11, 2004 9:23 am
Location: Near Dallas, TX
Contact:

Re: Portable version of CSE HTML Validator - interested?

Post by Albert Wiersch » Thu Feb 24, 2011 4:50 pm

nightwaves wrote:I am very interested in this. Thanks

andrew greenhut
Great. I am almost ready to start distributing a test version with support for portability.

If you are a registered v10 user and would like to try out a BETA version with the new "portability" feature, then please email me at support at htmlvalidator dot com with subject "Try Portable Version". NOTE: You must be a registered v10.0 user to try this BETA.
Image
Albert Wiersch

siliconglen
Rank 0 - Newcomer
Rank 0 - Newcomer
Posts: 3
Joined: Tue Aug 08, 2006 6:56 am
Location: Scotland
Contact:

Re: Portable version of CSE HTML Validator - interested?

Post by siliconglen » Wed Apr 20, 2011 5:32 am

I think this is potentially a useful idea, but the problem I see is that some people won't necessarily have the privileges to install a USB at work. For me the idea of concurrent licences is potentially more attractive.
--
Craig Cockburn ("coburn"). M.Sc., CITP, CEng
Owner, http://www.siliconglen.com/
Home to the first online guide to Scotland, founded 1994.
Scottish blog, FAQ, weddings, website design, stop spam and more!

Doris
Rank 0 - Newcomer
Rank 0 - Newcomer
Posts: 1
Joined: Tue Dec 20, 2011 8:08 am

Re: Portable version of CSE HTML Validator - interested?

Post by Doris » Tue Dec 20, 2011 8:13 am

Has the portable version been released as of yet? I think I would find this extremely useful. I could really benefit greatly from a portable version of CSE HTML Validator.
Last edited by Doris on Tue Jan 03, 2012 11:39 am, edited 1 time in total.

User avatar
Albert Wiersch
Site Admin
Site Admin
Posts: 3170
Joined: Sat Dec 11, 2004 9:23 am
Location: Near Dallas, TX
Contact:

Re: Portable version of CSE HTML Validator - interested?

Post by Albert Wiersch » Tue Dec 20, 2011 8:38 am

Doris wrote:Has the portable version been released as of yet? I think I would find this very useful. Thanks.
There's no separate portable version, but if you follow the instructions in the first post of this topic, you should be able to convert recent versions to a portable install, though this feature is still considered 'BETA'.
Image
Albert Wiersch

gleff
Rank 0 - Newcomer
Rank 0 - Newcomer
Posts: 2
Joined: Tue Feb 21, 2012 1:10 pm

Re: Portable version of CSE HTML Validator - interested?

Post by gleff » Tue Feb 21, 2012 1:52 pm

Hi all,

I just updated to version 11 from version 9 to make use of the portable capabilities but I'm having trouble getting the html tidy part to work from the portable installation. As far as I can tell everything else works though. The tidy feature works from the installation on my desktop pc but when launching the portable version (even if the portable version is on the desktop as well), it immediately comes up with an error.

"An error occurred trying to run HTML Tidy. Error: 2005052003: CreateProcess() failed for 'G:/Registered Software\CSE HTML Validator 11 Registered\Portable CSE HTML Validator 11\tidy.exe" --indent auto --indent-spaces2 --wrap68 --preserve-entities 1 --tidy-mark 0."

Is this a known issue or is there a workaround? I really would like to use the feature from the portable installation.

Note: i've tried it on two different PC's, and tried it off a USB key as well as on the HD of a desktop PC. It always fails from the portable version only.

To replicate, I just Open from the web any website, and go straight to Tools, Pretty Print/Fix or Pretty Pring/Fix Dialog. As soon as I do this, I get the error dialog box come up.

User avatar
Albert Wiersch
Site Admin
Site Admin
Posts: 3170
Joined: Sat Dec 11, 2004 9:23 am
Location: Near Dallas, TX
Contact:

Re: Portable version of CSE HTML Validator - interested?

Post by Albert Wiersch » Wed Feb 22, 2012 11:19 pm

gleff wrote:To replicate, I just Open from the web any website, and go straight to Tools, Pretty Print/Fix or Pretty Pring/Fix Dialog. As soon as I do this, I get the error dialog box come up.
I'm sorry for the delay.

Could you try this with v11.01 (just released) and let me know if this problem still exists? While I didn't address this issue directly in v11.01, a bug was fixed that could affect portable installs.
Image
Albert Wiersch

gleff
Rank 0 - Newcomer
Rank 0 - Newcomer
Posts: 2
Joined: Tue Feb 21, 2012 1:10 pm

Re: Portable version of CSE HTML Validator - interested?

Post by gleff » Wed Feb 22, 2012 11:41 pm

Thanks Albert.. I just tested the new version and it seems to be fixed.. works great now.

Cheers
Geoff

User avatar
Albert Wiersch
Site Admin
Site Admin
Posts: 3170
Joined: Sat Dec 11, 2004 9:23 am
Location: Near Dallas, TX
Contact:

Re: Portable version of CSE HTML Validator - interested?

Post by Albert Wiersch » Thu Feb 23, 2012 7:16 am

gleff wrote:Thanks Albert.. I just tested the new version and it seems to be fixed.. works great now.
Great! :D
Image
Albert Wiersch

User avatar
Albert Wiersch
Site Admin
Site Admin
Posts: 3170
Joined: Sat Dec 11, 2004 9:23 am
Location: Near Dallas, TX
Contact:

Re: Portable version of CSE HTML Validator - interested?

Post by Albert Wiersch » Sat Mar 24, 2012 2:45 pm

I've updated the original post. Please note that current registerable (paid) versions of CSE HTML Validator, and CSE HTML Validator Lite support the portable mode feature. The free trial version, which is not registerable, does not support portable mode. If you have or buy a supported version, then this feature should be available.
Image
Albert Wiersch

User avatar
roedygr
Rank V - Professional
Rank V - Professional
Posts: 367
Joined: Fri Feb 17, 2006 5:22 am
Location: Victoria BC Canada
Contact:

Re: Portable version of CSE HTML Validator - interested?

Post by roedygr » Tue Apr 03, 2012 2:05 pm

Would such a beast not violate the licenence agreement? I am not supposed to use HTMLValidator to clean up somebody else's files on their computer, right?

User avatar
Albert Wiersch
Site Admin
Site Admin
Posts: 3170
Joined: Sat Dec 11, 2004 9:23 am
Location: Near Dallas, TX
Contact:

Re: Portable version of CSE HTML Validator - interested?

Post by Albert Wiersch » Tue Apr 03, 2012 3:24 pm

roedygr wrote:Would such a beast not violate the licenence agreement? I am not supposed to use HTMLValidator to clean up somebody else's files on their computer, right?
If you install CSE HTML Validator on a USB drive, and run it from there, then it should be OK to bring your install (on a USB drive) over to another computer to help someone. The problem would be if you copied your install & license and let someone else run it (using your license).
Image
Albert Wiersch

User avatar
Albert Wiersch
Site Admin
Site Admin
Posts: 3170
Joined: Sat Dec 11, 2004 9:23 am
Location: Near Dallas, TX
Contact:

Re: Running a portable version of CSE HTML Validator

Post by Albert Wiersch » Thu May 29, 2014 1:56 pm

VonDarrs wrote:Is this version still working ?
Yes, portable mode should still work in the current version. If you have any problems with it then please post back with the details of the problem and I'll be happy to assist.
Image
Albert Wiersch

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest