Thoughts on installation of IR
Moderator: Moderators
Thoughts on installation of IR
It has been suggested that we package IR more from an installation perspective, perhaps using something like InstallShield or Wyse. As opposed to the way we do it today from a ZIP file.
As part of this the installation would create a default directory structure that could ease some of the issues we have today when users put files all over the place.
The structure would be something like this:
Create an IR directory off the root of C. This would contain all the executables like IR.exe, ExtInstall, IRToWav, etc. To avoid a user not having the necessary executables the installation would load these by default.
Under C:IR we would have subdirectories as follows:
RDF
KM
RM
The RDF directory is where we would direct the users to load the RDF's they need. As today the installation would not pre-load all the RDF's.
The KM and RM directories could be preloaded with the apps or we could just create them and instruct the users where to find the latest copy after the installation is completed.
A big advantage is that it would help the apps because we would have a permanent directory structure to locate items like RDF's.
Any way...throwing this out for comments.....
As part of this the installation would create a default directory structure that could ease some of the issues we have today when users put files all over the place.
The structure would be something like this:
Create an IR directory off the root of C. This would contain all the executables like IR.exe, ExtInstall, IRToWav, etc. To avoid a user not having the necessary executables the installation would load these by default.
Under C:IR we would have subdirectories as follows:
RDF
KM
RM
The RDF directory is where we would direct the users to load the RDF's they need. As today the installation would not pre-load all the RDF's.
The KM and RM directories could be preloaded with the apps or we could just create them and instruct the users where to find the latest copy after the installation is completed.
A big advantage is that it would help the apps because we would have a permanent directory structure to locate items like RDF's.
Any way...throwing this out for comments.....
Paul
The primary reason we don't package everything together is so that we don't have to re-release everything when one of them is changed.
Also, installers tend to be platform specific.
A common directory structure makes sense to me. There is no need to use an installer just for directory structure. A .zip file can do it too.
If we are going to do something like this, I would suggest a different structure. Let' say that we decided the default base installation directory should be C:\jp1.
In this base directory there would be the following sub-directorties:
bin - the executables (ir.exe, RemoteMaster.jar, keymap-master.xls, any needed dlls or shared libraries, etc.)
help - readmes and help documents
rdf - for the rdfs
upgrades - for device upgrades downloaded or created by RM/KM
config - for remote configurations (saved .ir or .txt files)
Also, installers tend to be platform specific.
A common directory structure makes sense to me. There is no need to use an installer just for directory structure. A .zip file can do it too.
If we are going to do something like this, I would suggest a different structure. Let' say that we decided the default base installation directory should be C:\jp1.
In this base directory there would be the following sub-directorties:
bin - the executables (ir.exe, RemoteMaster.jar, keymap-master.xls, any needed dlls or shared libraries, etc.)
help - readmes and help documents
rdf - for the rdfs
upgrades - for device upgrades downloaded or created by RM/KM
config - for remote configurations (saved .ir or .txt files)
-- Greg
Original RemoteMaster developer
JP1 How-To's and Software Tools
The #1 Code Search FAQ and it's answer (PLEASE READ FIRST)
Original RemoteMaster developer
JP1 How-To's and Software Tools
The #1 Code Search FAQ and it's answer (PLEASE READ FIRST)
-
Nils_Ekberg
- Expert
- Posts: 1689
- Joined: Sat Aug 02, 2003 2:08 pm
- Location: Near Albany, NY
-
ElizabethD
- Advanced Member
- Posts: 2348
- Joined: Mon Feb 09, 2004 12:07 pm
I like zip file approach. With a readme file listing what should be installed and where, something like "Here is the dir structure you must have and here is what should be in it ... or else your remote will fry ...".
InstallShield is OK so long as it doesn't get stuck on C: drive. The beauty of the current system - it's always available for a quick look off any network drive, anywhere in the world.
If users (me) want to move things, and you want a known place of things, then something identical to IR's "Set default path to RDF" would do the job.
InstallShield is OK so long as it doesn't get stuck on C: drive. The beauty of the current system - it's always available for a quick look off any network drive, anywhere in the world.
If users (me) want to move things, and you want a known place of things, then something identical to IR's "Set default path to RDF" would do the job.
Well, it could always be one of those self-extracting zip files that lets you specify the "unzip to" location. That way, people who don't want to mess with a zip file can just double click and install, but those of us who want to change the location, can do so (either by entering a new "unzip to" path or by manually unzipping the file.
My $0.02
Matt
My $0.02
Matt
-
mr_d_p_gumby
- Expert
- Posts: 1370
- Joined: Sun Aug 03, 2003 12:13 am
- Location: Newbury Park, CA
I agree.johann83 wrote:Well, it could always be one of those self-extracting zip files that lets you specify the "unzip to" location. That way, people who don't want to mess with a zip file can just double click and install, but those of us who want to change the location, can do so (either by entering a new "unzip to" path or by manually unzipping the file.
Plus the zip file approach still allows each of the apps to be packaged separately and independently. An installer would be overkill since there's no registry entries to set up nor any dlls to register.
Mike England
-
Nils_Ekberg
- Expert
- Posts: 1689
- Joined: Sat Aug 02, 2003 2:08 pm
- Location: Near Albany, NY
Based on a few comments/questions this approach was removed from the latest release of IR 5.04 and the RDF and RM Image distribution.
The fundemental problem was that unZIPing the files was creating folders for the common names from whatever folder the user was in at the time. It was set up to run from the root of the drive and either use the folders (jp1, jp1/RM, jp1/KM, jp1/Images, jp1/RDF etc.) if they existed or create them if they didn't.
Is there any value in resurrecting this discussion to find a way that satisfies everyone?
I only bring this up because diagnostics for Extinstall IRto WAV etc. would be much easier if we had a common directory structure.
The fundemental problem was that unZIPing the files was creating folders for the common names from whatever folder the user was in at the time. It was set up to run from the root of the drive and either use the folders (jp1, jp1/RM, jp1/KM, jp1/Images, jp1/RDF etc.) if they existed or create them if they didn't.
Is there any value in resurrecting this discussion to find a way that satisfies everyone?
I only bring this up because diagnostics for Extinstall IRto WAV etc. would be much easier if we had a common directory structure.
-
Nils_Ekberg
- Expert
- Posts: 1689
- Joined: Sat Aug 02, 2003 2:08 pm
- Location: Near Albany, NY
-
The Robman
- Site Owner
- Posts: 21886
- Joined: Fri Aug 01, 2003 9:37 am
- Location: Chicago, IL
- Contact:
Does Winzip allow you the option of not using the built in directory structure? I already have a very sensible directory structure that I'm quite happy with and it's always a drag to have to move all the files around once they've unzipped themselves into folders that I don't need.
Personally, I think IR, KM and RM all need totally seperate folders.
I agree that people should have a master "JP1" type folder for all remote related stuff, but again I don't think we should force the name. I call my folder "a remote files" where the leading "a" forces it to the top of the list in Windows Explorer.
I have a folder for KM upgrades, but it is divided into sub-folders based on device type, just like the folders at Yahoo.
Personally, I think IR, KM and RM all need totally seperate folders.
I agree that people should have a master "JP1" type folder for all remote related stuff, but again I don't think we should force the name. I call my folder "a remote files" where the leading "a" forces it to the top of the list in Windows Explorer.
I have a folder for KM upgrades, but it is divided into sub-folders based on device type, just like the folders at Yahoo.
Rob
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!
www.hifi-remote.com
Please don't PM me with remote questions, post them in the forums so all the experts can help!