Old 20th February 2013, 10:49   #1
miraz.zaidi
Junior Member
 
Join Date: Feb 2013
Posts: 43
how to customize dialog window nsis

I am a beginner in NSIS. I want to make an NSIS installer in which I want to open a web page url on which there are some flash games which I want user to play. For this I am using nsWeb plugin but it doesnt seem to support flash files. So I want to know if there is some other plugin available for the same. Also I want to resize the dialog window and the area showing web page to around 600x600. I am able to resize the dialog window using win api's func SetWindowPos but problem is that it is only resizing the outer dialog and not the internal area displaying the web page. So is there any way I can do that. I know we can achieve it using Resource hacker, but I want to know some other way. Thanks.
miraz.zaidi is offline   Reply With Quote
Old 21st February 2013, 04:58   #2
T.Slappy
Major Dude
 
T.Slappy's Avatar
 
Join Date: Jan 2006
Location: Slovakia
Posts: 548
Send a message via ICQ to T.Slappy
Really you should use ResHacker to resize the whole dialog (modify appropriate UI *.exe file), using API calls has some disadvantages.

nsWeb plug-in is simply some OLE component based on Internet Explorer - there is no problem with displaying flash files if IE can display them (what problem do you have)?

Cool looking installers with custom design: www.graphical-installer.com
Create Setup Pages easily: www.install-designer.com
Build installers in Visual Studio 2005-2019: www.visual-installer.com
or RAD Studio 2009, 2010, XE-10.4 Sydney: www.rad-installer.com
T.Slappy is offline   Reply With Quote
Old 21st February 2013, 05:19   #3
miraz.zaidi
Junior Member
 
Join Date: Feb 2013
Posts: 43
Quote:
Originally Posted by T.Slappy View Post
Really you should use ResHacker to resize the whole dialog (modify appropriate UI *.exe file), using API calls has some disadvantages.

nsWeb plug-in is simply some OLE component based on Internet Explorer - there is no problem with displaying flash files if IE can display them (what problem do you have)?
Thanks T.Slappy for your response. Actually I later found out that flash problem is with IE as it doesnt trust the URL I am using, but that can be solved.
Still I am not much sure if resource hacker can do what I want. I tried to use it, but sometimes it damages the exe, so the .nsi doesnt compile. Is it possible that I can delete some contents (like buttons, horizontal seperator) and the code still works. Actually I want to provide a browser like look and feel to the dialog. Any suggestion?
miraz.zaidi is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Tags
nsis. dialog, resize

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