mIRC Home    About    Download    Register    News    Help

Page 1 of 2 1 2 >
Topic Options
#183025 - 17/08/07 02:19 PM $mircdir
WideOpenSpace Offline
Vogon poet

Registered: 13/06/07
Posts: 157
Loc: ???
would be nice if option to mirc would be added
so user can set his default path.

forcing users to have mircdir set to C:\Documents and Settings\USER\Application Data\mIRC\ is plain retarded

especialy for non vista ones...

_________________________
The harder I chase my dreams the more I experience the time for smiles and tears...

Top
#183027 - 17/08/07 02:23 PM Re: $mircdir [Re: WideOpenSpace]
RoCk Offline
Hoopy frood

Registered: 16/12/02
Posts: 2009
From versions.txt

20. For Vista compatibility, new installations of mIRC now save all
settings in the User's "Application Data\mIRC" folder by default.

However, if the installer or mIRC find mirc.ini in the same folder
as mirc.exe they will use the mirc.exe folder for all settings.

Users installing over an old version of mIRC should therefore see
no change in behaviour.

The installer is now also aware of administrator and standard user
accounts and installs mIRC accordingly.

Top
#183029 - 17/08/07 02:23 PM Re: $mircdir [Re: WideOpenSpace]
hixxy Offline
Hoopy frood

Registered: 06/09/05
Posts: 2876
Nothing like reading the docs thoroughly eh laugh

Top
#183030 - 17/08/07 02:24 PM Re: $mircdir [Re: RoCk]
WideOpenSpace Offline
Vogon poet

Registered: 13/06/07
Posts: 157
Loc: ???
that doesnt justify this forced behaviour

what if i dont want to update over old, but just
dump the new mirc in another folder ?


Edited by WideOpenSpace (17/08/07 02:25 PM)
_________________________
The harder I chase my dreams the more I experience the time for smiles and tears...

Top
#183031 - 17/08/07 02:26 PM Re: $mircdir [Re: WideOpenSpace]
hixxy Offline
Hoopy frood

Registered: 06/09/05
Posts: 2876
Then create a blank mirc.ini file in the folder you're going to install mIRC in.

Top
#183034 - 17/08/07 02:31 PM Re: $mircdir [Re: WideOpenSpace]
RoCk Offline
Hoopy frood

Registered: 16/12/02
Posts: 2009
I could see this being an option in the installer, to force use of the selected installation folder for settings.

Top
#183050 - 17/08/07 03:13 PM Re: $mircdir [Re: WideOpenSpace]
starbucks_mafia Offline
Hoopy frood

Registered: 09/12/02
Posts: 2962
Loc: Norwich, UK
This is the recommended behaviour for all programs on multi-user systems (ie. everything since Win95/98/ME) and up until now mIRC been going against best-practice in leaving settings in the installation directory. What happens if someone on a Limited User Account wants to use mIRC? You think they should be forced to use the administrator's settings with no way to change them? What about multiple administrator accounts, should they all be forced to use the same settings?

Just about every program released in the last 6 years uses the User's Directory for storing settings, how many others have you called "retarded"? mIRC is now using the correct directories for all relevant data and that is a very good thing for anyone who even remotely cares about security or multi-user functionality.

You were moaning about mIRC's lack of support for Vista and now that it supports it fully (plus XP, 2000, and NT) you're still complaining because of the changes made to facilitate that! Unbelievable.
_________________________
Spelling mistakes, grammatical errors, and stupid comments are intentional.

Top
#183080 - 17/08/07 05:50 PM Re: $mircdir [Re: starbucks_mafia]
WideOpenSpace Offline
Vogon poet

Registered: 13/06/07
Posts: 157
Loc: ???
no i didnt moan on mirc support for vista, others did i just supported their statements.

i am moaning on forced things that have no optional possiblity
for choosing would user like the new setting or would like to stay on standard that was used until now.

and truely using mirc.ini as "workaround" is not good.
_________________________
The harder I chase my dreams the more I experience the time for smiles and tears...

Top
#183081 - 17/08/07 06:00 PM Re: $mircdir [Re: WideOpenSpace]
hixxy Offline
Hoopy frood

Registered: 06/09/05
Posts: 2876
If you install over an old installation, then nothing will change and your mIRC settings will stay where they always have been. It's only brand-new installations that will use the application data folder.

