Old 8th May 2005, 02:17   #1
shikamaru
Junior Member
 
Join Date: May 2005
Posts: 1
How to create little apps with NSIS

Hi! i'm new here, so have patience with me:P What I need is to know the basics for creating little apps with NSIS. For example: An app which let you choose and apply custom icon sizes for Windows icons. In this example, what I need are some reg files to change icon size via the registry (I have them), but how I make a gui for that? Also I need (after apply one setting) a prompt telling the user to restart, and when OK is clicked, the system restarts automatically.

Thanks in advance.
shikamaru is offline   Reply With Quote
Old 8th May 2005, 05:37   #2
deguix
Major Dude
 
deguix's Avatar
 
Join Date: Dec 2002
Location: Everett - MA, USA
Posts: 1,354
Send a message via ICQ to deguix
For the GUI, you can use InstallOptions (comes with NSIS) or InstallOptionsEx (see my signature or search for it).

To write to registry, you can also use WriteRegStr and the other register commands to write and read information from registry. (not necessary if you think it's easier with .reg files)

For the message box and reboot, use MessageBox and Reboot commands. Also, if you want the reboot to occur from just one place in the application, there is SetRebootFlag and IfRebootFlag commands for the detection of reboot flag.

My Wiki Pages

Working now on:
New projects. (language: any)
deguix 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