Help.
I upgraded my Java runtime to the latest and greatest and since then I can't double click on an RDMU file. I assume I need to run Setup.VBS, but its opening in notepad. My operating system is XP.
Help!!
RemoteMaster Setup????
Moderator: Moderators
-
vickyg2003
- Site Admin
- Posts: 7104
- Joined: Sat Mar 20, 2004 12:19 pm
- Location: Florida
- Contact:
RemoteMaster Setup????
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.
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.
-
Hamsterman
- Posts: 22
- Joined: Thu Jul 05, 2012 5:34 pm
Which program are you trying to run associated with .rmdu, and has it worked before?
For the .vbs file, try right-clicking on it and see if "open" or "open with" appears, since the default action may be to edit it or it has been associated with notepad/wordpad. Hopefully one of the remaining actions will execute it with something else.
I don't have an XP machine in front of me, so the menu names might be a little off. Win7 uses "Default Programs" and is annoyingly different:
For WindowsXP file associations, right-click on the Start button and select "Windows Explorer". From there, select View/Options (or Tools/View?).
A new window should open, select the 'Files' (or programs?) tab. There should be a list of every single kind of file association there. Scroll down to see if ".rmdu" is in there.
If there isn't, let me know. If there is, then press "Advanced" and then in the new window select "open" (execute?) and press "modify"
Under program location, you should see something like this (this is for my .jar extension):
"C:\Program Files (x86)\Java\jre7\bin\javaw.exe" -jar "%1" %*
Copy & paste that here, maybe a quote or something is missing.
By the way, I don't have my .rmdu files associated with any program. I tried associating it with RemoteMaster.jar, but Windows doesn't like that at all. I also tried it with RemoteMaster.exe, but it couldn't find the ini file and acted like a new installation, and then I don't think it ever opened the file.
Hamsterman
For the .vbs file, try right-clicking on it and see if "open" or "open with" appears, since the default action may be to edit it or it has been associated with notepad/wordpad. Hopefully one of the remaining actions will execute it with something else.
I don't have an XP machine in front of me, so the menu names might be a little off. Win7 uses "Default Programs" and is annoyingly different:
For WindowsXP file associations, right-click on the Start button and select "Windows Explorer". From there, select View/Options (or Tools/View?).
A new window should open, select the 'Files' (or programs?) tab. There should be a list of every single kind of file association there. Scroll down to see if ".rmdu" is in there.
If there isn't, let me know. If there is, then press "Advanced" and then in the new window select "open" (execute?) and press "modify"
Under program location, you should see something like this (this is for my .jar extension):
"C:\Program Files (x86)\Java\jre7\bin\javaw.exe" -jar "%1" %*
Copy & paste that here, maybe a quote or something is missing.
By the way, I don't have my .rmdu files associated with any program. I tried associating it with RemoteMaster.jar, but Windows doesn't like that at all. I also tried it with RemoteMaster.exe, but it couldn't find the ini file and acted like a new installation, and then I don't think it ever opened the file.
Hamsterman
-
Anthony_Patrick
- Posts: 104
- Joined: Fri Oct 13, 2006 5:23 pm
- Location: Burnaby, Canada
Re: RemoteMaster Setup????
I got tired of all the bugs in RM Setup, so I basically rewrote it. You can find my version here: http://www.hifi-remote.com/forums/dload ... e_id=12059vickyg2003 wrote:Help.
I upgraded my Java runtime to the latest and greatest and since then I can't double click on an RDMU file. I assume I need to run Setup.VBS, but its opening in notepad. My operating system is XP.
Help!!
The files in RMsetup.zip need to be copied into the RemoteMaster program directory (allow the old Setup.vbs to be replaced or rename the old Setup.vbs to OldSetup.vbs first).
The Setup.xxx sets up shortcuts and file associations for the current user. The AllUsersSetup.xxx sets up shortcuts and file associations for All Users. You can use the included Windows .cmd files (eg. Setup.cmd or AllUsersSetup.cmd) to execute the setup (in order to get around mis-associations with .vbs files).
AllUsersSetup elevates the security level and then runs Setup.vbs with parameters set to update the All Users areas of Windows and Windows Registry.
I have also included examples called HKLMsetup.cmd and DesktopSetup.cmd to illustrate how parameters can be used to control the setup. Read the comments in the code to see what is possible.
Example: Remote Master shortcuts can be placed into any of the Windows "Special Folders" by using the /RMmenuFolder= parameter. Google up "WshSpecialFolders" for the list.
Another example: If you just want to create another set of shortcuts in another program group, use the /RMmenuFolder to set the location, use the /RMmenuGroup to set the name of the shortcuts group folder, and set /RMfileAssoc="" to prevent file associations from recurring.
BTW: Double clicking the .vbs files should open "WScript.exe" to process them. If this doesn't work then that means something somewhere at sometime has set your file association for .vbs files to NotePad (or somesuch)- it is a nasty Windows feature that lets this happen.
Please test these setup programs as well as you can. If it works for you and others, maybe the JP1 group could include these setup files in the RM distribution - you have my permission.
Edited for clarity on 2013-09-18
Last edited by Anthony_Patrick on Wed Sep 18, 2013 4:11 am, edited 2 times in total.
Tony
I still think my suggested solution which is a "standard Windows" setup.exe is the better one. (Based upon Inno setup ) Although almost two years old and therefore not based on the current version, I think that it is in a state that can be discussed. (Sorry Tony...)
-
Anthony_Patrick
- Posts: 104
- Joined: Fri Oct 13, 2006 5:23 pm
- Location: Burnaby, Canada
I didn't know that another setup solution for RM was available, otherwise I would have tried that first.Barf wrote:I still think my suggested solution which is a "standard Windows" setup.exe is the better one. (Based upon Inno setup ) Although almost two years old and therefore not based on the current version, I think that it is in a state that can be discussed. (Sorry Tony...)
After I upgraded to Java 1.7 and uninstalled Java 1.6, RM wouldn't work anymore. When I tried to run the Setup.vbs, it malfunctioned in many different ways. I then did did a quick desk check of the Setup.vbs and figured a lot of different people had their fingers in it and that in its current state it just couldn't take any more band-aids. I wanted to learn more about Windows Scripting Host anyhow so I decided to spend a few hours (which I don't begrudge - Windows Scripting Host is kinda neat). The result of my effort was the new Setup.vbs and AllUsersSetup.vbs which I posted back to Hi-Fi remote. The new setup routines work with the existing Remote Master and are a lot more versatile (and bug-free) than the old Setup.vbs. IMHO the new code is a lot easier to follow and update if need be.
I agree with you in that given a Windows platform using a setup.exe or an MSI install script is the most familiar way to do things. However, I didn't know enough about how the old Setup.vbs put things together for Remote Master. I learned the gory details by untangling the old code and writing the new. In any case, I uploaded my new version of the setup for Remote Master after I got it working and alpha tested (by me). Best of all, I had a little fun writing the new code, learned Windows Scripting Host, and was glad to give back to the JP1 community.
So the new setup program is out there. It works with the most current version of the Remote Master distribution. It does a better job at finding javaw and gives a sensible error message when it can't (rather than just going off the deep-end) and it works with many different versions of Java. It doesn't create shortcuts to non-existent files. It is very versatile (it can install for current user only or for All Users). It can create Remote Master menus in any of the MicroSoft "Special Folders". It can even install the Remote Master menu suite in program groups other than "Remote Master". etc. etc. etc. These are the kinds of things a good installer program would let you do. It would be relatively easy to write a GUI called setup.exe to front-end this thing, but I' not going to bother. Typing "Wscript Setup.vbs" or "Wscript AllUsersSetup.vbs" at the command prompt isn't a difficult thing to do and I even provided Windows command script files (Setup.cmd and AllUsersSetup.cmd) so people could just double-click on these.
My philosophy is simply to use it if you like until something better comes along.
Tony
-
Anthony_Patrick
- Posts: 104
- Joined: Fri Oct 13, 2006 5:23 pm
- Location: Burnaby, Canada
The RM setup programs which I rewrote has been published for a month now. The latest version is: 1.4 - it is about 3 weeks old and seems stable. I have not found any new issues or bugs. You can still find it here: http://www.hifi-remote.com/forums/dload ... e_id=12059
Tony
-
vickyg2003
- Site Admin
- Posts: 7104
- Joined: Sat Mar 20, 2004 12:19 pm
- Location: Florida
- Contact:
Hey Tony, I don't mean to be ignoring you. I spent a few hours in January and figured out that VBS needed special handling. Got it up an running, a couple of weeks before Hammsterman said something and about 9 months before you answered.
I do find setting up RM to be a bit of a trial everytime I switch machines, but its well worth the effort. Hopefully I'm now good till 2020.
I do find setting up RM to be a bit of a trial everytime I switch machines, but its well worth the effort. Hopefully I'm now good till 2020.
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.
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.
-
Anthony_Patrick
- Posts: 104
- Joined: Fri Oct 13, 2006 5:23 pm
- Location: Burnaby, Canada
The Java version 1.7 updates break the old RM Setup program (if you remove the old Java version 1.6). It just goes totally off the rails.vickyg2003 wrote:Hey Tony, I don't mean to be ignoring you. I spent a few hours in January and figured out that VBS needed special handling. Got it up an running, a couple of weeks before Hammsterman said something and about 9 months before you answered.
I do find setting up RM to be a bit of a trial everytime I switch machines, but its well worth the effort. Hopefully I'm now good till 2020.
This is really what got me looking at the problem and rewriting the Setup program and making it "bullet proof".
Tony
Trying to clean up some open threads lying around...
I updated my Inno installer script, and put a new version for testing. It "happens" to contain my Girr import and the fix to this problem, but this should not stop anyone not interested in those issues.
This is a full-fledged Windows-style installer, much more user friendly than the current setup procedure. It also (optionally) installs the MAP and the RDF files. The initial "Select RDF/MAP" files of RemoteMaster is being taken care of by the installer. File associations, icons,start menu entries, uninstaller, all is there.
I hope to check in the installer script in svn later, as soon as I get some useful feedback.
And some seem to believe that I only support Linux....
PS. The name of the file is not to be taken seriously...
I updated my Inno installer script, and put a new version for testing. It "happens" to contain my Girr import and the fix to this problem, but this should not stop anyone not interested in those issues.
This is a full-fledged Windows-style installer, much more user friendly than the current setup procedure. It also (optionally) installs the MAP and the RDF files. The initial "Select RDF/MAP" files of RemoteMaster is being taken care of by the installer. File associations, icons,start menu entries, uninstaller, all is there.
I hope to check in the installer script in svn later, as soon as I get some useful feedback.
And some seem to believe that I only support Linux....
PS. The name of the file is not to be taken seriously...