|
|
| 1 2 |
|
David Bolton-2
|
Lasonic and others,
I came across the documentation for file associations in NSIS but I don't know how to integrate this with CPack. Any ideas? http://nsis.sourceforge.net/File_Association -- David Bolton http://davidbolton.info ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf _______________________________________________ Mscore-developer mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/mscore-developer |
||||||||||||||||
|
lasconic
|
My nickname is Lasconic :) No offense :)
Here are the necessary script : http://nsis.sourceforge.net/File_Association FileAssociation.nsh has to be put in source tree as far as I understand. And the Cpack code might be something like : # File types association: SET(CPACK_NSIS_DEFINES " !include FileAssociation.nsh ") SET(CPACK_NSIS_EXTRA_INSTALL_COMMANDS " \\\${registerExtension} \\\"$INSTDIR\\bin\\mscore.exe\\\" \\\".mscx\\\" \\\"MuseScore File\\\" \\\${registerExtension} \\\"$INSTDIR\\bin\\mscore.exe\\\" \\\".mscz\\\" \\\"Compressed MuseScore File\\\" ") SET(CPACK_NSIS_EXTRA_UNINSTALL_COMMANDS " \\\${unregisterExtension} \\\".mscx\\\" \\\"MuseScore File\\\" \\\${unregisterExtension} \\\".mscz\\\" \\\"Compressed MuseScore File\\\" ") I didn't test yet. Tell me if you want me to do it to avoid double work. Lasconic 2009/4/28 David Bolton <[hidden email]>: > Lasonic and others, > > I came across the documentation for file associations in NSIS but I > don't know how to integrate this with CPack. Any ideas? > > http://nsis.sourceforge.net/File_Association > > -- > David Bolton > http://davidbolton.info > > > ------------------------------------------------------------------------------ > Register Now & Save for Velocity, the Web Performance & Operations > Conference from O'Reilly Media. Velocity features a full day of > expert-led, hands-on workshops and two days of sessions from industry > leaders in dedicated Performance & Operations tracks. Use code vel09scf > and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf > _______________________________________________ > Mscore-developer mailing list > [hidden email] > https://lists.sourceforge.net/lists/listinfo/mscore-developer > ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf _______________________________________________ Mscore-developer mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/mscore-developer |
||||||||||||||||
|
David Bolton-2
|
Lasconic,
Thanks for the code. I made some adjustments to the backslashes to get it to build (see r.1772). I had trouble with having more than one command per line and tried separating the commands into separate SET statements. This did not work since the second SET statement (for .mscz) overrides the first (for .mscx). I ran out of time to test more alternatives this evening. I will let you look at it over the next few days before I make any further changes. David P.S. Sorry about the name. I'm not sure why I keep dropping that "c". I know it's supposed to be there. Lasconic wrote: > My nickname is Lasconic :) No offense :) > > Here are the necessary script : http://nsis.sourceforge.net/File_Association > FileAssociation.nsh has to be put in source tree as far as I understand. > > And the Cpack code might be something like : > > # File types association: > SET(CPACK_NSIS_DEFINES " > !include FileAssociation.nsh > ") > > SET(CPACK_NSIS_EXTRA_INSTALL_COMMANDS " > \\\${registerExtension} \\\"$INSTDIR\\bin\\mscore.exe\\\" > \\\".mscx\\\" \\\"MuseScore File\\\" > \\\${registerExtension} \\\"$INSTDIR\\bin\\mscore.exe\\\" > \\\".mscz\\\" \\\"Compressed MuseScore File\\\" > ") > SET(CPACK_NSIS_EXTRA_UNINSTALL_COMMANDS " > \\\${unregisterExtension} \\\".mscx\\\" \\\"MuseScore File\\\" > \\\${unregisterExtension} \\\".mscz\\\" \\\"Compressed MuseScore File\\\" > ") > > > I didn't test yet. Tell me if you want me to do it to avoid double work. > Lasconic > > 2009/4/28 David Bolton <[hidden email]>: > >> Lasonic and others, >> >> I came across the documentation for file associations in NSIS but I >> don't know how to integrate this with CPack. Any ideas? >> >> http://nsis.sourceforge.net/File_Association >> >> -- >> David Bolton >> http://davidbolton.info >> ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf _______________________________________________ Mscore-developer mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/mscore-developer |
||||||||||||||||
|
wschweer
|
There is probably another method to extend nsis functionality by replacing the
cmake file NSIS.template.in with a local copy and by editing this copy. If this file is in the CMAKE_MODULE_PATH, then cmake should pick this modified file in the build process. (see http://www.cmake.org/pipermail/cmake/2007-January/012649.html) Werner On Wednesday 29 April 2009 08:56:10 David Bolton wrote: > Lasconic, > > Thanks for the code. I made some adjustments to the backslashes to get > it to build (see r.1772). I had trouble with having more than one > command per line and tried separating the commands into separate SET > statements. This did not work since the second SET statement (for .mscz) > overrides the first (for .mscx). I ran out of time to test more > alternatives this evening. I will let you look at it over the next few > days before I make any further changes. > > David > P.S. Sorry about the name. I'm not sure why I keep dropping that "c". I > know it's supposed to be there. > > Lasconic wrote: > > My nickname is Lasconic :) No offense :) > > > > Here are the necessary script : > > http://nsis.sourceforge.net/File_Association FileAssociation.nsh has to > > be put in source tree as far as I understand. > > > > And the Cpack code might be something like : > > > > # File types association: > > SET(CPACK_NSIS_DEFINES " > > !include FileAssociation.nsh > > ") > > > > SET(CPACK_NSIS_EXTRA_INSTALL_COMMANDS " > > \\\${registerExtension} \\\"$INSTDIR\\bin\\mscore.exe\\\" > > \\\".mscx\\\" \\\"MuseScore File\\\" > > \\\${registerExtension} \\\"$INSTDIR\\bin\\mscore.exe\\\" > > \\\".mscz\\\" \\\"Compressed MuseScore File\\\" > > ") > > SET(CPACK_NSIS_EXTRA_UNINSTALL_COMMANDS " > > \\\${unregisterExtension} \\\".mscx\\\" \\\"MuseScore File\\\" > > \\\${unregisterExtension} \\\".mscz\\\" \\\"Compressed MuseScore > > File\\\" ") > > > > > > I didn't test yet. Tell me if you want me to do it to avoid double work. > > Lasconic > > > > 2009/4/28 David Bolton <[hidden email]>: > >> Lasonic and others, > >> > >> I came across the documentation for file associations in NSIS but I > >> don't know how to integrate this with CPack. Any ideas? > >> > >> http://nsis.sourceforge.net/File_Association > >> > >> -- > >> David Bolton > >> http://davidbolton.info > > --------------------------------------------------------------------------- >--- Register Now & Save for Velocity, the Web Performance & Operations > Conference from O'Reilly Media. Velocity features a full day of > expert-led, hands-on workshops and two days of sessions from industry > leaders in dedicated Performance & Operations tracks. Use code vel09scf > and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf > _______________________________________________ > Mscore-developer mailing list > [hidden email] > https://lists.sourceforge.net/lists/listinfo/mscore-developer ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf _______________________________________________ Mscore-developer mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/mscore-developer |
||||||||||||||||
|
lasconic
|
You think it's better than the method in the SVN ?
2009/4/29 Werner Schweer <[hidden email]>: > There is probably another method to extend nsis functionality by replacing the > cmake file NSIS.template.in with a local copy and by editing this copy. If > this file is in the CMAKE_MODULE_PATH, then cmake should pick this modified > file in the build process. > (see http://www.cmake.org/pipermail/cmake/2007-January/012649.html) > > Werner > > On Wednesday 29 April 2009 08:56:10 David Bolton wrote: >> Lasconic, >> >> Thanks for the code. I made some adjustments to the backslashes to get >> it to build (see r.1772). I had trouble with having more than one >> command per line and tried separating the commands into separate SET >> statements. This did not work since the second SET statement (for .mscz) >> overrides the first (for .mscx). I ran out of time to test more >> alternatives this evening. I will let you look at it over the next few >> days before I make any further changes. >> >> David >> P.S. Sorry about the name. I'm not sure why I keep dropping that "c". I >> know it's supposed to be there. >> >> Lasconic wrote: >> > My nickname is Lasconic :) No offense :) >> > >> > Here are the necessary script : >> > http://nsis.sourceforge.net/File_Association FileAssociation.nsh has to >> > be put in source tree as far as I understand. >> > >> > And the Cpack code might be something like : >> > >> > # File types association: >> > SET(CPACK_NSIS_DEFINES " >> > !include FileAssociation.nsh >> > ") >> > >> > SET(CPACK_NSIS_EXTRA_INSTALL_COMMANDS " >> > \\\${registerExtension} \\\"$INSTDIR\\bin\\mscore.exe\\\" >> > \\\".mscx\\\" \\\"MuseScore File\\\" >> > \\\${registerExtension} \\\"$INSTDIR\\bin\\mscore.exe\\\" >> > \\\".mscz\\\" \\\"Compressed MuseScore File\\\" >> > ") >> > SET(CPACK_NSIS_EXTRA_UNINSTALL_COMMANDS " >> > \\\${unregisterExtension} \\\".mscx\\\" \\\"MuseScore File\\\" >> > \\\${unregisterExtension} \\\".mscz\\\" \\\"Compressed MuseScore >> > File\\\" ") >> > >> > >> > I didn't test yet. Tell me if you want me to do it to avoid double work. >> > Lasconic >> > >> > 2009/4/28 David Bolton <[hidden email]>: >> >> Lasonic and others, >> >> >> >> I came across the documentation for file associations in NSIS but I >> >> don't know how to integrate this with CPack. Any ideas? >> >> >> >> http://nsis.sourceforge.net/File_Association >> >> >> >> -- >> >> David Bolton >> >> http://davidbolton.info >> >> --------------------------------------------------------------------------- >>--- Register Now & Save for Velocity, the Web Performance & Operations >> Conference from O'Reilly Media. Velocity features a full day of >> expert-led, hands-on workshops and two days of sessions from industry >> leaders in dedicated Performance & Operations tracks. Use code vel09scf >> and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf >> _______________________________________________ >> Mscore-developer mailing list >> [hidden email] >> https://lists.sourceforge.net/lists/listinfo/mscore-developer > > > ------------------------------------------------------------------------------ > Register Now & Save for Velocity, the Web Performance & Operations > Conference from O'Reilly Media. Velocity features a full day of > expert-led, hands-on workshops and two days of sessions from industry > leaders in dedicated Performance & Operations tracks. Use code vel09scf > and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf > _______________________________________________ > Mscore-developer mailing list > [hidden email] > https://lists.sourceforge.net/lists/listinfo/mscore-developer > ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf _______________________________________________ Mscore-developer mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/mscore-developer |
||||||||||||||||
|
wschweer
|
Not necessarily for this special problem. But if the mechanism works, it would
enable other extension such as downloading a soundfont on user request during installation. Werner On Wednesday 29 April 2009 10:25:21 Lasconic wrote: > You think it's better than the method in the SVN ? > > 2009/4/29 Werner Schweer <[hidden email]>: > > There is probably another method to extend nsis functionality by > > replacing the cmake file NSIS.template.in with a local copy and by > > editing this copy. If this file is in the CMAKE_MODULE_PATH, then cmake > > should pick this modified file in the build process. > > (see http://www.cmake.org/pipermail/cmake/2007-January/012649.html) > > > > Werner > > > > On Wednesday 29 April 2009 08:56:10 David Bolton wrote: > >> Lasconic, > >> > >> Thanks for the code. I made some adjustments to the backslashes to get > >> it to build (see r.1772). I had trouble with having more than one > >> command per line and tried separating the commands into separate SET > >> statements. This did not work since the second SET statement (for .mscz) > >> overrides the first (for .mscx). I ran out of time to test more > >> alternatives this evening. I will let you look at it over the next few > >> days before I make any further changes. > >> > >> David > >> P.S. Sorry about the name. I'm not sure why I keep dropping that "c". I > >> know it's supposed to be there. > >> > >> Lasconic wrote: > >> > My nickname is Lasconic :) No offense :) > >> > > >> > Here are the necessary script : > >> > http://nsis.sourceforge.net/File_Association FileAssociation.nsh has > >> > to be put in source tree as far as I understand. > >> > > >> > And the Cpack code might be something like : > >> > > >> > # File types association: > >> > SET(CPACK_NSIS_DEFINES " > >> > !include FileAssociation.nsh > >> > ") > >> > > >> > SET(CPACK_NSIS_EXTRA_INSTALL_COMMANDS " > >> > \\\${registerExtension} \\\"$INSTDIR\\bin\\mscore.exe\\\" > >> > \\\".mscx\\\" \\\"MuseScore File\\\" > >> > \\\${registerExtension} \\\"$INSTDIR\\bin\\mscore.exe\\\" > >> > \\\".mscz\\\" \\\"Compressed MuseScore File\\\" > >> > ") > >> > SET(CPACK_NSIS_EXTRA_UNINSTALL_COMMANDS " > >> > \\\${unregisterExtension} \\\".mscx\\\" \\\"MuseScore > >> > File\\\" \\\${unregisterExtension} \\\".mscz\\\" \\\"Compressed > >> > MuseScore File\\\" ") > >> > > >> > > >> > I didn't test yet. Tell me if you want me to do it to avoid double > >> > work. Lasconic > >> > > >> > 2009/4/28 David Bolton <[hidden email]>: > >> >> Lasonic and others, > >> >> > >> >> I came across the documentation for file associations in NSIS but I > >> >> don't know how to integrate this with CPack. Any ideas? > >> >> > >> >> http://nsis.sourceforge.net/File_Association > >> >> > >> >> -- > >> >> David Bolton > >> >> http://davidbolton.info > >> > >> ------------------------------------------------------------------------ > >>--- --- Register Now & Save for Velocity, the Web Performance & > >> Operations Conference from O'Reilly Media. Velocity features a full day > >> of expert-led, hands-on workshops and two days of sessions from industry > >> leaders in dedicated Performance & Operations tracks. Use code vel09scf > >> and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf > >> _______________________________________________ > >> Mscore-developer mailing list > >> [hidden email] > >> https://lists.sourceforge.net/lists/listinfo/mscore-developer > > > > ------------------------------------------------------------------------- > >----- Register Now & Save for Velocity, the Web Performance & Operations > > Conference from O'Reilly Media. Velocity features a full day of > > expert-led, hands-on workshops and two days of sessions from industry > > leaders in dedicated Performance & Operations tracks. Use code vel09scf > > and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf > > _______________________________________________ > > Mscore-developer mailing list > > [hidden email] > > https://lists.sourceforge.net/lists/listinfo/mscore-developer > > --------------------------------------------------------------------------- >--- Register Now & Save for Velocity, the Web Performance & Operations > Conference from O'Reilly Media. Velocity features a full day of > expert-led, hands-on workshops and two days of sessions from industry > leaders in dedicated Performance & Operations tracks. Use code vel09scf > and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf > _______________________________________________ > Mscore-developer mailing list > [hidden email] > https://lists.sourceforge.net/lists/listinfo/mscore-developer ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf _______________________________________________ Mscore-developer mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/mscore-developer |
||||||||||||||||
|
lasconic
|
I have a lead for register the extension. The order of the argument is
not good. I commit the change in r1774. Regarding the overriding I put both comment in one SET Unregister does not work for the moment and I don't know why Any idea david or someone? Lasconic 2009/4/29 Werner Schweer <[hidden email]>: > Not necessarily for this special problem. But if the mechanism works, it would > enable other extension such as downloading a soundfont on user request during > installation. > > Werner > > On Wednesday 29 April 2009 10:25:21 Lasconic wrote: >> You think it's better than the method in the SVN ? >> >> 2009/4/29 Werner Schweer <[hidden email]>: >> > There is probably another method to extend nsis functionality by >> > replacing the cmake file NSIS.template.in with a local copy and by >> > editing this copy. If this file is in the CMAKE_MODULE_PATH, then cmake >> > should pick this modified file in the build process. >> > (see http://www.cmake.org/pipermail/cmake/2007-January/012649.html) >> > >> > Werner >> > >> > On Wednesday 29 April 2009 08:56:10 David Bolton wrote: >> >> Lasconic, >> >> >> >> Thanks for the code. I made some adjustments to the backslashes to get >> >> it to build (see r.1772). I had trouble with having more than one >> >> command per line and tried separating the commands into separate SET >> >> statements. This did not work since the second SET statement (for .mscz) >> >> overrides the first (for .mscx). I ran out of time to test more >> >> alternatives this evening. I will let you look at it over the next few >> >> days before I make any further changes. >> >> >> >> David >> >> P.S. Sorry about the name. I'm not sure why I keep dropping that "c". I >> >> know it's supposed to be there. >> >> >> >> Lasconic wrote: >> >> > My nickname is Lasconic :) No offense :) >> >> > >> >> > Here are the necessary script : >> >> > http://nsis.sourceforge.net/File_Association FileAssociation.nsh has >> >> > to be put in source tree as far as I understand. >> >> > >> >> > And the Cpack code might be something like : >> >> > >> >> > # File types association: >> >> > SET(CPACK_NSIS_DEFINES " >> >> > !include FileAssociation.nsh >> >> > ") >> >> > >> >> > SET(CPACK_NSIS_EXTRA_INSTALL_COMMANDS " >> >> > \\\${registerExtension} \\\"$INSTDIR\\bin\\mscore.exe\\\" >> >> > \\\".mscx\\\" \\\"MuseScore File\\\" >> >> > \\\${registerExtension} \\\"$INSTDIR\\bin\\mscore.exe\\\" >> >> > \\\".mscz\\\" \\\"Compressed MuseScore File\\\" >> >> > ") >> >> > SET(CPACK_NSIS_EXTRA_UNINSTALL_COMMANDS " >> >> > \\\${unregisterExtension} \\\".mscx\\\" \\\"MuseScore >> >> > File\\\" \\\${unregisterExtension} \\\".mscz\\\" \\\"Compressed >> >> > MuseScore File\\\" ") >> >> > >> >> > >> >> > I didn't test yet. Tell me if you want me to do it to avoid double >> >> > work. Lasconic >> >> > >> >> > 2009/4/28 David Bolton <[hidden email]>: >> >> >> Lasonic and others, >> >> >> >> >> >> I came across the documentation for file associations in NSIS but I >> >> >> don't know how to integrate this with CPack. Any ideas? >> >> >> >> >> >> http://nsis.sourceforge.net/File_Association >> >> >> >> >> >> -- >> >> >> David Bolton >> >> >> http://davidbolton.info >> >> >> >> ------------------------------------------------------------------------ >> >>--- --- Register Now & Save for Velocity, the Web Performance & >> >> Operations Conference from O'Reilly Media. Velocity features a full day >> >> of expert-led, hands-on workshops and two days of sessions from industry >> >> leaders in dedicated Performance & Operations tracks. Use code vel09scf >> >> and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf >> >> _______________________________________________ >> >> Mscore-developer mailing list >> >> [hidden email] >> >> https://lists.sourceforge.net/lists/listinfo/mscore-developer >> > >> > ------------------------------------------------------------------------- >> >----- Register Now & Save for Velocity, the Web Performance & Operations >> > Conference from O'Reilly Media. Velocity features a full day of >> > expert-led, hands-on workshops and two days of sessions from industry >> > leaders in dedicated Performance & Operations tracks. Use code vel09scf >> > and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf >> > _______________________________________________ >> > Mscore-developer mailing list >> > [hidden email] >> > https://lists.sourceforge.net/lists/listinfo/mscore-developer >> >> --------------------------------------------------------------------------- >>--- Register Now & Save for Velocity, the Web Performance & Operations >> Conference from O'Reilly Media. Velocity features a full day of >> expert-led, hands-on workshops and two days of sessions from industry >> leaders in dedicated Performance & Operations tracks. Use code vel09scf >> and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf >> _______________________________________________ >> Mscore-developer mailing list >> [hidden email] >> https://lists.sourceforge.net/lists/listinfo/mscore-developer > > > ------------------------------------------------------------------------------ > Register Now & Save for Velocity, the Web Performance & Operations > Conference from O'Reilly Media. Velocity features a full day of > expert-led, hands-on workshops and two days of sessions from industry > leaders in dedicated Performance & Operations tracks. Use code vel09scf > and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf > _______________________________________________ > Mscore-developer mailing list > [hidden email] > https://lists.sourceforge.net/lists/listinfo/mscore-developer > ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf _______________________________________________ Mscore-developer mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/mscore-developer |
||||||||||||||||
|
David Bolton-2
|
Lasconic wrote:
> Unregister does not work for the moment and I don't know why Any idea > david or someone? > Lasconic, The uninstaller has never removed any of the registry settings (which now includes file associations). This was on my list of things I want to look into but I don't have any answers yet. The other problem is that each new file you open via Windows Exporer opens a new instance of MuseScore. This can lead to high memory usage (particularly if you use large SoundFonts) and there may some unforeseen problems with preference settings, the Open Recent list, etc. It may even be a good idea to remove the file association code before the next prerelease--at least until we get a chance to address this. Any thoughts? -- David Bolton http://davidbolton.info ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf _______________________________________________ Mscore-developer mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/mscore-developer |
||||||||||||||||
|
lasconic
|
I tried to build on ubuntu 8.04 but the NSIS version shipped with this
ubuntu version is not compatible with the FileAssociation.nsh as provided in the SVN... NSIS version in hardy is 2.33-1 (http://packages.ubuntu.com/hardy/nsis) Current NSIS version is 2.44. I installed it from this PPA : https://launchpad.net/~misery/+archive/ppa I will report if it leads to some conflicts in my environment. Lasconic 2009/4/30 David Bolton <[hidden email]>: > Lasconic wrote: >> Unregister does not work for the moment and I don't know why Any idea >> david or someone? >> > > Lasconic, > > The uninstaller has never removed any of the registry settings (which > now includes file associations). This was on my list of things I want to > look into but I don't have any answers yet. > > The other problem is that each new file you open via Windows Exporer > opens a new instance of MuseScore. This can lead to high memory usage > (particularly if you use large SoundFonts) and there may some unforeseen > problems with preference settings, the Open Recent list, etc. It may > even be a good idea to remove the file association code before the next > prerelease--at least until we get a chance to address this. Any thoughts? > > -- > David Bolton > http://davidbolton.info > > > ------------------------------------------------------------------------------ > Register Now & Save for Velocity, the Web Performance & Operations > Conference from O'Reilly Media. Velocity features a full day of > expert-led, hands-on workshops and two days of sessions from industry > leaders in dedicated Performance & Operations tracks. Use code vel09scf > and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf > _______________________________________________ > Mscore-developer mailing list > [hidden email] > https://lists.sourceforge.net/lists/listinfo/mscore-developer > ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf _______________________________________________ Mscore-developer mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/mscore-developer |
||||||||||||||||
|
David Bolton-2
|
NSIS has it's own script for setting file associations that a came
across a few days ago. I've thought about using it since it allows you to set a different icon for documents than the main icon for the executable. Maybe their version will compile better on ubuntu? Their example script is found in Program Files\NSIS\Examples\makensis.nss I uploaded the document-style icon in r.1796 and added it to the resource header of mscore.exe so you can access it via "bin\\\\mscore.exe,1" (just like they do). David Lasconic wrote: > I tried to build on ubuntu 8.04 but the NSIS version shipped with this > ubuntu version is not compatible with the FileAssociation.nsh as > provided in the SVN... > NSIS version in hardy is 2.33-1 (http://packages.ubuntu.com/hardy/nsis) > Current NSIS version is 2.44. I installed it from this PPA : > https://launchpad.net/~misery/+archive/ppa > > I will report if it leads to some conflicts in my environment. > > Lasconic > > 2009/4/30 David Bolton <[hidden email]>: > >> Lasconic wrote: >> >>> Unregister does not work for the moment and I don't know why Any idea >>> david or someone? >>> >>> >> Lasconic, >> >> The uninstaller has never removed any of the registry settings (which >> now includes file associations). This was on my list of things I want to >> look into but I don't have any answers yet. >> >> The other problem is that each new file you open via Windows Exporer >> opens a new instance of MuseScore. This can lead to high memory usage >> (particularly if you use large SoundFonts) and there may some unforeseen >> problems with preference settings, the Open Recent list, etc. It may >> even be a good idea to remove the file association code before the next >> prerelease--at least until we get a chance to address this. Any thoughts? >> >> -- >> David Bolton >> http://davidbolton.info ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf _______________________________________________ Mscore-developer mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/mscore-developer |
||||||||||||||||
|
David Bolton-2
|
In reply to this post
by lasconic
Lasconic,
Could it be the backslashes that are causing problems? Anyway, here's another site that talks about registering Windows file types (without using FileAssociation.nsh) http://gergo.erdi.hu/blog/2006-10-08-registering_windows_file_types_with_nsis/ David Lasconic wrote: > I tried to build on ubuntu 8.04 but the NSIS version shipped with this > ubuntu version is not compatible with the FileAssociation.nsh as > provided in the SVN... > NSIS version in hardy is 2.33-1 (http://packages.ubuntu.com/hardy/nsis) > Current NSIS version is 2.44. I installed it from this PPA : > https://launchpad.net/~misery/+archive/ppa > > I will report if it leads to some conflicts in my environment. > > Lasconic > > 2009/4/30 David Bolton <[hidden email]>: > >> Lasconic wrote: >> >>> Unregister does not work for the moment and I don't know why Any idea >>> david or someone? >>> >>> >> Lasconic, >> >> The uninstaller has never removed any of the registry settings (which >> now includes file associations). This was on my list of things I want to >> look into but I don't have any answers yet. >> >> The other problem is that each new file you open via Windows Exporer >> opens a new instance of MuseScore. This can lead to high memory usage >> (particularly if you use large SoundFonts) and there may some unforeseen >> problems with preference settings, the Open Recent list, etc. It may >> even be a good idea to remove the file association code before the next >> prerelease--at least until we get a chance to address this. Any thoughts? >> >> -- >> David Bolton >> http://davidbolton.info >> >> ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf _______________________________________________ Mscore-developer mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/mscore-developer |
||||||||||||||||
|
lasconic
|
There is no problem. It's just a matter of upgrading NSIS to the last
version. It's ok for me. I think FileAssociation.nsh supports icons as well. No? This is ugly : http://gergo.erdi.hu/blog/2006-10-08-registering_windows_file_types_with_nsis/ Having it in a separated script, maintain by the nsis community seems better to me. What do you think? 2009/5/4 David Bolton <[hidden email]>: > Lasconic, > > Could it be the backslashes that are causing problems? > > Anyway, here's another site that talks about registering Windows file > types (without using FileAssociation.nsh) > http://gergo.erdi.hu/blog/2006-10-08-registering_windows_file_types_with_nsis/ > > David > > > > Lasconic wrote: >> I tried to build on ubuntu 8.04 but the NSIS version shipped with this >> ubuntu version is not compatible with the FileAssociation.nsh as >> provided in the SVN... >> NSIS version in hardy is 2.33-1 (http://packages.ubuntu.com/hardy/nsis) >> Current NSIS version is 2.44. I installed it from this PPA : >> https://launchpad.net/~misery/+archive/ppa >> >> I will report if it leads to some conflicts in my environment. >> >> Lasconic >> >> 2009/4/30 David Bolton <[hidden email]>: >> >>> Lasconic wrote: >>> >>>> Unregister does not work for the moment and I don't know why Any idea >>>> david or someone? >>>> >>>> >>> Lasconic, >>> >>> The uninstaller has never removed any of the registry settings (which >>> now includes file associations). This was on my list of things I want to >>> look into but I don't have any answers yet. >>> >>> The other problem is that each new file you open via Windows Exporer >>> opens a new instance of MuseScore. This can lead to high memory usage >>> (particularly if you use large SoundFonts) and there may some unforeseen >>> problems with preference settings, the Open Recent list, etc. It may >>> even be a good idea to remove the file association code before the next >>> prerelease--at least until we get a chance to address this. Any thoughts? >>> >>> -- >>> David Bolton >>> http://davidbolton.info >>> >>> > > > ------------------------------------------------------------------------------ > Register Now & Save for Velocity, the Web Performance & Operations > Conference from O'Reilly Media. Velocity features a full day of > expert-led, hands-on workshops and two days of sessions from industry > leaders in dedicated Performance & Operations tracks. Use code vel09scf > and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf > _______________________________________________ > Mscore-developer mailing list > [hidden email] > https://lists.sourceforge.net/lists/listinfo/mscore-developer > ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf _______________________________________________ Mscore-developer mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/mscore-developer |
||||||||||||||||
|
David Bolton-2
|
Lasconic,
I couldn't work out how to get FileAssociation.nsh to use the second icon ("mscore.exe,1") instead of the first ("mscore.exe,0") for .mscx and .mscz files. Maybe it can be modified for this purpose. David Lasconic wrote: > There is no problem. It's just a matter of upgrading NSIS to the last > version. It's ok for me. > I think FileAssociation.nsh supports icons as well. No? > This is ugly : http://gergo.erdi.hu/blog/2006-10-08-registering_windows_file_types_with_nsis/ > Having it in a separated script, maintain by the nsis community seems > better to me. What do you think? > > 2009/5/4 David Bolton <[hidden email]>: > >> Lasconic, >> >> Could it be the backslashes that are causing problems? >> >> Anyway, here's another site that talks about registering Windows file >> types (without using FileAssociation.nsh) >> http://gergo.erdi.hu/blog/2006-10-08-registering_windows_file_types_with_nsis/ >> >> David >> >> >> >> Lasconic wrote: >> >>> I tried to build on ubuntu 8.04 but the NSIS version shipped with this >>> ubuntu version is not compatible with the FileAssociation.nsh as >>> provided in the SVN... >>> NSIS version in hardy is 2.33-1 (http://packages.ubuntu.com/hardy/nsis) >>> Current NSIS version is 2.44. I installed it from this PPA : >>> https://launchpad.net/~misery/+archive/ppa >>> >>> I will report if it leads to some conflicts in my environment. >>> >>> Lasconic >>> >>> 2009/4/30 David Bolton <[hidden email]>: >>> >>> >>>> Lasconic wrote: >>>> >>>> >>>>> Unregister does not work for the moment and I don't know why Any idea >>>>> david or someone? >>>>> >>>>> >>>>> >>>> Lasconic, >>>> >>>> The uninstaller has never removed any of the registry settings (which >>>> now includes file associations). This was on my list of things I want to >>>> look into but I don't have any answers yet. >>>> >>>> The other problem is that each new file you open via Windows Exporer >>>> opens a new instance of MuseScore. This can lead to high memory usage >>>> (particularly if you use large SoundFonts) and there may some unforeseen >>>> problems with preference settings, the Open Recent list, etc. It may >>>> even be a good idea to remove the file association code before the next >>>> prerelease--at least until we get a chance to address this. Any thoughts? >>>> >>>> -- >>>> David Bolton >>>> http://davidbolton.info >>>> ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf _______________________________________________ Mscore-developer mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/mscore-developer |
||||||||||||||||
|
lasconic
|
Yes, I modified it.(change 0 by 1) I'm going to commit. Maybe we can
chat about all this? 2009/5/4 David Bolton <[hidden email]>: > Lasconic, > > I couldn't work out how to get FileAssociation.nsh to use the second > icon ("mscore.exe,1") instead of the first ("mscore.exe,0") for .mscx > and .mscz files. Maybe it can be modified for this purpose. > > David > > > Lasconic wrote: >> There is no problem. It's just a matter of upgrading NSIS to the last >> version. It's ok for me. >> I think FileAssociation.nsh supports icons as well. No? >> This is ugly : http://gergo.erdi.hu/blog/2006-10-08-registering_windows_file_types_with_nsis/ >> Having it in a separated script, maintain by the nsis community seems >> better to me. What do you think? >> >> 2009/5/4 David Bolton <[hidden email]>: >> >>> Lasconic, >>> >>> Could it be the backslashes that are causing problems? >>> >>> Anyway, here's another site that talks about registering Windows file >>> types (without using FileAssociation.nsh) >>> http://gergo.erdi.hu/blog/2006-10-08-registering_windows_file_types_with_nsis/ >>> >>> David >>> >>> >>> >>> Lasconic wrote: >>> >>>> I tried to build on ubuntu 8.04 but the NSIS version shipped with this >>>> ubuntu version is not compatible with the FileAssociation.nsh as >>>> provided in the SVN... >>>> NSIS version in hardy is 2.33-1 (http://packages.ubuntu.com/hardy/nsis) >>>> Current NSIS version is 2.44. I installed it from this PPA : >>>> https://launchpad.net/~misery/+archive/ppa >>>> >>>> I will report if it leads to some conflicts in my environment. >>>> >>>> Lasconic >>>> >>>> 2009/4/30 David Bolton <[hidden email]>: >>>> >>>> >>>>> Lasconic wrote: >>>>> >>>>> >>>>>> Unregister does not work for the moment and I don't know why Any idea >>>>>> david or someone? >>>>>> >>>>>> >>>>>> >>>>> Lasconic, >>>>> >>>>> The uninstaller has never removed any of the registry settings (which >>>>> now includes file associations). This was on my list of things I want to >>>>> look into but I don't have any answers yet. >>>>> >>>>> The other problem is that each new file you open via Windows Exporer >>>>> opens a new instance of MuseScore. This can lead to high memory usage >>>>> (particularly if you use large SoundFonts) and there may some unforeseen >>>>> problems with preference settings, the Open Recent list, etc. It may >>>>> even be a good idea to remove the file association code before the next >>>>> prerelease--at least until we get a chance to address this. Any thoughts? >>>>> >>>>> -- >>>>> David Bolton >>>>> http://davidbolton.info >>>>> > > ------------------------------------------------------------------------------ > Register Now & Save for Velocity, the Web Performance & Operations > Conference from O'Reilly Media. Velocity features a full day of > expert-led, hands-on workshops and two days of sessions from industry > leaders in dedicated Performance & Operations tracks. Use code vel09scf > and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf > _______________________________________________ > Mscore-developer mailing list > [hidden email] > https://lists.sourceforge.net/lists/listinfo/mscore-developer > ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf _______________________________________________ Mscore-developer mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/mscore-developer |
||||||||||||||||
|
David Bolton-2
|
Lasconic,
I had tried the same change but it doesn't seem to work for me. Is it working for you? (Do your icons appear differently than before?) I tested r.1802 as well. David Lasconic wrote: > Yes, I modified it.(change 0 by 1) I'm going to commit. Maybe we can > chat about all this? > > 2009/5/4 David Bolton <[hidden email]>: > >> Lasconic, >> >> I couldn't work out how to get FileAssociation.nsh to use the second >> icon ("mscore.exe,1") instead of the first ("mscore.exe,0") for .mscx >> and .mscz files. Maybe it can be modified for this purpose. >> >> David >> >> >> Lasconic wrote: >> >>> There is no problem. It's just a matter of upgrading NSIS to the last >>> version. It's ok for me. >>> I think FileAssociation.nsh supports icons as well. No? >>> This is ugly : http://gergo.erdi.hu/blog/2006-10-08-registering_windows_file_types_with_nsis/ >>> Having it in a separated script, maintain by the nsis community seems >>> better to me. What do you think? >>> >>> 2009/5/4 David Bolton <[hidden email]>: >>> >>> >>>> Lasconic, >>>> >>>> Could it be the backslashes that are causing problems? >>>> >>>> Anyway, here's another site that talks about registering Windows file >>>> types (without using FileAssociation.nsh) >>>> http://gergo.erdi.hu/blog/2006-10-08-registering_windows_file_types_with_nsis/ >>>> >>>> David >>>> >>>> >>>> >>>> Lasconic wrote: >>>> >>>> >>>>> I tried to build on ubuntu 8.04 but the NSIS version shipped with this >>>>> ubuntu version is not compatible with the FileAssociation.nsh as >>>>> provided in the SVN... >>>>> NSIS version in hardy is 2.33-1 (http://packages.ubuntu.com/hardy/nsis) >>>>> Current NSIS version is 2.44. I installed it from this PPA : >>>>> https://launchpad.net/~misery/+archive/ppa >>>>> >>>>> I will report if it leads to some conflicts in my environment. >>>>> >>>>> Lasconic >>>>> >>>>> 2009/4/30 David Bolton <[hidden email]>: >>>>> >>>>> >>>>> >>>>>> Lasconic wrote: >>>>>> >>>>>> >>>>>> >>>>>>> Unregister does not work for the moment and I don't know why Any idea >>>>>>> david or someone? >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>> Lasconic, >>>>>> >>>>>> The uninstaller has never removed any of the registry settings (which >>>>>> now includes file associations). This was on my list of things I want to >>>>>> look into but I don't have any answers yet. >>>>>> >>>>>> The other problem is that each new file you open via Windows Exporer >>>>>> opens a new instance of MuseScore. This can lead to high memory usage >>>>>> (particularly if you use large SoundFonts) and there may some unforeseen >>>>>> problems with preference settings, the Open Recent list, etc. It may >>>>>> even be a good idea to remove the file association code before the next >>>>>> prerelease--at least until we get a chance to address this. Any thoughts? >>>>>> >>>>>> -- >>>>>> David Bolton >>>>>> http://davidbolton.info >>>>>> ------------------------------------------------------------------------------ Register Now & Save for Velocity, the Web Performance & Operations Conference from O'Reilly Media. Velocity features a full day of expert-led, hands-on workshops and two days of sessions from industry leaders in dedicated Performance & Operations tracks. Use code vel09scf and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf _______________________________________________ Mscore-developer mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/mscore-developer |
||||||||||||||||
|
lasconic
|
If the icon has been set by a previous install, it does not work as it
but only after reboot. I guess the icons are cached somewhere. If you check the registry the value is for default icon is set to mscore.exe,1. 2009/5/4 David Bolton <[hidden email]>: > Lasconic, > > I had tried the same change but it doesn't seem to work for me. Is it > working for you? (Do your icons appear differently than before?) I > tested r.1802 as well. > > David > > > Lasconic wrote: >> Yes, I modified it.(change 0 by 1) I'm going to commit. Maybe we can >> chat about all this? >> >> 2009/5/4 David Bolton <[hidden email]>: >> >>> Lasconic, >>> >>> I couldn't work out how to get FileAssociation.nsh to use the second >>> icon ("mscore.exe,1") instead of the first ("mscore.exe,0") for .mscx >>> and .mscz files. Maybe it can be modified for this purpose. >>> >>> David >>> >>> >>> Lasconic wrote: >>> >>>> There is no problem. It's just a matter of upgrading NSIS to the last >>>> version. It's ok for me. >>>> I think FileAssociation.nsh supports icons as well. No? >>>> This is ugly : http://gergo.erdi.hu/blog/2006-10-08-registering_windows_file_types_with_nsis/ >>>> Having it in a separated script, maintain by the nsis community seems >>>> better to me. What do you think? >>>> >>>> 2009/5/4 David Bolton <[hidden email]>: >>>> >>>> >>>>> Lasconic, >>>>> >>>>> Could it be the backslashes that are causing problems? >>>>> >>>>> Anyway, here's another site that talks about registering Windows file >>>>> types (without using FileAssociation.nsh) >>>>> http://gergo.erdi.hu/blog/2006-10-08-registering_windows_file_types_with_nsis/ >>>>> >>>>> David >>>>> >>>>> >>>>> >>>>> Lasconic wrote: >>>>> >>>>> >>>>>> I tried to build on ubuntu 8.04 but the NSIS version shipped with this >>>>>> ubuntu version is not compatible with the FileAssociation.nsh as >>>>>> provided in the SVN... >>>>>> NSIS version in hardy is 2.33-1 (http://packages.ubuntu.com/hardy/nsis) >>>>>> Current NSIS version is 2.44. I installed it from this PPA : >>>>>> https://launchpad.net/~misery/+archive/ppa >>>>>> >>>>>> I will report if it leads to some conflicts in my environment. >>>>>> >>>>>> Lasconic >>>>>> >>>>>> 2009/4/30 David Bolton <[hidden email]>: >>>>>> >>>>>> >>>>>> >>>>>>> Lasconic wrote: >>>>>>> >>>>>>> >>>>>>> >>>>>>>> Unregister does not work for the moment and I don't know why Any idea >>>>>>>> david or someone? >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>> Lasconic, >>>>>>> >>>>>>> The uninstaller has never removed any of the registry settings (which >>>>>>> now includes file associations). This was on my list of things I want to >>>>>>> look into but I don't have any answers yet. >>>>>>> >>>>>>> The other problem is that each new file you open via Windows Exporer >>>>>>> opens a new instance of MuseScore. This can lead to high memory usage >>>>>>> (particularly if you use large SoundFonts) and there may some unforeseen >>>>>>> problems with preference settings, the Open Recent list, etc. It may >>>>>>> even be a good idea to remove the file association code before the next >>>>>>> prerelease--at least until we get a chance to address this. Any thoughts? >>>>>>> >>>>>>> -- >>>>>>> David Bolton >>>>>>> http://davidbolton.info >>>>>>> > > ------------------------------------------------------------------------------ > Register Now & Save for Velocity, the Web Performance & Operations > Conference from O'Reilly Media. Velocity features a full day of > expert-led, hands-on workshops and two days of sessions from industry > leaders in dedicated Performance & Operations tracks. Use code vel09scf > and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf > _______________________________________________ > Mscore-developer mailing list > [hidden email] > https://lists.sourceforge.net/lists/listinfo/mscore-developer > ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Mscore-developer mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/mscore-developer |
||||||||||||||||
|
lasconic
|
I plan to do a prerelease on monday. I didn't take a look to uninstall
yet. Any progress? Do you think we should remove the file association for the prerelease? lasconic 2009/5/5 Lasconic <[hidden email]>: > If the icon has been set by a previous install, it does not work as it > but only after reboot. > I guess the icons are cached somewhere. > If you check the registry the value is for default icon is set to mscore.exe,1. > > 2009/5/4 David Bolton <[hidden email]>: >> Lasconic, >> >> I had tried the same change but it doesn't seem to work for me. Is it >> working for you? (Do your icons appear differently than before?) I >> tested r.1802 as well. >> >> David >> >> >> Lasconic wrote: >>> Yes, I modified it.(change 0 by 1) I'm going to commit. Maybe we can >>> chat about all this? >>> >>> 2009/5/4 David Bolton <[hidden email]>: >>> >>>> Lasconic, >>>> >>>> I couldn't work out how to get FileAssociation.nsh to use the second >>>> icon ("mscore.exe,1") instead of the first ("mscore.exe,0") for .mscx >>>> and .mscz files. Maybe it can be modified for this purpose. >>>> >>>> David >>>> >>>> >>>> Lasconic wrote: >>>> >>>>> There is no problem. It's just a matter of upgrading NSIS to the last >>>>> version. It's ok for me. >>>>> I think FileAssociation.nsh supports icons as well. No? >>>>> This is ugly : http://gergo.erdi.hu/blog/2006-10-08-registering_windows_file_types_with_nsis/ >>>>> Having it in a separated script, maintain by the nsis community seems >>>>> better to me. What do you think? >>>>> >>>>> 2009/5/4 David Bolton <[hidden email]>: >>>>> >>>>> >>>>>> Lasconic, >>>>>> >>>>>> Could it be the backslashes that are causing problems? >>>>>> >>>>>> Anyway, here's another site that talks about registering Windows file >>>>>> types (without using FileAssociation.nsh) >>>>>> http://gergo.erdi.hu/blog/2006-10-08-registering_windows_file_types_with_nsis/ >>>>>> >>>>>> David >>>>>> >>>>>> >>>>>> >>>>>> Lasconic wrote: >>>>>> >>>>>> >>>>>>> I tried to build on ubuntu 8.04 but the NSIS version shipped with this >>>>>>> ubuntu version is not compatible with the FileAssociation.nsh as >>>>>>> provided in the SVN... >>>>>>> NSIS version in hardy is 2.33-1 (http://packages.ubuntu.com/hardy/nsis) >>>>>>> Current NSIS version is 2.44. I installed it from this PPA : >>>>>>> https://launchpad.net/~misery/+archive/ppa >>>>>>> >>>>>>> I will report if it leads to some conflicts in my environment. >>>>>>> >>>>>>> Lasconic >>>>>>> >>>>>>> 2009/4/30 David Bolton <[hidden email]>: >>>>>>> >>>>>>> >>>>>>> >>>>>>>> Lasconic wrote: >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>>> Unregister does not work for the moment and I don't know why Any idea >>>>>>>>> david or someone? >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>> Lasconic, >>>>>>>> >>>>>>>> The uninstaller has never removed any of the registry settings (which >>>>>>>> now includes file associations). This was on my list of things I want to >>>>>>>> look into but I don't have any answers yet. >>>>>>>> >>>>>>>> The other problem is that each new file you open via Windows Exporer >>>>>>>> opens a new instance of MuseScore. This can lead to high memory usage >>>>>>>> (particularly if you use large SoundFonts) and there may some unforeseen >>>>>>>> problems with preference settings, the Open Recent list, etc. It may >>>>>>>> even be a good idea to remove the file association code before the next >>>>>>>> prerelease--at least until we get a chance to address this. Any thoughts? >>>>>>>> >>>>>>>> -- >>>>>>>> David Bolton >>>>>>>> http://davidbolton.info >>>>>>>> >> >> ------------------------------------------------------------------------------ >> Register Now & Save for Velocity, the Web Performance & Operations >> Conference from O'Reilly Media. Velocity features a full day of >> expert-led, hands-on workshops and two days of sessions from industry >> leaders in dedicated Performance & Operations tracks. Use code vel09scf >> and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf >> _______________________________________________ >> Mscore-developer mailing list >> [hidden email] >> https://lists.sourceforge.net/lists/listinfo/mscore-developer >> > ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Mscore-developer mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/mscore-developer |
||||||||||||||||
|
David Bolton-2
|
I would rather see the multiple instances problem fixed before we
include the file associations in the prereleases but it is up to you. I don't really know how to fix the problem myself but I did find a few web pages on the topic: http://www.codeproject.com/KB/cpp/avoidmultinstance.aspx http://www.codeproject.com/script/Forums/View.aspx?fid=1647&msg=796112 http://wiki.forum.nokia.com/index.php/Launching_a_new_file_in_an_existing_app_instance David Lasconic wrote: > I plan to do a prerelease on monday. I didn't take a look to uninstall > yet. Any progress? > Do you think we should remove the file association for the prerelease? > lasconic > > 2009/5/5 Lasconic <[hidden email]>: > >> If the icon has been set by a previous install, it does not work as it >> but only after reboot. >> I guess the icons are cached somewhere. >> If you check the registry the value is for default icon is set to mscore.exe,1. >> >> 2009/5/4 David Bolton <[hidden email]>: >> >>> Lasconic, >>> >>> I had tried the same change but it doesn't seem to work for me. Is it >>> working for you? (Do your icons appear differently than before?) I >>> tested r.1802 as well. >>> >>> David >>> >>> >>> Lasconic wrote: >>> >>>> Yes, I modified it.(change 0 by 1) I'm going to commit. Maybe we can >>>> chat about all this? >>>> >>>> 2009/5/4 David Bolton <[hidden email]>: >>>> >>>> >>>>> Lasconic, >>>>> >>>>> I couldn't work out how to get FileAssociation.nsh to use the second >>>>> icon ("mscore.exe,1") instead of the first ("mscore.exe,0") for .mscx >>>>> and .mscz files. Maybe it can be modified for this purpose. >>>>> >>>>> David >>>>> >>>>> >>>>> Lasconic wrote: >>>>> >>>>> >>>>>> There is no problem. It's just a matter of upgrading NSIS to the last >>>>>> version. It's ok for me. >>>>>> I think FileAssociation.nsh supports icons as well. No? >>>>>> This is ugly : http://gergo.erdi.hu/blog/2006-10-08-registering_windows_file_types_with_nsis/ >>>>>> Having it in a separated script, maintain by the nsis community seems >>>>>> better to me. What do you think? >>>>>> >>>>>> 2009/5/4 David Bolton <[hidden email]>: >>>>>> >>>>>> >>>>>> >>>>>>> Lasconic, >>>>>>> >>>>>>> Could it be the backslashes that are causing problems? >>>>>>> >>>>>>> Anyway, here's another site that talks about registering Windows file >>>>>>> types (without using FileAssociation.nsh) >>>>>>> http://gergo.erdi.hu/blog/2006-10-08-registering_windows_file_types_with_nsis/ >>>>>>> >>>>>>> David >>>>>>> >>>>>>> >>>>>>> >>>>>>> Lasconic wrote: >>>>>>> >>>>>>> >>>>>>> >>>>>>>> I tried to build on ubuntu 8.04 but the NSIS version shipped with this >>>>>>>> ubuntu version is not compatible with the FileAssociation.nsh as >>>>>>>> provided in the SVN... >>>>>>>> NSIS version in hardy is 2.33-1 (http://packages.ubuntu.com/hardy/nsis) >>>>>>>> Current NSIS version is 2.44. I installed it from this PPA : >>>>>>>> https://launchpad.net/~misery/+archive/ppa >>>>>>>> >>>>>>>> I will report if it leads to some conflicts in my environment. >>>>>>>> >>>>>>>> Lasconic >>>>>>>> >>>>>>>> 2009/4/30 David Bolton <[hidden email]>: >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>>> Lasconic wrote: >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>>> Unregister does not work for the moment and I don't know why Any idea >>>>>>>>>> david or someone? >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>> Lasconic, >>>>>>>>> >>>>>>>>> The uninstaller has never removed any of the registry settings (which >>>>>>>>> now includes file associations). This was on my list of things I want to >>>>>>>>> look into but I don't have any answers yet. >>>>>>>>> >>>>>>>>> The other problem is that each new file you open via Windows Exporer >>>>>>>>> opens a new instance of MuseScore. This can lead to high memory usage >>>>>>>>> (particularly if you use large SoundFonts) and there may some unforeseen >>>>>>>>> problems with preference settings, the Open Recent list, etc. It may >>>>>>>>> even be a good idea to remove the file association code before the next >>>>>>>>> prerelease--at least until we get a chance to address this. Any thoughts? >>>>>>>>> >>>>>>>>> -- >>>>>>>>> David Bolton >>>>>>>>> http://davidbolton.info >>>>>>>>> ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Mscore-developer mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/mscore-developer |
||||||||||||||||
|
lasconic
|
Here is the Qt way I guess :
http://www.qtsoftware.com/products/appdev/add-on-products/catalog/4/Utilities/qtsingleapplication 2009/5/10 David Bolton <[hidden email]>: > I would rather see the multiple instances problem fixed before we > include the file associations in the prereleases but it is up to you. > > I don't really know how to fix the problem myself but I did find a few > web pages on the topic: > > http://www.codeproject.com/KB/cpp/avoidmultinstance.aspx > http://www.codeproject.com/script/Forums/View.aspx?fid=1647&msg=796112 > http://wiki.forum.nokia.com/index.php/Launching_a_new_file_in_an_existing_app_instance > > David > > > Lasconic wrote: >> I plan to do a prerelease on monday. I didn't take a look to uninstall >> yet. Any progress? >> Do you think we should remove the file association for the prerelease? >> lasconic >> >> 2009/5/5 Lasconic <[hidden email]>: >> >>> If the icon has been set by a previous install, it does not work as it >>> but only after reboot. >>> I guess the icons are cached somewhere. >>> If you check the registry the value is for default icon is set to mscore.exe,1. >>> >>> 2009/5/4 David Bolton <[hidden email]>: >>> >>>> Lasconic, >>>> >>>> I had tried the same change but it doesn't seem to work for me. Is it >>>> working for you? (Do your icons appear differently than before?) I >>>> tested r.1802 as well. >>>> >>>> David >>>> >>>> >>>> Lasconic wrote: >>>> >>>>> Yes, I modified it.(change 0 by 1) I'm going to commit. Maybe we can >>>>> chat about all this? >>>>> >>>>> 2009/5/4 David Bolton <[hidden email]>: >>>>> >>>>> >>>>>> Lasconic, >>>>>> >>>>>> I couldn't work out how to get FileAssociation.nsh to use the second >>>>>> icon ("mscore.exe,1") instead of the first ("mscore.exe,0") for .mscx >>>>>> and .mscz files. Maybe it can be modified for this purpose. >>>>>> >>>>>> David >>>>>> >>>>>> >>>>>> Lasconic wrote: >>>>>> >>>>>> >>>>>>> There is no problem. It's just a matter of upgrading NSIS to the last >>>>>>> version. It's ok for me. >>>>>>> I think FileAssociation.nsh supports icons as well. No? >>>>>>> This is ugly : http://gergo.erdi.hu/blog/2006-10-08-registering_windows_file_types_with_nsis/ >>>>>>> Having it in a separated script, maintain by the nsis community seems >>>>>>> better to me. What do you think? >>>>>>> >>>>>>> 2009/5/4 David Bolton <[hidden email]>: >>>>>>> >>>>>>> >>>>>>> >>>>>>>> Lasconic, >>>>>>>> >>>>>>>> Could it be the backslashes that are causing problems? >>>>>>>> >>>>>>>> Anyway, here's another site that talks about registering Windows file >>>>>>>> types (without using FileAssociation.nsh) >>>>>>>> http://gergo.erdi.hu/blog/2006-10-08-registering_windows_file_types_with_nsis/ >>>>>>>> >>>>>>>> David >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> Lasconic wrote: >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>>> I tried to build on ubuntu 8.04 but the NSIS version shipped with this >>>>>>>>> ubuntu version is not compatible with the FileAssociation.nsh as >>>>>>>>> provided in the SVN... >>>>>>>>> NSIS version in hardy is 2.33-1 (http://packages.ubuntu.com/hardy/nsis) >>>>>>>>> Current NSIS version is 2.44. I installed it from this PPA : >>>>>>>>> https://launchpad.net/~misery/+archive/ppa >>>>>>>>> >>>>>>>>> I will report if it leads to some conflicts in my environment. >>>>>>>>> >>>>>>>>> Lasconic >>>>>>>>> >>>>>>>>> 2009/4/30 David Bolton <[hidden email]>: >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>>> Lasconic wrote: >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>>> Unregister does not work for the moment and I don't know why Any idea >>>>>>>>>>> david or someone? >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>> Lasconic, >>>>>>>>>> >>>>>>>>>> The uninstaller has never removed any of the registry settings (which >>>>>>>>>> now includes file associations). This was on my list of things I want to >>>>>>>>>> look into but I don't have any answers yet. >>>>>>>>>> >>>>>>>>>> The other problem is that each new file you open via Windows Exporer >>>>>>>>>> opens a new instance of MuseScore. This can lead to high memory usage >>>>>>>>>> (particularly if you use large SoundFonts) and there may some unforeseen >>>>>>>>>> problems with preference settings, the Open Recent list, etc. It may >>>>>>>>>> even be a good idea to remove the file association code before the next >>>>>>>>>> prerelease--at least until we get a chance to address this. Any thoughts? >>>>>>>>>> >>>>>>>>>> -- >>>>>>>>>> David Bolton >>>>>>>>>> http://davidbolton.info >>>>>>>>>> > > ------------------------------------------------------------------------------ > The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your > production scanning environment may not be a perfect world - but thanks to > Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 > Series Scanner you'll get full speed at 300 dpi even with all image > processing features enabled. http://p.sf.net/sfu/kodak-com > _______________________________________________ > Mscore-developer mailing list > [hidden email] > https://lists.sourceforge.net/lists/listinfo/mscore-developer > ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Mscore-developer mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/mscore-developer |
||||||||||||||||
|
lasconic
|
I took a closer look. There are a handful of files to be added. I
don't want to crash the build system or mess musescore startup. So I pass for the moment. Werner maybe? :) 2009/5/10 Lasconic <[hidden email]>: > Here is the Qt way I guess : > http://www.qtsoftware.com/products/appdev/add-on-products/catalog/4/Utilities/qtsingleapplication > > > 2009/5/10 David Bolton <[hidden email]>: >> I would rather see the multiple instances problem fixed before we >> include the file associations in the prereleases but it is up to you. >> >> I don't really know how to fix the problem myself but I did find a few >> web pages on the topic: >> >> http://www.codeproject.com/KB/cpp/avoidmultinstance.aspx >> http://www.codeproject.com/script/Forums/View.aspx?fid=1647&msg=796112 >> http://wiki.forum.nokia.com/index.php/Launching_a_new_file_in_an_existing_app_instance >> >> David >> >> >> Lasconic wrote: >>> I plan to do a prerelease on monday. I didn't take a look to uninstall >>> yet. Any progress? >>> Do you think we should remove the file association for the prerelease? >>> lasconic >>> >>> 2009/5/5 Lasconic <[hidden email]>: >>> >>>> If the icon has been set by a previous install, it does not work as it >>>> but only after reboot. >>>> I guess the icons are cached somewhere. >>>> If you check the registry the value is for default icon is set to mscore.exe,1. >>>> >>>> 2009/5/4 David Bolton <[hidden email]>: >>>> >>>>> Lasconic, >>>>> >>>>> I had tried the same change but it doesn't seem to work for me. Is it >>>>> working for you? (Do your icons appear differently than before?) I >>>>> tested r.1802 as well. >>>>> >>>>> David >>>>> >>>>> >>>>> Lasconic wrote: >>>>> >>>>>> Yes, I modified it.(change 0 by 1) I'm going to commit. Maybe we can >>>>>> chat about all this? >>>>>> >>>>>> 2009/5/4 David Bolton <[hidden email]>: >>>>>> >>>>>> >>>>>>> Lasconic, >>>>>>> >>>>>>> I couldn't work out how to get FileAssociation.nsh to use the second >>>>>>> icon ("mscore.exe,1") instead of the first ("mscore.exe,0") for .mscx >>>>>>> and .mscz files. Maybe it can be modified for this purpose. >>>>>>> >>>>>>> David >>>>>>> >>>>>>> >>>>>>> Lasconic wrote: >>>>>>> >>>>>>> >>>>>>>> There is no problem. It's just a matter of upgrading NSIS to the last >>>>>>>> version. It's ok for me. >>>>>>>> I think FileAssociation.nsh supports icons as well. No? >>>>>>>> This is ugly : http://gergo.erdi.hu/blog/2006-10-08-registering_windows_file_types_with_nsis/ >>>>>>>> Having it in a separated script, maintain by the nsis community seems >>>>>>>> better to me. What do you think? >>>>>>>> >>>>>>>> 2009/5/4 David Bolton <[hidden email]>: >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>>> Lasconic, >>>>>>>>> >>>>>>>>> Could it be the backslashes that are causing problems? >>>>>>>>> >>>>>>>>> Anyway, here's another site that talks about registering Windows file >>>>>>>>> types (without using FileAssociation.nsh) >>>>>>>>> http://gergo.erdi.hu/blog/2006-10-08-registering_windows_file_types_with_nsis/ >>>>>>>>> >>>>>>>>> David >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> Lasconic wrote: >>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>>> I tried to build on ubuntu 8.04 but the NSIS version shipped with this >>>>>>>>>> ubuntu version is not compatible with the FileAssociation.nsh as >>>>>>>>>> provided in the SVN... >>>>>>>>>> NSIS version in hardy is 2.33-1 (http://packages.ubuntu.com/hardy/nsis) >>>>>>>>>> Current NSIS version is 2.44. I installed it from this PPA : >>>>>>>>>> https://launchpad.net/~misery/+archive/ppa >>>>>>>>>> >>>>>>>>>> I will report if it leads to some conflicts in my environment. >>>>>>>>>> >>>>>>>>>> Lasconic >>>>>>>>>> >>>>>>>>>> 2009/4/30 David Bolton <[hidden email]>: >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> >>>>>>>>>>> Lasconic wrote: >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>>> Unregister does not work for the moment and I don't know why Any idea >>>>>>>>>>>> david or someone? >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>>> >>>>>>>>>>> Lasconic, >>>>>>>>>>> >>>>>>>>>>> The uninstaller has never removed any of the registry settings (which >>>>>>>>>>> now includes file associations). This was on my list of things I want to >>>>>>>>>>> look into but I don't have any answers yet. >>>>>>>>>>> >>>>>>>>>>> The other problem is that each new file you open via Windows Exporer >>>>>>>>>>> opens a new instance of MuseScore. This can lead to high memory usage >>>>>>>>>>> (particularly if you use large SoundFonts) and there may some unforeseen >>>>>>>>>>> problems with preference settings, the Open Recent list, etc. It may >>>>>>>>>>> even be a good idea to remove the file association code before the next >>>>>>>>>>> prerelease--at least until we get a chance to address this. Any thoughts? >>>>>>>>>>> >>>>>>>>>>> -- >>>>>>>>>>> David Bolton >>>>>>>>>>> http://davidbolton.info >>>>>>>>>>> >> >> ------------------------------------------------------------------------------ >> The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your >> production scanning environment may not be a perfect world - but thanks to >> Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 >> Series Scanner you'll get full speed at 300 dpi even with all image >> processing features enabled. http://p.sf.net/sfu/kodak-com >> _______________________________________________ >> Mscore-developer mailing list >> [hidden email] >> https://lists.sourceforge.net/lists/listinfo/mscore-developer >> > ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Mscore-developer mailing list [hidden email] https://lists.sourceforge.net/lists/listinfo/mscore-developer |
||||||||||||||||
| Free Embeddable Forum Powered by Nabble | Help |