It seems perfectly reasonable to me!

Top
#183092 - 17/08/07 06:36 PM Re: $mircdir [Re: WideOpenSpace]
starbucks_mafia Offline
Hoopy frood

Registered: 09/12/02
Posts: 2962
Loc: Norwich, UK
For new users why give them the option of either setting up so that all users must use the same settings or setting up so that all users have their own settings? The first option is useless.

For those that have some pathological need for awkwardness then the mirc.ini trick exists to fool mIRC into thinking it is an upgrade of an old-style installation. I don't see why mIRC must always provide option after option whenever something changes even if the old way of doing things has no benefits over the new. Why must mIRC meet every user's unreasonable and impractical demands which no-one would even think to demand from any other peice of software.

Running your settings from the installation directory is bad practice, period. The upgrade functionality exists so that existing installations aren't broken by the upgrade, but there's no reason why mIRC should continue to support that bad practice by providing a GUI option - something that would "legitimise" the installation directory method in the eyes of many short-sighted users, whereas if the option weren't there they'd use mIRC happily without ever thinking twice about it.

If you're running as a single user on a machine then it doesn't matter one iota where the settings are kept. If you're running mIRC with multiple users then do you really think everyone wants to use the same settings and scripts and that everyone should have the same access and privileges on the computer to achieve it? Even if by magic all the users wanted to run the same script with the same settings all they need to do is use mIRC's command-line switches on their shortcuts to make mIRC use settings from a folder which all users can access, or you can use the mirc.ini trick when installing as people have stated.

So, why is any of that unreasonable?
_________________________
Spelling mistakes, grammatical errors, and stupid comments are intentional.

Top
#183097 - 17/08/07 07:10 PM Re: $mircdir [Re: starbucks_mafia]
WideOpenSpace Offline
Vogon poet

Registered: 13/06/07
Posts: 157
Loc: ???
you are insane
_________________________
The harder I chase my dreams the more I experience the time for smiles and tears...

Top
#183113 - 17/08/07 10:37 PM Re: $mircdir [Re: starbucks_mafia]
segosu Offline
Pikka bird

Registered: 17/08/07
Posts: 12
Having everything related to mIRC in the same directory is convenient for me. It makes for easy backups, and I can see an 'overview' of all the files I have relating to mIRC, since they're all there in that folder. It may be bad practise on multiuser systems but the fact is I'm not on a multiuser system.

Secondly, if you install mIRC two times they will both share the same settings in %appdata%. *this* is retarded, I have several mIRC installations for different things and now if I ever decide to make more I need to create a mirc.ini file in each dir which is an added hassle. Having an option in the installer would be a *good* thing.

Thirdly if I ever install mirc on someone else's PC just to use temporarily I will need to delete the files in both Program Files\mIRC *and* %appdata%\mIRC which is even more of a hassle. Especially since I may forget about the existence of %appdata%\mIRC which would keep incriminating logfiles seeing as mIRC logs by default.


Edited by segosu (17/08/07 10:37 PM)

Top
#183119 - 17/08/07 11:41 PM Re: $mircdir [Re: segosu]
Bekar Offline
Fjord artisan

Registered: 11/12/02
Posts: 503
Loc: Melbourne, Australia
For your thridly, put mIRC on a USB stick, and run it as -portable. Don't have to install it everywhere you go.

Top
#183123 - 17/08/07 11:51 PM Re: $mircdir [Re: Bekar]
segosu Offline
Pikka bird

Registered: 17/08/07
Posts: 12
Yes I know that (and I do it) but I don't always have a USB stick wherever I go.

Top
#183124 - 17/08/07 11:53 PM Re: $mircdir [Re: segosu]
Bekar Offline
Fjord artisan

Registered: 11/12/02
Posts: 503
Loc: Melbourne, Australia
Well, get one that attaches to your keyring.. wink

Top
#183140 - 18/08/07 02:03 AM Re: $mircdir [Re: starbucks_mafia]
Wims Offline
Planetary brain

Registered: 31/07/06
Posts: 3475
Loc: France
i think you misunderstood what he means, personnaly i agree with what he said.
Some users haven't Vista and Some users haven't several accounts (administrator or not) and in this case, users should be able to store data where they want.

I'm one of them of course but contrary to OP post, i tink create the empty folder with mirc.ini is a good workaround because you don't install mirc every days.

