- NSIS Discussion
- Three InstType bugs!
Archive: Three InstType bugs!
virtlink
16th March 2003 16:37 UTC
Three InstType bugs!
[list=1][*]When you enter a wrong syntax of InstType, the compiler, which mentiones the correct syntax, doesn't mention /COMPONENTSONLYONCUSTOM[*]The documentation says /COMPONENTS... ...ONLYONCUSTOM instead of /COMPONENTSONLYONCUSTOM[*]When you use InstType /NOCUSTOM before InstType /COMPONENTSONLYONCUSTOM, then 'Custom' is still shown in the install type list. By using InstType /COMPONENTSONLYONCUSTOM first, this problem doesn't occour.[/list=1]
kichik
16th March 2003 17:38 UTC
1) Fixed, thanks.
2) Fixed, thanks.
3) Those two don't work together.
virtlink
18th March 2003 10:29 UTC
Originally posted by kichik
3) Those two don't work together.
Those two DID work together when I tested it at first. Test this:
InstType /COMPONENTSONLYONCUSTOM
InstType/NOCUSTOM
>
This did not display the 'Custom' option, and not the component selection box.
But this is the problem:
InstType /NOCUSTOM
InstType/COMPONENTSONLYONCUSTOM
>
This acts the same as:
InstType /COMPONENTSONLYONCUSTOM
>
As if you never used /NOCUSTOM.
Altough, I just tested it again with NSIS 2.0b2, and now it seems not to work (strange).
kichik
18th March 2003 11:30 UTC
Nope, those two don't work together. Not on 1.98, 1.99 or any of the alphas or betas of 2.
kichik
18th March 2003 20:40 UTC
As of now they do. Get latest CVS version using NSIS Update.
YooperNC
4th November 2003 16:16 UTC
I tried this combination before and found that it did not work. Recently I downloaded the latest CVS files and, after reading through this thread, decided to try it again. It works better, but not great. The reason I say this is that the selection box is gone, but there is still a message at the top of the screen that says:
Check the components you want to install and uncheck the components you don't want to install. Click Next to continue.
I would have expected this message to be taken down when the combination of /NOCUSTOM and /COMPONENTSONLYONCUSTOM are specified. Is there a manual way of hiding this message? Is there a plan to change the compiler to take this into account?
Thanks!
Joost Verburg
4th November 2003 21:16 UTC
You can change this text yourself (see NSIS Users Manual or Modern UI Readme).
deguix
4th November 2003 21:45 UTC
Specifically the "ComponentText" installer attribute (if use default UI) and/or !define MUI_COMPONENTSPAGE_TEXT (if use Modern UI).
YooperNC
4th November 2003 23:07 UTC
Thanks to you both! :up:
Now, one more question: What about the Description Box? Can I hide that, too? I've NULLified the strings, so they don't appear, but the box itself is stil visible.
Dave
Vytautas
4th November 2003 23:29 UTC
If you are using Modern UI you can define 'MUI_UI_COMPONENTSPAGE_NODESC' to have a components page without the description box.
Vytautas :D
Joost Verburg
5th November 2003 10:52 UTC
That's only for a custom UI resource file. You should define MUI_COMPONENTSPAGE_NODESC.
Vytautas
5th November 2003 11:38 UTC
Doh! I thought that something strange was happening since my scripts used a different define that the one I found in the docs. I should have had a deeper look in them.
Vytautas :o
YooperNC
5th November 2003 12:41 UTC
Thank you all for your most excellent help! :)