Switch to full style
Topic locked

Mortscript to run licence key

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,

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.

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.

Fri Aug 30, 2013 11:54 am

That's the way I would have done it myself, well done :)
Topic locked