ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

DonationCoder.com Software > Find And Run Robot

Portable mode?

<< < (2/2)

mouser:
hehehe.
well the new version will fix this, i could build you a copy for testing.
but let me clarify something based on my understanding of vista which might help you understand what i think is happening.

when farr first starts, if the ini doesnt exist yet in VirtualStore, it will read the one in its application directory.  when it saves it, it will try to save it in its application directory.  but vista will intercept this and write it instead to VirtualStore.

thereafter, even if you copy and replace the ini in the application dir, vista will trick the app into using the one in VirtualStore.

basically VirtualStore is alike a secret hidden cache, which makes apps think they can write into the application directory when they really cant.  it can cause EXACTLY the kinds of troubles you are experiencing.

personally this seems to be like a horrible solution on microsoft's part, though i understand the idea.  In my opinion they should have set the permissions to let an app write into its own directory.  that would have made life so much simpler.

--

anyway try this for now:
1. exit farr.
2. delete the virtual store ini.
3. copy your desired ini into application directory.
4. restart farr.
that really should work.

if you restart farr between steps 2 and 3, you trick yourself.

ps. if this still gives you trouble don't worry about it and email me for new vista-aware version ([email protected]).

wait, i think i already incorporated the vista stuff in 2.00.82 , so its using vista user directory :)

sorry for the confusion!

so can you tell me where you WANT to portable usb copy to get its farr ini file from and save to?  is it the case that you are running it on vista and you want it to store its settings in the usb drive application directory where farr lives, instead of to the user settings on c drive?  will vista let an application on the usb drive write to its application directory? if so i can tell you what to do to convince farr to override vista default save location.

Liquidmantis:
Posting the pertinent stuff I emailed for anyone else's information:

So those are the steps I followed.  I think I see what the problem is though.  While that will work for the load, if I make any config changes to the USB version it writes to the VirtualStore and that will blast my local FARR config.  This is probably what you're expecting to happen already though.

One option would be to only make config changes on an XP machine or to do it manually by editing the INI file.

mouser:
does this mean that vista wont let the app write to the usb drive? what's the standard way to get around this for portable apps on vista? run in xp compatibility mode?

i mean i can make farr TRY to store ini on the usb drive, but if vista prevents it, what can i do?

or is it the case that vista WILL let farr write to the usb if it wants, but its a bug in farr which is not trying to do so.

Liquidmantis:
I replied via email.  Looks like you already beat me to what I thought was my awesome workaround.  Indeed, setting it to WinXP SP2 compatibility mode will keep all the changes in the local program directory.  I don't think there is any other way to keep it from happening.   

I don't understand how other portable applications are supposed to deal with it though.

Whoa.  So I just checked it with XYplorer and without running in compatibility mode the INI changes are actually kept locally.  Even the copy I'm running on my workstation has its changes local without using the AppData VirtualStore.

Liquidmantis:
The compatibility mode doesn't seem to be a very good workaround.  Every time I exist FARR it seems to clear the compatibility mode checkbox.  Then on next launch it's back to using the AppData location again.

Navigation

[0] Message Index

[*] Previous page

Go to full version