View Full Version : No extension
26th June 2005, 14:41
I'm trying to make my installer show the readme after it finished the install process. As in the examples I used the following line:
!define MUI_FINISHPAGE_SHOWREADME "$INSTDIR\README"
It seems though that the file, having no extension isn't opened (it works with README.txt, but this is not what I want)
And it doesn't help how I did to add a link to it:
... "notepad.exe" "$INSTDIR\README"
Please help me =)
26th June 2005, 15:09
So !define MUI_FINISHPAGE_SHOWREADME 'notepad "$INSTDIR\README"'
26th June 2005, 15:31
Nope still deosn't work...
(Just a side question, where I can find a detailed list/description of all the MUI macros?)
26th June 2005, 16:25
Ok, instead use:
MUI_FINISHPAGE_RUN 'notepad "$INSTDIR\README"'
MUI_FINISHPAGE_SHOWREADME uses ExecShell to open the file, but as yours is of no recognisable file type, it doesn't work.
All the macro's are listed in the manual (Contrib\Modern UI).
26th June 2005, 17:07
Hmmm this way it says "Run The Mana World 0.0.14" instead of "Show the readme" and it seems it doesn't run it anyway...
I'm puzzled :confused:
EDIT: Ops I forgot to write notepad.exe (damn copy&paste)
!define MUI_FINISHPAGE_SHOWREADME 'notepad.exe "$INSTDIR\README"'
This line opens up notepad, but it complains about the syntax of the namefile, maybe "$INSTDIR\README" is wrong?
26th June 2005, 17:13
!define MUI_FINISHPAGE_RUN "notepad.exe"
!define MUI_FINISHPAGE_RUN_PARAMETERS "$INSTDIR\README"
!define MUI_FINISHPAGE_RUN_TEXT "View Mana World Readme"
If that doesn't work, try:
26th June 2005, 17:17
!define MUI_FINISHPAGE_SHOWREADME 'notepad.exe "$\"$INSTDIR\README$\""'
Ok this finally fixed it. Thank you a lot for the help Afrow ;)
vBulletin® v3.8.6, Copyright ©2000-2013, Jelsoft Enterprises Ltd.