It is currently Fri May 24, 2013 2:30 pm

All times are UTC - 8 hours




Post new topic Reply to topic  [ 40 posts ]  Go to page Previous  1, 2, 3  Next
Author Message
 Post subject: Re: Rufus - USB Formatting Utility
PostPosted: Fri Mar 02, 2012 4:46 pm 
Offline
User avatar

Joined: Mon Aug 27, 2007 2:00 am
Posts: 3734
I tried this today in a real world environment and I have to say goodbye UNetbootin & WinToFlash, hello Rufus! This application was so easy to use and it worked really well and despite the fact I will probably only use it once or twice a year I really hope they continue development and add some additional features e.g. VHD support of some description amongst others.

_________________
Added 177 Applications: Portable and an AutoIt MVP
SoftwareSpot - Portable Apps


Top
 Profile  
 
 Post subject: Re: Rufus - USB Formatting Utility
PostPosted: Sat Mar 03, 2012 3:47 pm 
Offline
User avatar

Joined: Sun Feb 19, 2012 4:23 pm
Posts: 10
Its funny what text you have on your website:
Quote:
License
GNU General Public License (GPL) version 3 or later.

Or later? You dont know? :o


Top
 Profile  
 
 Post subject: Re: Rufus - USB Formatting Utility
PostPosted: Sun Mar 04, 2012 11:17 am 
Online
User avatar

Joined: Wed Apr 11, 2007 8:06 pm
Posts: 3473
Location: US, Texas
mik.y wrote:
Quote:
License
GNU General Public License (GPL) version 3 or later.

Or later? You dont know? :o

I think the reference is to the fact that there may be a version of the GPL in the future that the developer wants his code to get applied to. At this writing, v3 is the latest version.

_________________
Supporting the Electronic Frontier Foundation | DuckDuckGo user | My GPG key | Projects donated to: VLC, CubicExplorer, Ditto, Greenshot, TrueCrypt


Top
 Profile  
 
 Post subject: Re: Rufus - USB Formatting Utility
PostPosted: Wed Jan 02, 2013 3:45 pm 
Offline
User avatar

Joined: Thu Aug 07, 2008 4:51 am
Posts: 2589
The latest Rufus version (V1.3.0) is not portable. It writes "CommCheck" and "UpdateCheckInterval" values to the registry at HKEY_CURRENT_USER\Software\Akeo Consulting\Rufus. I think that it also modifies group policy to do that but am not 100% certain. Btw, anyone knows what the "CommCheck" registry key is for?

_________________
bəʊɡɪ bəəs


Top
 Profile  
 
 Post subject: Re: Rufus - USB Formatting Utility
PostPosted: Wed Jan 02, 2013 5:18 pm 
Offline

Joined: Sat Apr 08, 2006 7:12 pm
Posts: 34
Location: Illinois/Indiana
I am Baas wrote:
The latest Rufus version (V1.3.0) is not portable. It writes "CommCheck" and "UpdateCheckInterval" values to the registry at HKEY_CURRENT_USER\Software\Akeo Consulting\Rufus. I think that it also modifies group policy to do that but am not 100% certain. Btw, anyone knows what the "CommCheck" registry key is for?


That's interesting. I would like to know too.


Top
 Profile  
 
 Post subject: Re: Rufus - USB Formatting Utility
PostPosted: Wed Jan 02, 2013 5:32 pm 
Offline
User avatar

Joined: Mon Aug 27, 2007 2:00 am
Posts: 3734
The source code doesn't offer much and I couldn't find REGKEY_COMM_CHECK being used again apart from being defined, weird.

_________________
Added 177 Applications: Portable and an AutoIt MVP
SoftwareSpot - Portable Apps


Top
 Profile  
 
 Post subject: Re: Rufus - USB Formatting Utility
PostPosted: Fri Jan 04, 2013 9:36 am 
Offline

Joined: Sat Sep 05, 2009 6:35 pm
Posts: 287
Found it HERE: - Initial update check setup

commcheck is the DWORD GetTickCount (wiki), a part of the boolean function SetUpdateCheck.

There is a hack included in the code:
If you run rufus.exe (no version in filename/first run) you will not get the update settings prompt and default values are applied.
If you run rufus_v1.x.x.exe (version in filename/first run) you will get the update settings prompt where you can set preferred values.

You can also get to the same update settings prompt/dialog as follows: About... > Updates