Edit : hum, i believed that


Edited by Wims (18/08/07 02:16 AM)
_________________________
Looking for a good help channel about mIRC? Check #mircscripting @ irc.swiftirc.net

Top
#183141 - 18/08/07 02:06 AM Re: $mircdir [Re: WideOpenSpace]
genius_at_work Offline
Hoopy frood

Registered: 08/10/05
Posts: 1741
I'm not sure why this is such an issue for so many people.

mIRC will still function exactly as it did before.

As the majority of mIRC users simply install a single copy of mIRC (to the default location), connect to a server, join some channels, and chat to people, the new file locations are irrelevent to most users.

Anyone who needs their files to be in the same directory as mirc.exe are the minority and are considered a special/advanced case. Therefore, special/advanced/legacy support has been maintained for those who need it. Since these users are considered 'advanced' when compared to the average user, it is presumed that they are able to engage their brains to organize mIRC they way they need to suit their special situation.

All you have to do is create a blank mirc.ini in the installation directory and mIRC will automatically populate the blank mirc.ini file with the correct (default) data.

Changing a new mIRC installation to legacy behavior:
- Run mIRC
- Type: //write $qt($+($nofile($mircexe),mirc.ini)) $null
- Close mIRC
- Run mIRC



-genius_at_work


Top
#183142 - 18/08/07 02:10 AM Re: $mircdir [Re: WideOpenSpace]
Jigsy Offline
Hoopy frood

Registered: 18/11/04
Posts: 798
Loc: I live inside your computer. S...
/help Command Line

Quote:

...

"C:\Program Files\mIRC\mirc.exe" -sUndernet

...

-r<path>

Sets the data path where mIRC saves mirc.ini as well as other files and data. If -r is specified without a path, the path is set to that of the mIRC executable.


You could always do: "C:\Program Files\mIRC\mirc.exe" -r

For now?
_________________________
This signature is currently out of order. We apologize for the inconvenience.

Top
#183144 - 18/08/07 02:16 AM Re: $mircdir [Re: genius_at_work]
Riamus2 Offline
Planetary brain

Registered: 13/10/04
Posts: 8327
Loc: MA, USA
Originally Posted By: genius_at_work
Changing a new mIRC installation to legacy behavior:
- Run mIRC
- Type: //write $qt($+($nofile($mircexe),mirc.ini)) $null
- Close mIRC
- Run mIRC


Another method rather than a blank mirc.ini (before or after installation) is to just copy your files from the appdata folder to your mIRC folder after installing. The blank mirc.ini is faster, of course. I'm just offering another option.

I agree with genius_at_work. For the most part, only advanced users will care about where their settings files are stored. And they should know how to handle that situation without needing any special option in the installer. I always just upgrade anyhow, so it doesn't affect me. Well, I don't really upgrade... I install it to a temporary folder, then copy the files that I really need into my mIRC folders (mirc.exe, mirc.chm, and servers.ini).
_________________________
Invision Support
#Invision on irc.irchighway.net

Top
#183257 - 18/08/07 08:13 PM Re: $mircdir [Re: segosu]
starbucks_mafia Offline
Hoopy frood

Registered: 09/12/02
Posts: 2962
Loc: Norwich, UK
1) I don't see why backups are any harder in the new configuration. The backup situation is in fact much better because now everything worthwhile is in your user directory so you're not backing up unnecessary files (ie. the mIRC exe and help files) and if you're creating a backup of all your programs' settings then you only need to backup your user dir, not your user dir plus a special exception for your mIRC installation directory.

2) Why would you need to install mIRC more than once anyway? mIRC's -r command line switch allows you to have a single mIRC installation from which you can run multiple instances each using separate settings and scripts.

3) It seems like a rare situation where you would need to temporarily install mIRC on somebody else's machine, an even rarer situation where you would be given administrator access to do that. I certainly don't see why any log files you left would be incriminating, sounds like maybe people shouldn't be giving you admin rights on their machines! As others have said though, there are already multiple solutions to this problem:
- Use the -portable switch
- Use the mirc.ini trick
- Use the -r command-line switch when you run mIRC
- Install mIRC to "%APPDATA%\mIRC" so there's only one location to delete
_________________________
Spelling mistakes, grammatical errors, and stupid comments are intentional.

Top
Page 1 of 2 1 2 >