Something I like to see changed from the setup:
- Show the log screen, don't skip on it (aka: don't automatically jump to the final "finish" page). Some people might like to know which files are installed where (like me), especially if you install 3rd party libraries in the user's system directory!
Some tips/pointers/requests:
- Don't use external DLL's if you can avoid them. UNZDLL.DLL and ZIPDLL.DLL (a total of 240kb!) can be avoided if you include your own zip code in your delphi project. On the net you can find sources for this. Or you can even provide you own compression scheme.
- Make the log window of your plugin not word-wrapped; it's hard to read.
- Make the log window at least resizeable.
- Fix spelling mistakes and be consequent in the way a line is shown:
quote:
Exporting Settings...
Compressing File to C:\me@blah.com.zip...
duplicate filename removed Orig name: C:\me@blah.com.reg ,New name : me@blah.com.reg
duplicate filename removed Orig name: C:\me@blah.com.reg ,New name : me@blah.com.reg
duplicate filename removed Orig name: C:\me@blah.com.reg ,New name : me@blah.com.reg
adding: me@blah.com.reg
Preparing FTP...
Resolving hostname .
Connecting to 192.168.1.103.
Disconnecting from 192.168.1.103.
Not connected.
Error. Upload unsucessful
make that something like (notice the added or removed spaces, moved comma's, added lines and other stuff):quote:
Exporting Settings...
Compressing file to "C:\me@blah.com.zip"...
Duplicate filename removed (Orig name: "C:\me@blah.com.reg", New name: "me@blah.com.reg")
Duplicate filename removed (Orig name: "C:\me@blah.com.reg", New name: "me@blah.com.reg")
Duplicate filename removed (Orig name: "C:\me@blah.com.reg", New name: "me@blah.com.reg")
Adding: "me@blah.com.reg"
Tracing: "C:\temp0082.zip"
Updating: "me@blah.com.reg"
Preparing FTP...
Resolving hostname
Connecting to 192.168.1.103
Disconnecting from 192.168.1.103
Not connected
Error: Upload unsuccessfull
And a few remarks/questions about this logging:- What does the "Duplicate filename removed" exactly mean?
- Why three times that same message?
- Why is the new name the same as the old name?
- Where are there spaced before "Adding me@blah.com.reg" and not before other sub-messages?
- Why comes the message "Compressing file" before the "Duplicate" and "Adding" messages? This doesn't make sense, unless "Compressing file" actually means "Creating file" and the "Adding" actually means "Compressing".
- What is the "trace: Temp Filename" used for?
- Temporary files are not removed! (the reg and zip files)
- Do not store the reg files as version 5.00 files, but as version 4 files! This because your tool with otherwise not work on other OS's than XP/NT...
Version 5.0 registry files start with the header: "Windows Registry Editor Version 5.00", and are not downwards compatible!
Version 4.0 registry files have the header: "REGEDIT4", and are upwards compatible!
- If you show a message box or input box, show them in front (aka on top) of the windows. Currently they appear behind all the windows.
- Make it possible to provide no password. Currently when the password input box appears and you leave it blank, the log outputs "Missing or empty zip file".
- If there was an error in creating or updating the zip, do not attempt to open the FTP connection. It doesn't make sense to upload when there is nothing to upload. The backup process should be stopped after the zip error.
- If previously a password was entered but not remembered and a zipfile was created using that password, the next time you backup without entering a password the zipfile is either not successfully updated but no error is given or the previously entered password is used (didn't tested which was the case). Iether way this is bad/buggy behaviour.