Code Function Snippet:
Code:
BOOL SetUpdateCheck(void)
{
   BOOL enable_updates;
   DWORD commcheck = GetTickCount();
   notification_info more_info = { IDD_UPDATE_POLICY, UpdateCallback };
   char filename[MAX_PATH] = "", exename[] = APPLICATION_NAME ".exe";
   size_t fn_len, exe_len;

   // Test if we have access to the registry. If not, forget it.
   WriteRegistryKey32(REGKEY_COMM_CHECK, commcheck);
   if (ReadRegistryKey32(REGKEY_COMM_CHECK) != commcheck)
      return FALSE;
   reg_commcheck = TRUE;

   // If the update interval is not set, this is the first time we run so prompt the user
   if (ReadRegistryKey32(REGKEY_UPDATE_INTERVAL) == 0) {

      // Add a hack for people who'd prefer the app not to prompt about update settings on first run.
      // If the executable is called "rufus.exe", without version, we disable the prompt
      GetModuleFileNameU(NULL, filename, sizeof(filename));
      fn_len = safe_strlen(filename);
      exe_len = safe_strlen(exename);
      if ((fn_len > exe_len) && (safe_stricmp(&filename[fn_len-exe_len], exename) == 0)) {
         uprintf("Short name used - Disabling initial update policy prompt\n");
         enable_updates = TRUE;
      } else {
         enable_updates = Notification(MSG_QUESTION, &more_info, APPLICATION_NAME " update policy",
            "Do you want to allow " APPLICATION_NAME " to check for application updates?\n");
      }
      if (!enable_updates) {
         WriteRegistryKey32(REGKEY_UPDATE_INTERVAL, -1);
         return FALSE;
      }
      // If the user hasn't set the interval in the dialog, set to default
      if ( (ReadRegistryKey32(REGKEY_UPDATE_INTERVAL) == 0) ||
          ((ReadRegistryKey32(REGKEY_UPDATE_INTERVAL) == -1) && enable_updates) )
         WriteRegistryKey32(REGKEY_UPDATE_INTERVAL, 86400);
   }
   return TRUE;
}


~Ruby


Top
 Profile  
 
 Post subject: Re: Rufus - USB Formatting Utility
PostPosted: Sat Jan 05, 2013 7:27 am 
Offline
User avatar

Joined: Mon Aug 27, 2007 2:00 am
Posts: 3734
Thanks Ruby.

_________________
Added 177 Applications: Portable and an AutoIt MVP
SoftwareSpot - Portable Apps


Top
 Profile  
 
 Post subject: Re: Rufus - USB Formatting Utility
PostPosted: Sat Jan 05, 2013 8:40 pm 
Offline
User avatar

Joined: Thu Aug 07, 2008 4:51 am
Posts: 2589
guinness wrote:
Thanks Ruby.

+1

_________________
bəʊɡɪ bəəs


Top
 Profile  
 
 Post subject: Re: Rufus - USB Formatting Utility
PostPosted: Sun Jan 06, 2013 3:51 pm 
Offline
User avatar

Joined: Mon Dec 07, 2009 7:09 am
Posts: 919
Location: Terra @ Sol System
@Ruby: my thanks, too. :)

Couldn't this be summarized for the TPFC entry?


Top
 Profile  
 
 Post subject: Re: Rufus - USB Formatting Utility
PostPosted: Sun Jan 06, 2013 7:02 pm 
Offline

Joined: Sat Apr 08, 2006 7:12 pm
Posts: 34
Location: Illinois/Indiana
@Ruby

Many thanks!


Top
 Profile  
 
 Post subject: Re: Rufus - USB Formatting Utility
PostPosted: Sat Jan 12, 2013 8:06 am 
Offline
User avatar

Joined: Thu Aug 07, 2008 4:51 am
Posts: 2589
Ruby wrote:
If you run rufus.exe (no version in filename/first run) you will not get the update settings prompt and default values are applied.

The default value is "Daily Check for Updates"... Rufus will call home a quick minute after having been launched. The "CommCheck" and "UpdateCheckInterval" values are written to the registry no matter what.

I'd rather run rufus_v1.x.x.exe, get the prompt, decline, do what needs done, press Alt + R (this will delete the registry entries), exit Rufus.

There is one thing I am not sure of yet... does it modify Group Policy as well?

Edit: Just discovered Rufus Portable... will test later.

_________________
bəʊɡɪ bəəs


Top
 Profile  
 
 Post subject: Re: Rufus - USB Formatting Utility
