Page 5 of 6
Posted: Thu Jul 29, 2010 1:57 pm
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 ?
Posted: Thu Jul 29, 2010 5:34 pm
by gfb107
Sorry, careless mistake. I actually tested this one.
SetupAsAdmin.vbs
Posted: Thu Jul 29, 2010 5:42 pm
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

Posted: Thu Jul 29, 2010 5:52 pm
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.
Posted: Thu Jul 29, 2010 6:01 pm
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.
Posted: Thu Jul 29, 2010 6:12 pm
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.
Posted: Thu Jul 29, 2010 6:23 pm
by gfb107
Try these updated versions of
SetupAsAdmin.vbs and
Setup.vbs.
Posted: Thu Jul 29, 2010 6:30 pm
by alanrichey
Yes, that looks good. And the message is correct
Program starts and file associations are good.
Posted: Thu Jul 29, 2010 6:46 pm
by gfb107
Finally!
Posted: Thu Jul 29, 2010 6:48 pm
by vickyg2003
Congratulations Greg.

Posted: Thu Jul 29, 2010 6:56 pm
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
Posted: Thu Jul 29, 2010 7:39 pm
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
Posted: Thu Jul 29, 2010 7:43 pm
by gfb107
I think I figured it out. Not enough quotes.
Setup.vbs
I'm done for today.
Posted: Thu Jul 29, 2010 8:02 pm
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 ?
Posted: Fri Jul 30, 2010 6:40 am
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.