Skip to content
⌘ NSIS Forum Archive

show details, hide details

43 posts

mdlazreg#

show details, hide details

If a customer click on the "show details" button there is no other button to "hide details"....

Should I change the source code to have this possiblity or is it planned for the future?

Thanks
Shea#
What would you gain from hiding the details again? To me it doesn't really matter if they're shown or not.
mdlazreg#
yes to me it does not matter neither. But believe it or not that was the first feedback from a customer!. He thinks that if he can show the details he should be able to hide them as well.
Shea#
I'sd say that customer is a little anal. But if that's what the customer wants... I think you would have to edit the source or make a plugin. But whatever you do, it's going to be hard if you don't know what your doing. Do you know any programming?
mdlazreg#
A customer is a king😉.

Yes I am a programmer but I was hoping that this feature becomes a regular feature of NSIS. Because logically if you can do something you should be able to undo it.
lewellyn#
Actually, with some of the installers I've come across, I wish I had that functionality. It really slows down the installation when you have an installer installing thousands of itty bitty files on a slow computer with the details showing... 🙁

My ±US$0.02...
Joost Verburg#
It is designed in a way that it won't really slow down the installation.

I think it won't become an NSIS feature because it doesn't really make sense to have such a button and because it also gives problems with user interface design.

So if you really need this feature, you'll have to write it yourself. However, if you know a little about C programming, it should not be difficult.
subbu_cts#
I agree with mdlazreg.

I also recently created an installer using NSIS (my first with NSIS) and in fact one of the very first feedbacks from the customer was for such a requirement. (Hide Details option)

I think people intuitively look for the Hide Details option when they are allowed to "Show Details".

Though I do agree that just "Showing the Details" would NOT necessarily slow down the performance or anything.
Its just that USERS look for the HIDE option.

It would be great if this can become a regular feature in NSIS.
Afrow UK#edited
I was bored this morning (plus I'm ill) so I made a plugin which adds this feature. Works for both Modern UI and default NSIS.



Enjoy!

Edit: v0.2 uploaded. ToggleInstFiles::Free removed (no longer necessary).

-Stu
Afrow UK#
Uploaded new version with some new features.
You can now set the button texts and choose to place the button on the right side.



-Stu
Chilli24#
I tried to download this plugin and it is corrupted. Where can I get a good copy of it?
Thank you.
Sajida_cts#
Hi Afrow,
I downloaded the stuff and put into my script but the final output comes out a bit sleazy. The upper border of the status bar becomes invisible and the upper part of the Show Details button is hidden by the captions which come up (those showing which command is currently running). Could you please suggest a solution for this soon...
Thanks,
Saaji
Sajida_cts#
yes, didn't think that you would reply this soon... thank you so much.🙂

Spike1.bmp is the onne which comes up before I click on the Show Details button. After I move my mouse over it, that alone becomes visible.

Spike2.bmp is the final result after completion of installation. There too the upper part of the status bar is invisible.

And by the way can u suggest a way in which I can show "nice" comments in place of the commands which shows where the installer is currently. That way the user doesn't have to know what all are taking place within.
😉
Thanks,
Saaji
Afrow UK#
I see the problem. It's probably because of the font that you're using. What happens when you do not use the plugin? Does the text labels at the top still cover up the progress bar and / or button?

-Stu
Afrow UK#
I have uploaded another version http://nsis.sourceforge.net/wiki/Fil...eInstFiles.zip
The button and progress bar no longer have a fixed top. They'll now use the top value from the original progress bar.

-Stu
Guest#
I have strange thing with this plugins.
I work with nsis 2.08.
I made a "modern" setup and don't activate the plugins in
a specific section, I can click on the finish button.
If activate it, When I click on the Finish button, nothing are do and the the finish window aren't closed.
Guest#
A good example,
I use our example "ExampleMUI.nsi"

...
Section "A section"

# Load plugin
ToggleInstFiles::Set /NOUNLOAD /RIGHT /SHOWTEXT "Show me!" /HIDETEXT "Hide me!"
SetAutoClose False
...

I comment this line like in my project.
SetAutoClose False

the installation go automaticaly on the nex page (the finish page) and the button finish do nothing...
Guest#
heuuu,
The 0.5 version, continue to correspond to the 0.4 version of the DLL (14 JUL) .... 🙂
Afrow UK#
Are you sure?
I wasn't able to reproduce the problem with the 0.5 DLL
Have you made sure that the new DLL has replaced the old one?

-Stu
Guest#
Sorry,
It's not what I want to say.
I just Download your new archive, and I check the version of
the DLL present of this archive, And the creation date of
this DLL is 14 JUL, and not today. Maybe it's upload prbs ?
Afrow UK#
Could be. I'll check now.

Edit:
Here's a direct link:

Definately the latest version in there (last mod: 18 August 2005 @ 10:09)

-Stu