RemoteMaster v1.99 is now available!

Discussion forum for JP1 software tools currently in use, or being developed, such as IR, KM, RemoteMaster, and other misc apps/tools.

Moderator: Moderators

alanrichey
Expert
Posts: 3533
Joined: Mon Mar 24, 2008 7:14 am
Location: UK/USA

Post by alanrichey »

Afraid not:

'Can not find script file "C:\Windows\System32\sCurrDir\Setup.vbs'

Your old version always found it, have you changed the path finding line ?
gfb107
Expert
Posts: 3411
Joined: Sun Aug 03, 2003 7:18 pm
Location: Cary, NC
Contact:

Post by gfb107 »

Sorry, careless mistake. I actually tested this one. SetupAsAdmin.vbs
alanrichey
Expert
Posts: 3533
Joined: Mon Mar 24, 2008 7:14 am
Location: UK/USA

Post by alanrichey »

Back to the "Unable to access jarfile: RemoteMaster.jar" message.

To be honest, just amending the installation instructions telling people to run setup.vbs from a command line box with the "Run as Administrator" is probably enough.

Unless you are enjoying the challenge :D
gfb107
Expert
Posts: 3411
Joined: Sun Aug 03, 2003 7:18 pm
Location: Cary, NC
Contact:

Post by gfb107 »

Please right-click on the Remote Master shortcut in Start > Programs > Remote Master, select Properties then copy'n'paste the contents of and copy'n'paste the contents of the Target and "Start in" fields.
alanrichey
Expert
Posts: 3533
Joined: Mon Mar 24, 2008 7:14 am
Location: UK/USA

Post by alanrichey »

Target: "C:\Program Files\Java\jre6\bin\javaw.exe" -jar RemoteMaster.jar

Start in: C:\Windows\System32

Which is wrong of course. Substituting the correct location in the Start in box and the program runs.

But the RMDU assocation is still not correct either so you have 2 problems.
gfb107
Expert
Posts: 3411
Joined: Sun Aug 03, 2003 7:18 pm
Location: Cary, NC
Contact:

Post by gfb107 »

Fortunately the problem in the shortcuts and the problem in the associations are symptoms of the same issue. So if I figure it out, it will solve all of them.

When SetupAsAdmin.vbs launches Setup.vbs, the current working directory changes to C:\Windows\System32, so Setup.vbs doesn't know what the installation directory is.

Stay tuned.
gfb107
Expert
Posts: 3411
Joined: Sun Aug 03, 2003 7:18 pm
Location: Cary, NC
Contact:

Post by gfb107 »

Try these updated versions of SetupAsAdmin.vbs and Setup.vbs.
alanrichey
Expert
Posts: 3533
Joined: Mon Mar 24, 2008 7:14 am
Location: UK/USA

Post by alanrichey »

Yes, that looks good. And the message is correct :)

Program starts and file associations are good.
gfb107
Expert
Posts: 3411
Joined: Sun Aug 03, 2003 7:18 pm
Location: Cary, NC
Contact:

Post by gfb107 »

Finally!
vickyg2003
Site Admin
Posts: 7104
Joined: Sat Mar 20, 2004 12:19 pm
Location: Florida
Contact:

Post by vickyg2003 »

Congratulations Greg. :)
Remember to provide feedback to let us know how the problem was solved and share your upgrades.

Tip: When creating an upgrade, always include ALL functions from the oem remote, even if you never plan on assigning them to a button. Complete function lists makes an upgrade more helpful to others.
alanrichey
Expert
Posts: 3533
Joined: Mon Mar 24, 2008 7:14 am
Location: UK/USA

Post by alanrichey »

Afraid I didn't look far enough. Not finished yet.

When I ran last setup.vbs under an administrator RMDU files showed the Remotemaster icon and double clicking them ran the program.

With your latest, RMDU are associated with Java and if I click on them I get the usual Cannot access jarfile message.

Don't normally do that so missed it.

And even if I run setup.vbs under an administrator command prompt it doesn't work .

Looks like whatever the last change you made to setup.vbs blocked the RMDU association.

Sorry
gfb107
Expert
Posts: 3411
Joined: Sun Aug 03, 2003 7:18 pm
Location: Cary, NC
Contact:

Post by gfb107 »

Argh.

Open a command line, run these commands and copy'n'paste the results:

Code: Select all

assoc .rmdu

ftype RMDeviceUpgrade

assoc .rmir

ftype RMRemoteConfig
gfb107
Expert
Posts: 3411
Joined: Sun Aug 03, 2003 7:18 pm
Location: Cary, NC
Contact:

Post by gfb107 »

I think I figured it out. Not enough quotes. Setup.vbs

I'm done for today.
alanrichey
Expert
Posts: 3533
Joined: Mon Mar 24, 2008 7:14 am
Location: UK/USA

Post by alanrichey »

And me :-)

Double-clicking on an RMDU file now brings up Remotemaster with the file loaded, so that is working OK.

But they don't have the RM icon, which I am sure I saw before. Or was that when they were associated with the standalone Remotemaster.exe file ?
gfb107
Expert
Posts: 3411
Joined: Sun Aug 03, 2003 7:18 pm
Location: Cary, NC
Contact:

Post by gfb107 »

Are you familiar with RegEdit?

Run regedit from a command prompt, then navigate to


My Computer\HKEY_CLASSES_ROOT\RMDeviceUpgrade\DefaultIcon and tell me what the (Default) value is.
Post Reply