Archive: FinishPage Link doesn't show


FinishPage Link doesn't show
since I have updated to the New MU, I have resolved the Erroes I was getting, but I can't sort of one

Thats the FinishPage links, what ever I do it just doen't show anymore, not sure if this is a bug.

I also tried putting

!define MUI_FINISHPAGE_LINK "Blah"
!define MUI_FINISHPAGE_LINK_LOCATION "http://www.blah.com/"

before

!insertmacro MUI_PAGE_FINISH

but it simply wouldn't compile giving the error

!insertmacro: MUI_PAGE_FINISH
!define: "MUI_FINISHPAGE_CURFIELD_NO" already defined!
Error in macro MUI_FUNCTION_FINISHPAGE on macroline 109
Error in macro MUI_PAGE_FINISH on macroline 33
Error in script "D:\Crusade Xmod\Crusade\Crusade18.nsi" on line 56 -- aborting creation process

Anyone have any ideas?


yea, i have the same error with the newest cvs
also it seems that MUI_BRANDINGTEXT isn't working anymore..? or has something changed there, i can't see something in the changelog about it..

DOCa Cola


Originally posted by DOCa Cola
yea, i have the same error with the newest cvs
also it seems that MUI_BRANDINGTEXT isn't working anymore..? or has something changed there, i can't see something in the changelog about it..

DOCa Cola
MUI_BRANDINGTEXT is no longer used.
Use BrandingText instead.

-Stu

ah, i see, it was irritating because

Important: Because the Modern UI has its own macro system, its own default settings and a lot of new features, the interface configuration works differently. So you should not use commands like Icon, BrandingText etc.

is left in the modern ui readme

DOCa Cola


Has anyone got a answer to my question now :(


Seems to be a NSIS bug. Should be fixed soon.


Fixed.


Thank you :)


I just Updated the NSIS but Im still to have this Prob.


Works fine for me. Make sure you have the latest version and that this is not a result of the CVS 24 hours lag. Latest makensis.exe is 1.230.


Hi Kickik...the banner now its working fine...and I have the icon back.......and for the makensis.exe 1.230
Works fine for me. Make sure you have the latest version and that this is not a result of the CVS 24 hours lag. Latest makensis.exe is 1.230.
Im still to see from 3 days (CVS)this one:
makensis.exe 1.227 3 days kichik Get progress bar to the end even with subsections Today date 09-09-03
@ http://cvs.sourceforge.net/cgi-bin/v.../nsis/NSIS/...
And I downloaded the new version yesterday morning and if you check here @ http://forums.winamp.com/showthread....hreadid=148349 the date it was 09-07-03 .....where is my mistake????
Sorry man....but now I have only the link and the run.exe in the finish page.


Your mistake is that you're counting on the outdated CVS. As this sticky post says, public CVS is lagging 24 hours behind, and sometimes even more. This is why you have to use the snapshot which is generated from the real CVS server, which is not lagging behind.


I downloaded from here ...all the times:
http://nsis.sourceforge.net/site/Development.4.0.html ......
And Im going to do from your ......are differents?????????
Thank you for your pactience


There is more than one link in the page you have refered me to. Which one have you used? If you've used the snapshot link, it's the same.


From here:
The snapshot is being updated multiple times a day and contains the latest development files.

Using a development snapshot allows you to use and test the latest cutting-edge features and bugfixes. Usually the new features are quite stable, but they have not been throughly tested yet, so if you are not following the NSIS development, we don't recommended using the development snapshot in production environments.

You can download the latest snapshot here.

Changelog generation: Tue, 09 Sep 2003, 14:38:25 GMT
Development snapshot generation: Tue, 09 Sep 2003, 13:44:16 GMT

Ill let you know after installed the last downloaded 10 minutes ago.


OK...IT'S WORKING:
This is my script"

!define MUI_FINISHPAGE_RUN "myprogram.EXE"
!define MUI_FINISHPAGE_LINK "Home page"
!define MUI-FINISHPAGE_LINK_LOCATION "http://www.finally.gotit"
!insertmacro MUI_PAGE_FINISH

