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

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: Klaus, FourthWorld, heatherlaine, kevinmiller

Post Reply
BarrySumpter
Posts: 1201
Joined: Sun Apr 24, 2011 2:17 am

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

Post by BarrySumpter » Sat Jul 02, 2011 2:56 am

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?
Last edited by BarrySumpter on Tue Jul 26, 2011 8:06 am, edited 2 times in total.
All my best,
Barry G. Sumpter

Deving on WinXP sp3-32 bit. LC 5.5 Professional Build 1477
Android/iOS/Server Add Ons. OmegaBundle 2011 value ROCKS!
2 HTC HD2 Latest DorimanX Roms
Might have to reconsider LiveCode iOS Developer Program.

townsend
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 430
Joined: Sun Feb 13, 2011 8:43 pm
Location: Seattle, USA

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

Post by townsend » Sat Jul 02, 2011 6:32 pm

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.

BarrySumpter
Posts: 1201
Joined: Sun Apr 24, 2011 2:17 am

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

Post by BarrySumpter » Sat Jul 02, 2011 10:26 pm

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.
Last edited by BarrySumpter on Tue Jul 26, 2011 8:06 am, edited 2 times in total.
All my best,
Barry G. Sumpter

Deving on WinXP sp3-32 bit. LC 5.5 Professional Build 1477
Android/iOS/Server Add Ons. OmegaBundle 2011 value ROCKS!
2 HTC HD2 Latest DorimanX Roms
Might have to reconsider LiveCode iOS Developer Program.

BarrySumpter
Posts: 1201
Joined: Sun Apr 24, 2011 2:17 am

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

Post by BarrySumpter » Sun Jul 03, 2011 4:49 am

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):

Last edited by BarrySumpter on Tue Jul 26, 2011 8:07 am, edited 1 time in total.
All my best,
Barry G. Sumpter

Deving on WinXP sp3-32 bit. LC 5.5 Professional Build 1477
Android/iOS/Server Add Ons. OmegaBundle 2011 value ROCKS!
2 HTC HD2 Latest DorimanX Roms
Might have to reconsider LiveCode iOS Developer Program.

Mark
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 5142
Joined: Thu Feb 23, 2006 9:24 pm
Contact:

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

Post by Mark » Sun Jul 03, 2011 10:55 am

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
The biggest LiveCode group on Facebook: https://www.facebook.com/groups/livecode.developers
The book "Programming LiveCode for the Real Beginner"! Get it here! http://tinyurl.com/book-livecode

mhoneywill
Posts: 66
Joined: Fri Feb 05, 2010 7:31 pm

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

Post by mhoneywill » Sun Jul 03, 2011 11:58 am

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.

deebee
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 89
Joined: Mon Jul 19, 2010 6:59 am
Location: Illinois, USA

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

Post by deebee » Mon Jul 04, 2011 1:47 am

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!

Klaus
Posts: 11424
Joined: Sat Apr 08, 2006 8:41 am
Location: Germany
Contact:

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

Post by Klaus » Mon Jul 04, 2011 6:29 pm

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

BarrySumpter
Posts: 1201
Joined: Sun Apr 24, 2011 2:17 am

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

Post by BarrySumpter » Mon Jul 04, 2011 11:49 pm

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.
Last edited by BarrySumpter on Tue Jul 26, 2011 8:07 am, edited 1 time in total.
All my best,
Barry G. Sumpter

Deving on WinXP sp3-32 bit. LC 5.5 Professional Build 1477
Android/iOS/Server Add Ons. OmegaBundle 2011 value ROCKS!
2 HTC HD2 Latest DorimanX Roms
Might have to reconsider LiveCode iOS Developer Program.

BarrySumpter
Posts: 1201
Joined: Sun Apr 24, 2011 2:17 am

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

Post by BarrySumpter » Tue Jul 05, 2011 12:05 am

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.
All my best,
Barry G. Sumpter

Deving on WinXP sp3-32 bit. LC 5.5 Professional Build 1477
Android/iOS/Server Add Ons. OmegaBundle 2011 value ROCKS!
2 HTC HD2 Latest DorimanX Roms
Might have to reconsider LiveCode iOS Developer Program.

BarrySumpter
Posts: 1201
Joined: Sun Apr 24, 2011 2:17 am

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

Post by BarrySumpter » Tue Jul 26, 2011 8:12 am

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"
Attachments
LiveCode 4.6.3 - Reg Edits.zip
(696 Bytes) Downloaded 135 times
All my best,
Barry G. Sumpter

Deving on WinXP sp3-32 bit. LC 5.5 Professional Build 1477
Android/iOS/Server Add Ons. OmegaBundle 2011 value ROCKS!
2 HTC HD2 Latest DorimanX Roms
Might have to reconsider LiveCode iOS Developer Program.

BarrySumpter
Posts: 1201
Joined: Sun Apr 24, 2011 2:17 am

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

Post by BarrySumpter » Thu Jul 28, 2011 10:57 pm

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.
All my best,
Barry G. Sumpter

Deving on WinXP sp3-32 bit. LC 5.5 Professional Build 1477
Android/iOS/Server Add Ons. OmegaBundle 2011 value ROCKS!
2 HTC HD2 Latest DorimanX Roms
Might have to reconsider LiveCode iOS Developer Program.

WaltBrown
Posts: 466
Joined: Mon May 11, 2009 9:12 pm
Location: NE USA

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

Post by WaltBrown » Sun Sep 04, 2011 1:41 pm

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
Walt Brown
Omnis traductor traditor

WaltBrown
Posts: 466
Joined: Mon May 11, 2009 9:12 pm
Location: NE USA

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

Post by WaltBrown » Sun Sep 04, 2011 2:15 pm

www.defaultprogramseditor.com, a very neat donation-ware utility for lots of basic file parameter editing.
Walt
Walt Brown
Omnis traductor traditor

BarrySumpter
Posts: 1201
Joined: Sun Apr 24, 2011 2:17 am

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

Post by BarrySumpter » Sun Sep 04, 2011 2:30 pm

Nice find Walt.
Thanks for posting that shortcut.
All my best,
Barry G. Sumpter

Deving on WinXP sp3-32 bit. LC 5.5 Professional Build 1477
Android/iOS/Server Add Ons. OmegaBundle 2011 value ROCKS!
2 HTC HD2 Latest DorimanX Roms
Might have to reconsider LiveCode iOS Developer Program.

Post Reply

Return to “Getting Started with LiveCode - Complete Beginners”