|
|
|
|
#1 |
|
Junior Member
Join Date: Aug 2005
Posts: 36
|
Details not viewed in MUI?
Hello,
I use this Finishing code: --------------------------------------------- ; Finish page ;!insertmacro MUI_PAGE_FINISH !define MUI_FINISHPAGE_NOAUTOCLOSE !define MUI_FINISHPAGE_LINK "http://www.test.org" !define MUI_FINISHPAGE_LINK_LOCATION "http://www.test.org" !define MUI_FINISHPAGE_TITLE_3LINES !define MUI_FINISHPAGE_RUN !define MUI_FINISHPAGE_RUN_FUNCTION LaunchJob !define MUI_FINISHPAGE_RUN_NOTCHECKED !define MUI_FINISHPAGE_RUN_TEXT "Starting 8" !define MUI_FINISHPAGE_SHOWREADME "$INSTDIR\readme_de.txt" !insertmacro MUI_PAGE_FINISH Function LaunchJob ExecShell "open" "http://localhost" FunctionEnd Section /o "Option" SecCore SetDetailsView show SectionEnd -------------------------------------------- But I cannot see any Detail Button or log window can somebody help me? thanks a lot hawk |
|
|
|
|
|
#2 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,343
|
/o means the section is not selected by default which means its code is not executed. Use ShowInstDetails outside of a section for a simpler solution.
NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Aug 2005
Posts: 36
|
Thanks for your help,
I have this in my script. include "MUI.nsh" ShowInstDetails show ... ;finish page But the detail button is not shown. regards hawk |
|
|
|
|
|
#4 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,343
|
Works fine for me. What button are you talking about exactly?
NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
|
|
#5 |
|
Junior Member
Join Date: Aug 2005
Posts: 36
|
Hi kichik,
thanks for your help. I mean the "Show Details" button at the end of the installation If you click on it, a Dos command like window shows what was extracted and more. I saw this in the example script. My test is now with a MUI script and I have a finishing page at the end which opens a readme.txt file. So I am not sure, if in the modern interface is the "Show details" button is available? regards hawk |
|
|
|
|
|
#6 |
|
Major Dude
Join Date: Oct 2006
Posts: 1,892
|
If you set ShowInstDetails to 'show', the details will always be shown automatically. Therefore it's logical that you don't see the button in that case. It may be that your installation is finished so quickly, you don't see the details properly before you jump to the finish page. You can tell MUI to not automatically jump to the finish page, see the MUI readme.
|
|
|
|
|
|
#7 |
|
Junior Member
Join Date: Aug 2005
Posts: 36
|
Hi MSG,
thanks for your help. <<If you set ShowInstDetails to 'show', the details will always be shown automatically.Therefore it's logical that you don't see the button in that case.> hmm, I am a little bit confused :-) Where are the Details shown if there is no button to open the details window? |
|
|
|
|
|
#8 |
|
Major Dude
Join Date: Oct 2006
Posts: 1,892
|
I believe we're talking about different things. Can you make a screenshot of the details window you're talking about?
|
|
|
|
|
|
#9 |
|
Junior Member
Join Date: Aug 2005
Posts: 36
|
Hi,
sorry in the moment I cannot upload an sceenshot to an url. |
|
|
|
|
|
#10 |
|
Moderator
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
|
Add it as an attachment.
Stu |
|
|
|
|
|
#11 |
|
Junior Member
Join Date: Aug 2005
Posts: 36
|
Details button
Here is the screenshot of the "Show details" button
I know this was not made with MUI, but this is what I mean. Is this also possible with MUI? |
|
|
|
|
|
#12 |
|
Moderator
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
|
What you have in that screenshot is the default behaviour! Do not use ShowInstDetails or SetDetailsView.
Stu |
|
|
|
|
|
#13 |
|
Junior Member
Join Date: Aug 2005
Posts: 36
|
sorry Stu, I am new to NSIS.
I have read the documentation but it is not clear to me. SetDetailsView. "Sets whether or not the details of the install are shown" but if the screenshot is the default behaviour, what is then the meaning of "Details" here? showing the extracted files and command while installing? regards hawk |
|
|
|
|
|
#14 |
|
Moderator
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
|
It means the entire list view control. Clicking the Show Details button has the same effect as using SetDetailsView show (it is a run time instruction). ShowInstDetails show (a compile time instruction) ensures the list view control starts visible so the user does not have to click Show Details.
Stu |
|
|
|
|
|
#15 |
|
Junior Member
Join Date: Apr 2008
Posts: 21
|
thank you! this info helped me too.
the code that do the trick was: code: i use modern skin and needed only the 1. row to make it always show the detail list. what puzzels me is that the 1 need a !define and the other does not. bye |
|
|
|
|
|
#16 |
|
Moderator
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
|
Defining a constant called SetDetailsView does nothing. Not sure where you got that idea from. SetDetailsView is a run-time instruction that is used in a Section to override what was set with ShowInstDetails. This is obvious if you read the manual.
Stu |
|
|
|
|
|
#17 |
|
Junior Member
Join Date: Apr 2008
Posts: 21
|
i got the idea from your post above.
Yes, it does nothing, indeed! I tried it in my script and the compiler doesnt complain about this Option, so i guessed it is just a leftover from an earlier NSIS version. I mentioned it only to give a complete abstract of the threat i have read the manual.. partially ... and im far from knowing it by rote, like you do. but im just a beginner... bye |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|