PostPosted: Sat Jan 12, 2013 9:07 am 
Offline
User avatar

Joined: Thu Aug 07, 2008 4:51 am
Posts: 2589
I also noticed that:

Quote:
2013-01-10 15:58:38
Updated by JohnTHaller
Writes settings to:Windows registry
Stealth:No
Stealth (details): All settings stored in registry

Emphasis mine.

I am not going to rant, I am not going to rant, I am not going to rant... fukc that, the hell I am... JohnTHaller edited the db entry for Rufus just before the release of their portable version... this update screams conflict of interest... actually, maybe I should stop, but I do think that he should refrain from updating db entries and leave this task to other TPFC members.

_________________
bəʊɡɪ bəəs


Top
 Profile  
 
 Post subject: Re: Rufus - USB Formatting Utility
PostPosted: Sat Jan 12, 2013 10:57 am 
Offline
User avatar

Joined: Wed Feb 10, 2010 4:44 pm
Posts: 405
Location: New York, NY
I am Baas wrote:
I am not going to rant, I am not going to rant, I am not going to rant... fukc that, the hell I am... JohnTHaller edited the db entry for Rufus just before the release of their portable version... this update screams conflict of interest... actually, maybe I should stop, but I do think that he should refrain from updating db entries and leave this task to other TPFC members.


I edited it after the discussion on here stated that it wrote to the registry. I tested it out and the settings it maintains between launches are saved in the registry. So, my edit is accurate: settings are saved to the registry and you can't make it save any settings portably. Not sure why you wanted to go back and alter the entry to its current incorrect state where you say it writes settings to: "None". Rufus clearly writes its settings to the registry.

Separately, after I read the discussion, I figured I'd hack together a quick version to make it portable (moving the registry values on and off the local machine and backing up and restoring any existing ones) so people could actually use Rufus portably and not have it ask to auto-update on every launch on a new machine and leave that behind on the local machine. We've had a few requests for Unetbootin and similar utilities at PortableApps.com and, reading the advantages Rufus has on its homepage like the speed improvements, I figured it would be a good app to release. Especially since it was just a quick 15 minute package to create.

For what it's worth, I didn't switch the entry from Rufus to Rufus Portable even though it would fit the criteria based on the past outlined guidelines. Nor did I even add Rufus Portable as an Alternative in the listing. I was going to add a note in this thread about the release to see if some folks here would be interested the way folks at PortableApps.com were/are. You're free to keep the listing incorrect and to ignore Rufus Portable if you wish. I just thought folks would appreciate a portable version of Rufus.

_________________
PortableApps.com - The open standard for portable software


Top
 Profile  
 
 Post subject: Re: Rufus - USB Formatting Utility
PostPosted: Sat Jan 12, 2013 8:27 pm 
Offline
User avatar

Joined: Thu Aug 07, 2008 4:51 am
Posts: 2589
JohnTHaller wrote:
I edited it after the discussion on here stated that it wrote to the registry. I tested it out and the settings it maintains between launches are saved in the registry. So, my edit is accurate: settings are saved to the registry and you can't make it save any settings portably. Not sure why you wanted to go back and alter the entry to its current incorrect state where you say it writes settings to: "None". Rufus clearly writes its settings to the registry.

Rufus does not store any settings besides the "Check for Updates" ones. Your edit implied differently. As for the DB entry, it clearly states that Rufus writes "Check for Updates" settings to the registry but it was convenient to omit that, was it not?

JohnTHaller wrote:
I was going to add a note in this thread about the release
The same as you were about to notify SYSTEM? Oh please, cut the crap, JohnTHaller. It is clear to me that your motives are not pure and I hope that everyone else here at TPFC sees that too.

JohnTHaller wrote:
You're free to keep the listing incorrect and to ignore Rufus Portable if you wish. I just thought folks would appreciate a portable version of Rufus.

The db entry gives an accurate description of the settings that are written to the registry, unlike your attempt that was (intentionally) vague. It also tells about the workarounds that are being discussed in this thread.

And, just for the record...
I am Baas wrote:
Just discovered Rufus Portable... will test later.


Attachments:
Rufus.png
Rufus.png [ 15.98 KiB | Viewed 961 times ]

_________________
bəʊɡɪ bəəs
Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 40 posts ]  Go to page Previous  1, 2, 3  Next

All times are UTC - 8 hours


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  

Protected by Anti-Spam ACP Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group