Old 23rd November 2010, 09:59   #1
shazia.parveen
Senior Member
 
Join Date: Jul 2009
Posts: 103
how to change the page Appearance

Hi
i am making Nsis setup using MUI2 , attaching a file please go through it, as i just want to make a setup shown in the second one (xobini) , as you see the first image is divided into two parts (first is the images part and second part contains the text ) but the second image(xobini) contains only one part it contains the text as well as the images there , i want to make set up like the second one, any help will be appreciated, pls help me....waiting for your reply
Attached Thumbnails
Click image for larger version

Name:	mui.JPG
Views:	607
Size:	69.3 KB
ID:	47939  
shazia.parveen is offline   Reply With Quote
Old 23rd November 2010, 10:57   #2
MSG
Major Dude
 
Join Date: Oct 2006
Posts: 1,892
To do this, simply create your own custom page using nsDialogs. There's an excellent tutorial in the nsDialogs readme.
MSG is offline   Reply With Quote
Old 23rd November 2010, 13:17   #3
jiake
Senior Member
 
jiake's Avatar
 
Join Date: Oct 2007
Location: Shanghai, China
Posts: 206
The second page is one large image on the top, including the title, header image, right image, page text (the four items), so you need only create a custom page with a big image and a label, a link and a combobox. See examples (Examples\nsDialogs) and documents (Examples\Docs) of nsDialogs in NSIS directory.
jiake is offline   Reply With Quote
Old 24th November 2010, 03:13   #4
jiake
Senior Member
 
jiake's Avatar
 
Join Date: Oct 2007
Location: Shanghai, China
Posts: 206
Sorry I make a mistake, the documents is in Docs\nsDialogs.
jiake is offline   Reply With Quote
Old 24th November 2010, 04:18   #5
CrushBug
Senior Member
 
Join Date: May 2005
Posts: 119
I am not sure that you will be able to change the language on the Welcome page. I am pretty sure that once The GUI is shown, the language is locked. If you wanted that, you would probably need to do a custom page with one installer that then calls a second installer with the selected language.

Come to think of it, it would be cool to have a new NSIS command of ChangeLanguage or something that you could call in this kind of situation.
CrushBug is offline   Reply With Quote
Old 24th November 2010, 12:14   #6
jiake
Senior Member
 
jiake's Avatar
 
Join Date: Oct 2007
Location: Shanghai, China
Posts: 206
I download the installer of Xobni, I found that the top image and page title image are two separated images. The language selection combobox is only to determine the language of using this software but not the installer, all the steps of setup wizard are Engish. However, I think that you can use header file to define language string and SendMessage to change the default string of the installer in the "SHOW" function of each page, even this is too troublesome.

Here is an example shows how to create a custom like your image and set the language of the installer to what you select on the fisrt page. Of cource, this is an example, I set three strings of directory page only, you must write and set for each page.
Attached Files
File Type: zip example.zip (19.6 KB, 307 views)

Last edited by jiake; 24th November 2010 at 14:14.
jiake is offline   Reply With Quote
Old 29th November 2010, 09:14   #7
shazia.parveen
Senior Member
 
Join Date: Jul 2009
Posts: 103
Thanks i will try by looking into this example
shazia.parveen is offline   Reply With Quote
Old 30th November 2010, 05:44   #8
shazia.parveen
Senior Member
 
Join Date: Jul 2009
Posts: 103
Quote:
Originally Posted by jiake View Post
I download the installer of Xobni, I found that the top image and page title image are two separated images. The language selection combobox is only to determine the language of using this software but not the installer, all the steps of setup wizard are Engish. However, I think that you can use header file to define language string and SendMessage to change the default string of the installer in the "SHOW" function of each page, even this is too troublesome.

Here is an example shows how to create a custom like your image and set the language of the installer to what you select on the fisrt page. Of cource, this is an example, I set three strings of directory page only, you must write and set for each page.
Hi Jiake
Thanks for replying me ,your reply is helping me very much , i need your one more help please go through the attachment after clicking the install button it will install all the files after that i need the finish page as in the attachment with link and the image , how can i achieve this please help me...waiting for your reply
Attached Thumbnails
Click image for larger version

Name:	finishxobini.JPG
Views:	191
Size:	28.9 KB
ID:	47989  
shazia.parveen is offline   Reply With Quote
Old 30th November 2010, 08:42   #9
MSG
Major Dude
 
Join Date: Oct 2006
Posts: 1,892
Quote:
Originally Posted by shazia.parveen View Post
Hi Jiake
Thanks for replying me ,your reply is helping me very much , i need your one more help please go through the attachment after clicking the install button it will install all the files after that i need the finish page as in the attachment with link and the image , how can i achieve this please help me...waiting for your reply
This can be done using nsDialogs.
MSG is offline   Reply With Quote
Old 30th November 2010, 08:57   #10
shazia.parveen
Senior Member
 
Join Date: Jul 2009
Posts: 103
Hi that is fine but how can we get check box with click and how can we start the application after clicking the finish button any example.....
shazia.parveen is offline   Reply With Quote
Old 30th November 2010, 12:33   #11
MSG
Major Dude
 
Join Date: Oct 2006
Posts: 1,892
I already told you. There's an excellent tutorial in the nsDialogs readme.
MSG is offline   Reply With Quote
Old 30th November 2010, 16:31   #12
jiake
Senior Member
 
jiake's Avatar
 
Join Date: Oct 2007
Location: Shanghai, China
Posts: 206
You can use ${NSD_CreateCheckBox}, ${NSD_Check}, ${NSD_CreateHLine} (Docs\nsDialogs\Readme.html), CreateFont, SetFont (NSIS.chm), define a LEAVE function (see Docs\Modern UI 2\Readme.html for more) for finish page to get the state using ${NSD_GetState}, and then do your stuff depending on the values. Actually these are all in the help files, it would be very easy if you read them carefully and test the examples of nsDialogs.
jiake is offline   Reply With Quote
Old 1st December 2010, 04:54   #13
shazia.parveen
Senior Member
 
Join Date: Jul 2009
Posts: 103
Hi jiake , thanks for replying i am going through the documents how can we start an application(e.g outlook)by using the 1st check box and any website by using the 2nd check box on click of finish button ,i have created the check box but unable to open an application and website and actually jiake its really urgent i have to complete it by tomorrow end of days any how and you can help me so please help me , waiting for your reply..
shazia.parveen is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump