Earthshine Posted December 12, 2017 Share Posted December 12, 2017 (edited) On some Windows 10 machines, when I install it, it does not registers as the handler for filetype .au3 and scripts that run elsewhere won't run. really strange. I was trying to edit the NetStat.au3 script that was posted here and on some boxes it just won't run. maybe a memory error because it complains about the array subscript being badly formed, but on most computers it runs great. anyway, that's when I found that the installer does not always set up to edit AU3 files every time you install. Edited January 2, 2018 by Earthshine My resources are limited. You must ask the right questions Link to comment Share on other sites More sharing options...
Earthshine Posted December 12, 2017 Author Share Posted December 12, 2017 (edited) could it be a messed up network card? hmmmm anyway, looky what I found https://wixsharp.codeplex.com/ I could repackage it as an MSI and have it do proper regsistrations. I might just do it now Edited December 12, 2017 by Earthshine My resources are limited. You must ask the right questions Link to comment Share on other sites More sharing options...
Earthshine Posted December 15, 2017 Author Share Posted December 15, 2017 All this installer would need is to ask the user if they would like to add the context menu items and if yes then override the users choice of file handler for the .au3 file My resources are limited. You must ask the right questions Link to comment Share on other sites More sharing options...
Developers Jos Posted December 15, 2017 Developers Share Posted December 15, 2017 (edited) It does by default add the contectmenu and the above behaviour would only be expected when somebody has overridden the defaults set by doing a "Open With" Use SciTEConfig and Select "Other Tools" and click on "Run AutoIt33/SciTE check". This will report any modifications made in the registry. ... or does it actually run and just not run correctly? Jos Edited December 15, 2017 by Jos Earthshine 1 SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Earthshine Posted December 15, 2017 Author Share Posted December 15, 2017 I tried that but I had to go in and delete the key and then do your fix and then it all worked great. If I were to do the installer it would just ask for user if they wanted that integration and if so override what the user had chosen before. but that’s just my user preference. I’ll put together an MSI installer that does what I want. Thanks for the answer too My resources are limited. You must ask the right questions Link to comment Share on other sites More sharing options...
Developers Jos Posted December 15, 2017 Developers Share Posted December 15, 2017 I don't like installers that do other stuff than standard stuff and like to set my own preferences which should never be undone. When one deliberately does a "Open with", select a program and check the "Always use this program"option, than that is what it should do. That is why I created this little piece of code that simply reports on what you have done and the suggestions how to fix it. I also elected not to include an option to fix it for you as I don't want to be responsible for any fuckup in the registry. Jos Earthshine 1 SciTE4AutoIt3 Full installer Download page - Beta files Read before posting How to post scriptsource Forum etiquette Forum Rules Live for the present, Dream of the future, Learn from the past. Link to comment Share on other sites More sharing options...
Earthshine Posted December 15, 2017 Author Share Posted December 15, 2017 (edited) Totally cool with that. Are usually only set it manually when I don’t have auto IT installed and I want to look at a file and then if I install auto IT I can’t just run the File. Lol. User pref. What I mean by not running is it doesn’t open in the autoit editor, which is really what I want when I install it. Thanks for the information and insight Edited December 15, 2017 by Earthshine My resources are limited. You must ask the right questions Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now