Page 1 of 1

Win32 won't associate .rev nor .livecode with LiveCode.exe

Posted: Sat Jul 02, 2011 2:56 am
by BarrySumpter
Win32 won't associate .rev nor .livecode with LiveCode.exe v4.6.2
Anyone else having this issue?

I've uninstalled all versions.
Rebooted.
Reinstalled v4.6.2

Still won't associate.

Even when I tell it to associate by specifically pointing to LiveCode.exe it won't return LiveCode as an option.

What's up with that?

Re: Win32 won't associate lrev nor 'livecode with LiveCode.exe

Posted: Sat Jul 02, 2011 6:32 pm
by townsend
When I installed 4.6.2 LiveCode checked the association and told me it was not the default association. Did I want to change it? I said yes. Now when I run, 4.6.1, I get the same prompt.

So it seems that LiveCode always checks when it starts up. Try this. Instead of just double clicking on the LiveCode icon, do a right click and select, Run as Administrator. I often have to do that when a program is going to make some change to the \Windows or \Program Files folders.

Re: Win32 won't associate .rev nor .livecode with LiveCode.exe

Posted: Sat Jul 02, 2011 10:26 pm
by BarrySumpter
I'm pretty sure I wrote about that dialog NOT working for me on first install of 4.6.2.

Is that Run as Admin for WinXP 32bit?

My WinXP logon already has administrator rights.

You have to have a password for Administrator to use Run as Administrator in WinXp 32bit.
I don't.

Re: Win32 won't associate .rev nor .livecode with LiveCode.exe

Posted: Sun Jul 03, 2011 4:49 am
by BarrySumpter
Found this
http://windowsxp.mvps.org/utils/fileextinfo.zip

which produced this
(which looks like everything is trying to point to 4.6.1
even after uninstalling 4.6.1 then reinstalling 4.6.2)
and the same for .rev :

Code: Select all

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
File association information for [.LIVECODE] file type
Generated by FileExtInfo v2.0 on 3/07/2011 1:42:48 PM

FileExtInfo © 2005-2007 Ramesh Srinivasan.
Homepage: http://www.winhelponline.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


[HKEY_CLASSES_ROOT\.LIVECODE]
@="LiveCodeStack"


[HKEY_CLASSES_ROOT\LiveCodeStack]
"EditFlags"=hex:00,00,00,00

[HKEY_CLASSES_ROOT\LiveCodeStack\DefaultIcon]
@="C:\\Program Files\\RunRev\\LiveCode 4.6.1\\LiveCode.exe,1"

[HKEY_CLASSES_ROOT\LiveCodeStack\Shell]

[HKEY_CLASSES_ROOT\LiveCodeStack\Shell\Open]

[HKEY_CLASSES_ROOT\LiveCodeStack\Shell\Open\Command]
@="\"C:\\Program Files\\RunRev\\LiveCode 4.6.1\\LiveCode.exe\" \"%1\""


[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.LIVECODE]
"Application"="firefox.exe"

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.LIVECODE\OpenWithList]
"a"="LiveCode.exe"
"MRUList"="dacb"
"b"="IEXPLORE.EXE"
"c"="Script Reporter.exe"
"d"="firefox.exe"

[HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\FileExts\.LIVECODE\OpenWithProgids]
"LiveCodeStack"=hex(0):


Re: Win32 won't associate lrev nor 'livecode with LiveCode.exe

Posted: Sun Jul 03, 2011 10:55 am
by Mark
Hi Barry,

I can only say that you're not alone in this. I have exactly the same problem. If RunRev would use my installer maker, they wouldn't have that problem ;-)

Kind regards,

Mark

Re: Win32 won't associate lrev nor 'livecode with LiveCode.exe

Posted: Sun Jul 03, 2011 11:58 am
by mhoneywill
Hi Barry,

I had exactly the same problem and assumed it was my windows setup, seeing your problem makes me think the installer for Livecode V4.6.2 is broken.

I hacked the registry to make it work, But I definitely think this should be reported to RunRev as a bug.

Are you familiar with the windows registry? if so brief instructions are below to get it to work otherwise be careful "There be dragons" if you fiddle with the registry without knowing what you are doing.

I've just done a clean install on a virtual machine of V4.6.2 when it first runs a message comes up asking about file associations and if you want to set them, if you accept this then the file associations are set correctly. There is a check box on this dialogue to stop the question being asked on every startup. BUT this does not seem to work the question is only asked once!.

I don't know how to force Livecode to re asck this question, Heather if you are reading this maybe you could help here?

Also when you uninstall Livecode the file associations are NOT removed, naughty RunRev!

I've tried uninstalling V4.6.2 then installing V4.6.1 and V4.6.1 asked to associate file extensions, next I installed V4.6.2 alongside V4.6.1 and that correctly asked to associate extensions.

Next I removed V4.6.2 now associations are broken because they point to the non existent V4.6.2 installation, running up V4.6.1 it asked to re-associate extensions if you say NO and check the "don't ask me again check box" everything is now broken as without hacking the directory you can't correct the association. Something is not quite right here and RunRev needs to look at it.

Hope the above helps, sorry its a bit short but I've not got much time over the next couple of days.

Cheers

Martin Honeywill

REGEDIT Instructions (Be Careful)

