XY crashes when running installers

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
bdeshi
Posts: 4256
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612
Contact:

Re: XY crashes when running installers

Post by bdeshi »

On your old xyplorer, enter this in the addressbar: ::text toolbar();
Copy the text. On your new XY, type ::toolbar("copied text here, inside the quotes");
Toolbar setting is also available in the ini (obvsly). Search for toolbar=

Did you copy over CC, UDC etc already? Help's here.
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

Stef123

Re: XY crashes when running installers

Post by Stef123 »

SammaySarkar wrote:Did you copy over CC, UDC etc already? Help's here.
Thanks. Except for toolbars, everything is pretty straightforward.
Where do you get this from - this "::text toolbar()" thing? It's not that I wouldn't have searched .... :|

Anyway, pasting my old stuff into the new version makes it crash :blackstorm: interesting - guess I touched a nerve here
SammaySarkar wrote: Toolbar setting is also available in the ini (obvsly).
What do mean by "also"? Maybe that's what causing my trouble - some important component missing in my data folder?
Meanwhile I am hammering away ... with WinMerge ... chipping off pieces from ini to ini

bdeshi
Posts: 4256
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612
Contact:

Re: XY crashes when running installers

Post by bdeshi »

Where do you get this from - this "::text toolbar()" thing?
toolbar() is actually a documented scripting function. but no woe-ries, there are a lot many of them, you keep finding new ones everyday...
And by also, I meant the toolbar settings are obviously (also) saved in the XYplorer.ini file, under the section [General].
pasting my old stuff into the new version makes it crash
I don't think toolbar buttons can crash XY! The only things that come to mind which might cause trouble with folders is fvs.dat and the panes folder . Try renaming these two items [renaming "panes" will muck up the column layout...] and restart XY without saving.
Sorry for the confusion :oops: :oops: . Reverted strikeout and file upload. Just check that the problem is solved when you do ^that.
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

Stef123

Re: XY crashes when running installers

Post by Stef123 »

SammaySarkar wrote:And by also, I meant the toolbar settings are obviously (also) saved in the XYplorer.ini file, under the section [General].
Again, what do you mean by "also"? Sorry, I am just not getting it. So we have the ini - and what else? Do those other storage locations complement the ini or do they simply mirror it?

The [General] section in my ini only contains a rather "meaningless" sequence of generic button names - there must be some other resource that's missing in my data folder.
SammaySarkar wrote:I don't think toolbar buttons can crash XY!
Yeah, I know, it doesn't seem to make sense. And yet that's what happening.

bdeshi
Posts: 4256
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612
Contact:

Re: XY crashes when running installers

Post by bdeshi »

I was talking about the toolbar button options, nothing else. i first showed you a script, then implied the same thing can be manually done by editing the ini. The confusing "also" stands for nothing else.
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

Stef123

Re: XY crashes when running installers

Post by Stef123 »

SammaySarkar wrote:the same thing can be manually done by editing the ini.
OK - so it's the same thing - the script simply reads it in from the ini - got it - it's a verbatim excerpt from the ini - the only storage place there is for TB-buttons?
In other words, there is nothing missing in my data folder in terms of TB settings?

bdeshi
Posts: 4256
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612
Contact:

Re: XY crashes when running installers

Post by bdeshi »

Nope, nothing that can't be set via "customize toolbar"
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

Stef123

Re: XY crashes when running installers

Post by Stef123 »

Thank you Sammay,
but there's got to be another place for it - need to do more research ...

bdeshi
Posts: 4256
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612
Contact:

Re: XY crashes when running installers

Post by bdeshi »

Oh, I think you're looking for ctb scripts. They're in the ini, section [CustomButtons]. Copy-paste, done.
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

Stef123

Re: XY crashes when running installers

Post by Stef123 »

SammaySarkar wrote:They're in the ini, section [CustomButtons]. Copy-paste, done.
Thanks - these lines look much more like it - they contain my actual toolbar settings - right captions, right icons ...

Copy-paste, done - :cry: easier said than done. First you have to figure it all out - what goes where and what sections you need to copy over (they're 1500 lines apart in my ini :!: ). If one is missing, it will crash my XY :evil:

Big thanks, though. I need to quit for today - lacking the stamina for running the whole length of the ini marathon.

Stef123

Re: XY crashes when running installers

Post by Stef123 »

OK - recycle bin is back again. :roll:
Definetely my fault - must have done s.th. stupid, though I really cannot pinpoint what exactly it was. Glad to have it back, because handling the RB within XY is really quite something. 8)

bdeshi
Posts: 4256
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612
Contact:

Re: XY crashes when running installers

Post by bdeshi »

Glad to hear it's better now!
Hope the original issue of installers crashing xy goes away too.
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

Post Reply