This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: Editing InstallScript files in Notepad++
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
‎Dec 08, 2010
12:41 AM
Editing InstallScript files in Notepad++
Hi all,
As I really hate the buggy InstallScript editor of InstallShield, especially the Find and Replace functionalities, I am quite tempted to use Notepad++ instead.
Moreover, the InstallScript editor really lacks a "Find in files" or a "Find in project" functionality.
I am just wondering if anyone has defined a user language configuration for InstallScript on Notepad++.
Regards
As I really hate the buggy InstallScript editor of InstallShield, especially the Find and Replace functionalities, I am quite tempted to use Notepad++ instead.
Moreover, the InstallScript editor really lacks a "Find in files" or a "Find in project" functionality.
I am just wondering if anyone has defined a user language configuration for InstallScript on Notepad++.
Regards
(19) Replies
‎Dec 08, 2010
08:15 AM
Using the included C++/C# language helps a little. It doesn't contain all the InstallScript keywords but helps when making minor edits. I agree that having an InstallScript language definition for Notepad++ would be helpful.
HTH
HTH
‎Jan 12, 2012
09:02 AM
Bump because I found one! It's an initial draft (and not mine) but if we add to it (either in this thread or elsewhere) I think we can get it added to Notepad++'s User Defined Language Files page
Language page here:
https://github.com/bdimych/npp-InstallScript-language
Language page here:
https://github.com/bdimych/npp-InstallScript-language
‎Jun 22, 2022
10:19 AM
This repository doesn't exist any more unfortunately. There is an installscript.zip file attached to this message that I have used and it provides a good start
‎Jan 12, 2012
09:39 AM
😄 Your welcome!
Yeah in the past 15 minutes I've changed the color scheme to closer resemble a VS/InstallShield enviroment and added at least 30 more InstallScript/Shield methods.
Please feel free to add any function prototypes, keywords, etc to this thread. I want to compile a large list and submit it to the Notepad++ team But I'll submit my last version here for everyone's approval.
Yeah in the past 15 minutes I've changed the color scheme to closer resemble a VS/InstallShield enviroment and added at least 30 more InstallScript/Shield methods.
Please feel free to add any function prototypes, keywords, etc to this thread. I want to compile a large list and submit it to the Notepad++ team But I'll submit my last version here for everyone's approval.
‎Apr 25, 2012
05:01 AM
Hi,
I am trying to do the same for my Notepad++, did you ever get this working properly? If so could you please point me to where I can find these settings?
Thanks
I am trying to do the same for my Notepad++, did you ever get this working properly? If so could you please point me to where I can find these settings?
Thanks
‎Apr 25, 2012
05:38 AM
Just copy the userDefineLang.xml file to your "%APPDATA%\Notepad++\" folder and restart Notepad++.
If such a file already exists, then you might have to merge it with the one you downloaded.
That's it!
You should then have an extra "InstallScript" entry in the "Language" menu.
Files with the .RUL extention are then automatically opened with the right Language.
If such a file already exists, then you might have to merge it with the one you downloaded.
That's it!
You should then have an extra "InstallScript" entry in the "Language" menu.
Files with the .RUL extention are then automatically opened with the right Language.
‎Apr 25, 2012
07:51 AM
Ray_Portrait wrote:
Hi,
I am trying to do the same for my Notepad++, did you ever get this working properly? If so could you please point me to where I can find these settings?
Thanks
Like Reureu said put this attached file into your AppData folder. This only has the InstallScript so if you have other custom languages then you'll have to add this manually.
‎Jun 22, 2022
10:25 AM
Surprisingly, this does not exist on github or I couldn't find it anywhere else by google either. Can you upload it on github? Or I can do that so it can easily be found and updated too.
‎Apr 25, 2012
08:01 AM
Thanks guys for your input. I prefer the colour mapping from the zip file you sent me. The only thing that doesn't seem to work for me is the colouring of the /* block comments */. Is this a known issue or am I missing something?
‎Apr 25, 2012
08:11 AM
Yeah I haven't gotten that to work either. I don't really use those in my code so it's not been a huge problem. But when I initially tried the only way the comment would change color was if it was all one unbroken line. If the comment was multi-lined then the first line would be colored but the rest wouldn't.
Not sure if bug or I was not entering the comment characters correctly. If you find a work around of the correct setting please let me know.
There's tons of keywords I never added beucase I never used them or are unaware of them so if you update the keyword, or method lists please post it.
Thanks!
Not sure if bug or I was not entering the comment characters correctly. If you find a work around of the correct setting please let me know.
There's tons of keywords I never added beucase I never used them or are unaware of them so if you update the keyword, or method lists please post it.
Thanks!
‎Apr 25, 2012
08:16 AM
Ok, we unfortunately do quite a bit of block commenting so might have to spend some time to figure it out and I will definitely update this thread!
‎Apr 25, 2012
10:18 AM
uuuuuuuuhhh you might see places where I was trying to correctly add "/*" (and other things), But I don't know the np++ format for settings all those. I tried looking at the c++ one but that was months ago and haven't had the time (or enough asprin handy) to figure it out. The page I was reading about adding a custom was not well formatted but it was the most comprehensive/easiest to read that I could find at the time.
‎Apr 25, 2012
10:27 AM
You are awesome!
‎Apr 25, 2012
10:35 AM
I realize that I left out division but removing "*" leaves math operators unstylized. Is there a code for both/either of those such as one the one of "&" (being "&")? I like having the math operators colored.
‎Apr 25, 2012
10:40 AM
DemonPiggies wrote:
I realize that I left out division but removing "*" leaves math operators unstylized. Is there a code for both/either of those such as one the one of "&" (being "&")? I like having the math operators colored.
My guess is "no" for user-defined languages. If you try adding / to the Activated operators, even your 1-line comments won't show the "correct" color. The built-in languages (example: C#) may have access to stylizing that user-defined languages cannot use. That's just a guess.
HTH