1. Look in HKCR (HKEY_CLASSES_ROOT) you will see entries for .rev and .livecode extensions
2. .rev points to "RevolutionStack" and .LiveCode points to "LiveCodeStack"
3. Next look at the entries in HKCR for RevolutionStck and LivecodeStack you will see they point to the exe file for the icon and the open command, here I found they were pointing to an earlier version of live code so I just edited the filename to point to the correct version.

Re: Win32 won't associate lrev nor 'livecode with LiveCode.exe

Posted: Mon Jul 04, 2011 1:47 am
by deebee
I had the same problem when upgrading Rev 4.0 to LC 4.5.
I ended up uninstalling Rev completely, then used CCleaner to clean the registry associations and then reinstalled LC. Success!

Re: Win32 won't associate lrev nor 'livecode with LiveCode.exe

Posted: Mon Jul 04, 2011 6:29 pm
by Klaus
I also see this phenomenon, but I don't care since I NEVER doubleclick a file on the desktop,
I always use the "Open" dialog :D

Re: Win32 won't associate .rev nor .livecode with LiveCode.exe

Posted: Mon Jul 04, 2011 11:49 pm
by BarrySumpter
from support ...
When you first install LiveCode, a dialog pops up asking you if you want to associate .livecode and .rev extensions with this version of LiveCode. If you click yes, it will update the registry appropriately.

As we release developer previews to those on the developer program so they can test new features and bug fixes, the installer doesn't automatically associate extensions (but instead allows on users to set them using the pop up method). This way users can have an older version of LiveCode for their core development, whilst use the latest version for testing new features etc.

The problem is if you dismiss this dialog, there's currently no way to get it to re-appear. We'll look into fixing that. I see that a solution to the issue was posted in the forum thread, please let us know if you are still stuck.

Re: Win32 won't associate .rev nor .livecode with LiveCode.exe

Posted: Tue Jul 05, 2011 12:05 am
by BarrySumpter
I don't think the registry association update in 4.6.2 is working. Full Stop.

I've proven that to myself uninstalling and reinstalling with the association ticked on.
Uninstalling all versions of LiveCode and reinstalling with the association ticked on.
Still the associations were not updated.

This association issues between 4.6.1 and 4.6.2
coupled with the required signature in the LC for Android update between 4.6.1 and 4.6.2
and the existing Android issue needing to remove previous installs
was the absolute worst scenario for this to happen.

Still batting a thousand with regards to every single issue that LiveCode, win32 and Android have to offer.

Had another win yesterday getting IIS to run on my InTRAnet and being able to access test web pages from the Android emulator and from my physical device.

So uncharactaristicly happy at the mo.

Re: Win32 won't associate .rev nor .livecode with LiveCode.exe

Posted: Tue Jul 26, 2011 8:12 am
by BarrySumpter
And back again.
For some reason my dictionary for 4.6.3 was empty.
So another LC developer metioned he just opened 4.6.2 and its dictionary.
Then closed both then opened 4.6.3 and dictionary was all ok.

My 4.6.2 had already been uninstalled to fix this associations issue.

So I had to reinstall 4.6.2 and open it and its dictionary.
Then close both.
Then open 4.6.3 and its dictionary now has data.

But the associations have now returned to 4.6.2.

grrrrr.

Code: Select all

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\LiveCodeStack\Shell\Open\Command]
@="\"c:\\Program Files\\RunRev\\LiveCode 4.6.3\\LiveCode.exe\" \"%1\""

Code: Select all

Windows Registry Editor Version 5.00

[HKEY_CLASSES_ROOT\LiveCodeStack\DefaultIcon]
@="c:\\Program Files\\RunRev\\LiveCode 4.6.3\\LiveCode.exe"

Re: Win32 won't associate .rev nor .livecode with LiveCode.exe

Posted: Thu Jul 28, 2011 10:57 pm
by BarrySumpter
From RunRev Support ...
...
We have found and fixed an issue with Dictionary display in 4.6.3. There is a new gm release available in your account today with this fix included.

We're already looking into the file associations issue for a future release.
...

This new gm release build is LiveCode 4.6.3 build 1445.

Re: Win32 won't associate .rev nor .livecode with LiveCode.exe

Posted: Sun Sep 04, 2011 1:41 pm
by WaltBrown
Luisa, yes, LC comes up, but when selected it does not appear in the resulting list of possible programs to associate.
Andyp, I don't have a Components folder, my LC is in ProgramFiles (x86).
Barry, thanks, that gave me a lead, so I started mucking about in RegEdit.

But then....dur.... there's a tool for this.

Start->Default Programs->Associate a file type or protocol with a program.

Worked perfectly. They are now associated with "LiveCode for Windows". Except the stacks no longer have LC stack icons, they have the generic Windows file icon now. So off to the MS site to see how I can recover the little stack icons.

Walt

Re: Win32 won't associate .rev nor .livecode with LiveCode.exe

Posted: Sun Sep 04, 2011 2:15 pm
by WaltBrown
www.defaultprogramseditor.com, a very neat donation-ware utility for lots of basic file parameter editing.
Walt

Re: Win32 won't associate .rev nor .livecode with LiveCode.exe

Posted: Sun Sep 04, 2011 2:30 pm
by BarrySumpter
Nice find Walt.
Thanks for posting that shortcut.