News: This forum is now permanently frozen.
Pages: [1]
Topic: New GUI for physdiskwrite  (Read 8247 times)
« on: November 06, 2012, 03:53:22 »
azdps **
Posts: 63

I wasn't very impressed with the GUI for physdiskwrite, although I do appreciate the author of the program for making it. The GUI was not written completely in English, and I found it to be somewhat bloated for just being a GUI. I just started using m0n0wall and have found it to be a great firewall, so I thought I would do my part to contribute. Please test this GUI front-end that I made for physdiskwrite, and let me know if you run into any problems. I have tested this only on XP Pro SP3.


* Beta 5 *
http://www.datafilehost.com/d/e3b9b98e

* Source Code *
http://www.datafilehost.com/d/99b0dcea


Beta 5 change log: [Oct 5th, 2013]
------------------------
- device combobox now retains selected device when dropdown arrow is selected
- some GUI controls are disabled when not needed
- terminate running physdiskwrite if GUI is closed
- remove statusbar information when appropriate
- prevent main window gui interaction when neccessary
- error check to make sure physdiskwrite.exe exists in directory
- make sure image path is a valid path to a file

Beta 4 change log:
------------------------
- added new filter in file dialog to allow all file types

Beta 3 change log:
------------------------
- added abort button
- writing status is a little more animated in the statusbar
- disabled the write button when a write is in progress

Beta 2 change log:
------------------------
- fixed image path problem
« Last Edit: October 06, 2013, 01:53:56 by azdps »
« Reply #1 on: November 06, 2012, 05:00:49 »
Fred Grayson *****
Posts: 994

Thanks for this.

One thing I have noticed so far is that you can browse to the location of the image file you wish to write and select the file. The image file can be anywhere.

But nothing gets written unless the image file is in the same directory as the ImageWriter.exe program.

The other thing, that most physdiskwrite users probably already know is that the program must be run as Administrator.

--
Google is your friend and Bob's your uncle.
« Reply #2 on: November 06, 2012, 05:22:35 »
azdps **
Posts: 63

Thanks for the feedback. I didn't notice the image location problem since the image I was using was located in the same folder as the GUI. This should be an easy fix. I also will implement a check to determine if a user has administrator rights and warns users if they lack the appropriate rights. On a side note, I read the following:

Quote
physdiskwrite works with Vista, but you must make sure to run it as administrator (simply having admin rights isn't enough), or it won't find any disks.

It appears that administrator rights isn't enough. I find that kind of odd but I don't have Vista or Windows 7 currently available to test that.
« Reply #3 on: November 06, 2012, 07:32:16 »
azdps **
Posts: 63

Was a simple fix to correct image path problem you were having Fred Grayson. I would appreciate further feedback to eliminate any problems before submitting stable version to Manuel Kasper.

Please download any further updates from my initial post. Updated to beta 2.
« Reply #4 on: November 06, 2012, 14:10:59 »
Fred Grayson *****
Posts: 994

Thanks for the update.

On XP SP3 the problem with the image file being somewhere other than in with the program is resolved.

I also tested this on Windows 7 Enterprise running in a VM under XP SP3. It worked fine when right clicking on the program and selecting "Run as Administrator."

I currently don't have a native Windows 7 or Vista box here, and running in a VM had added complexity with virtualizing USB devices. Although it did work for me under these conditions, it should of course be tested by other in native installs of these other OSs.

Thanks again for this. I find it to be a valuable addition to the toolset.

--
Google is your friend and Bob's your uncle.
« Reply #5 on: November 06, 2012, 23:17:23 »
azdps **
Posts: 63

Once again thanks for the feedback Fred Grayson. I've updated the link above to beta 3.

- added abort button
- writing status is a little more animated in the statusbar
- disabled the write button when a write is in progress

I will look further into admin rights a little later when I get a chance to install my Windows 7.
« Reply #6 on: November 14, 2012, 06:34:33 »
Јаневски ***
Posts: 153

I still haven't tried it but i would suggest something - You could do it in Java, so it would be cross-platform.

« Reply #7 on: November 14, 2012, 07:02:25 »
azdps **
Posts: 63

I still haven't tried it but i would suggest something - You could do it in Java, so it would be cross-platform.

Thats probably the most sensible way to program this particular gui. I have no experience programing in java though. I will provide my source code soon so maybe someone could port it over. Guess it could be somewhat useful.

By the way I like your photographs on your website Јаневски. Well done.
« Last Edit: November 14, 2012, 07:05:15 by azdps »
« Reply #8 on: November 14, 2012, 18:44:14 »
azdps **
Posts: 63

My first post now has a download link for the source code. Most of it uses the Windows API. Also has physdiskwrite included. Can been compiled use the masm32 package freely downloadable from http://www.masm32.com/.
« Reply #9 on: November 30, 2012, 20:51:47 »
Јаневски ***
Posts: 153

I still haven't tried it but i would suggest something - You could do it in Java, so it would be cross-platform.

Thats probably the most sensible way to program this particular gui. I have no experience programing in java though. I will provide my source code soon so maybe someone could port it over. Guess it could be somewhat useful.

By the way I like your photographs on your website Јаневски. Well done.
Thanks a lot. Smiley

« Reply #10 on: December 25, 2012, 19:44:57 »
Fred Grayson *****
Posts: 994

One other suggestion. In the file name drop down list, please have a choice for all file types, not just .img

Thanks.


Edit:

I took care of this myself by hex editing the executable file, changing img to *
« Last Edit: January 04, 2013, 06:45:17 by Fred Grayson »

--
Google is your friend and Bob's your uncle.
« Reply #11 on: January 11, 2013, 23:59:11 »
azdps **
Posts: 63

Fred Grayson thanks for the suggestion. Updated first post to beta 4.

- added new filter in file dialog to allow all file types
« Last Edit: January 12, 2013, 00:02:30 by azdps »
« Reply #12 on: January 12, 2013, 00:45:05 »
Fred Grayson *****
Posts: 994

Thanks. Keep up the good work!

--
Google is your friend and Bob's your uncle.
« Reply #13 on: October 06, 2013, 01:51:08 »
azdps **
Posts: 63

Updated to beta 5. I would appreciate any feedback.
« Last Edit: October 06, 2013, 01:52:45 by azdps »
« Reply #14 on: October 06, 2013, 01:59:47 »
Fred Grayson *****
Posts: 994

I'll have a look and get back to you.

Edit:

Works fine. Thanks!
« Last Edit: October 06, 2013, 02:10:18 by Fred Grayson »

--
Google is your friend and Bob's your uncle.
 
Pages: [1]
 
 
Powered by SMF 1.1.20 | SMF © 2013, Simple Machines