Mortscript to run licence key   

Mortscript to run licence key

Postby talljohn » Thu Aug 29, 2013 2:41 pm

Hi, I am hoping for some help. I have a Memory-Map install on a Peaklife GPS running Wince, however each time I restart the device the licence key needs to run again. This works OK if the device is connected to a PC and I double click on the licence key each time, so to get it working on each restart I have created the following script, however, it doesn't seem to activate the licence key before it starts the exe. Can anyone advise where I may be going wrong?

Run ("\SDMMC\MMRA540\licence-e33ba95b5.mmlicinst")
Sleep (5000)
Run ("\SDMMC\MMRA540\Memory-Map_CE2.exe")

Thanks,
talljohn offline


Junior Member



 
Joined: Sat Jul 27, 2013 5:43 pm
Posts: 6
Has thanked: 0 time
Been thanked: 0 time

Postby Fatboyfun » Thu Aug 29, 2013 9:48 pm

When you say "connect to a pc", are you running the license on the pc?

If that's the case then you can't run X86 applications on an arm device.
Fatboyfun offline


User avatar Ex Moderator



 
Joined: Mon May 17, 2010 5:34 pm
Posts: 5782
Has thanked: 2 times
Been thanked: 408 times

Postby talljohn » Fri Aug 30, 2013 10:48 am

No, licence runs on the device. I subsequently discovered that the licence key creates a number of licence files on the device itself under Application Data. These get deleted on a re-start, so I copied these files to the sd card and edited the mortscript to include an XCopy, and that sorted the problem out. Thanks for responding.
talljohn offline


Junior Member



 
Joined: Sat Jul 27, 2013 5:43 pm
Posts: 6
Has thanked: 0 time
Been thanked: 0 time

Postby Fatboyfun » Fri Aug 30, 2013 11:54 am

That's the way I would have done it myself, well done :)
Fatboyfun offline


User avatar Ex Moderator



 
Joined: Mon May 17, 2010 5:34 pm
Posts: 5782
Has thanked: 2 times
Been thanked: 408 times


Return to Tools & Tutorials

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 2 guests