And here is whats happen to someone else:
I also tried putting

!define MUI_FINISHPAGE_LINK "Blah"
!define MUI_FINISHPAGE_LINK_LOCATION "http://www.blah.com/"

before

!insertmacro MUI_PAGE_FINISH

but it simply wouldn't compile giving the error .......

which is wrong:


!define MUI-FINISHPAGE_LINK_LOCATION "http://www.finally.gotit"

should be

!define MUI_FINISHPAGE_LINK_LOCATION "http://www.finally.gotit"

(_ instead of -)


yes it is:
!define MUI_FINISHPAGE_LINK_LOCATION "http://www.finally.gotit"

but my question is why my program.exe and link is before the finish page and work and TonyDS script doesnt work.
!define MUI_FINISHPAGE_RUN "myprogram.EXE"
!define MUI_FINISHPAGE_LINK "Home page"
!define MUI_FINISHPAGE_LINK_LOCATION "http://www.finally.gotit"
!insertmacro MUI_PAGE_FINISH
Thanks


Mine works fine thanks it was fixed when I posted my Thank you post

try placing the most of the !define's before the insertmacro's

like this,

!define VER_MAJOR 2
!define VER_MINOR 0
!define VER_RELEASE 1
!define VER_BUILD 20

!include "MUI.nsh"
!include "Sections.nsh"

!define MUI_PRODUCT "My Product"
!define strAppShortName "MyProd"
!define MUI_VERSION "v${VER_MAJOR}.${VER_MINOR}"
!define MUI_NAME "${MUI_PRODUCT} ${MUI_VERSION}"
!define MUI_SPECIALINI "io2.ini"
!define MUI_ABORTWARNING
!define MUI_CUSTOMPAGECOMMANDS
!define MUI_LICENSEPAGE_CHECKBOX
!define MUI_STARTMENUPAGE_DEFAULTFOLDER "My Product\${MUI_PRODUCT}"
!define MUI_STARTMENUPAGE_REGISTRY_ROOT "HKLM"
!define MUI_STARTMENUPAGE_REGISTRY_KEY "Software\Microsoft\Windows\CurrentVersion\Uninstall\${MUI_PRODUCT}"
!define MUI_STARTMENUPAGE_REGISTRY_VALUENAME "StartMenuDir"
!define MUI_FINISHPAGE_RUN "$INSTDIR\My Prodcut.exe"
!define MUI_FINISHPAGE_SHOWREADME "$INSTDIR\Readme ${strAppShortName}.html"
!define MUI_FINISHPAGE_RUN_PARAMETERS "$INSTDIR"
!define MUI_FINISHPAGE_LINK "My Website"
!define MUI_FINISHPAGE_LINK_LOCATION "http://www.website.com/"
!define MUI_FINISHPAGE_LINK_COLOR "0x800000"
!define MUI_HEADERBITMAP "modern-header-MyProd.bmp"
!define MUI_SPECIALBITMAP "modern-wizard-MyProd.bmp"
!define MUI_COMPONENTSPAGE_SMALLDESC
!define MUI_ICON "myprod.ico"
!define MUI_UNICON "myprodun.ico"

!define MUI_PAGE_CUSTOMFUNCTION_SHOW "Box_Colour"
!insertmacro MUI_PAGE_WELCOME
!insertmacro MUI_PAGE_LICENSE "License.txt"
Page custom custom1
!insertmacro MUI_PAGE_COMPONENTS
!insertmacro MUI_PAGE_STARTMENU
Page custom custom2
!insertmacro MUI_PAGE_INSTFILES
Page custom custom3
!insertmacro MUI_PAGE_FINISH
!insertmacro MUI_UNPAGE_INSTFILES

BrandingText "My Product"

simple as that, just try fiddling around placing things in a different order


The Modern UI Readme descripes exactly the right position for all settings.