Go Back   Winamp Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 28th April 2001, 21:29   #1
henri
Junior Member
 
Join Date: Apr 2001
Posts: 6
Is there a way to prompt a user and exec a command before the license screen shows?

Reason: I want to place my program on ZDNET and they strongly recommend letting the user view the readme, or other information, before they install.

Ideally, I could show the readme in the same format the license is currently shown, only before the license...or even choose when to display it. I have seen installers that do this. It's a good idea for programs you get from archives because you haven't always seen all the information the program's web site would offer. Sometimes there is no link to a web site from the archive.

Thanks,

henri
henri is offline   Reply With Quote
Old 28th April 2001, 21:47   #2
RM
Junior Member
 
Join Date: Apr 2001
Location: Israel
Posts: 23
you can use ExecWait to show the readme file in notepad( in the .onInit function ).
RM is offline   Reply With Quote
Old 28th April 2001, 21:54   #3
henri
Junior Member
 
Join Date: Apr 2001
Posts: 6
But an exec command must be inside a section, and sections are not shown until after the license screen. Or is this a new feature in 1.4 you are talking about?
I'm using 1.3.

henri
henri is offline   Reply With Quote
Old 29th April 2001, 00:33   #4
yazno
Member
 
Join Date: Oct 2000
Posts: 92
Send a message via ICQ to yazno
hi,

1. LicenseText/LicenseData should fix your need, doesn't it ?

if not
2. download 1.4 beta 2 and make use of the
.onInit Callback Function

something like

Function .onInit
SetOutPath $TEMP
File info.txt
HideWindow
ExecWait $TEMP\info.txt
Delete $TEMP\info.txt
BringToFront
FunctionEnd

cu yzo
yazno is offline   Reply With Quote
Old 29th April 2001, 04:34   #5
rainwater
Senior Member
 
Join Date: Aug 2000
Posts: 396
Send a message via ICQ to rainwater
I don't think you need to show a readme before the installation for posting on ZDNet. Giving the user the option after the install (a prompt) should be sufficient.
rainwater is offline   Reply With Quote
Reply
Go Back   Winamp 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