Old 25th February 2009, 14:19   #1
healy76
Junior Member
 
Join Date: Jun 2008
Posts: 23
How to disable DetailPrint for every file

Hi,

Can everyone tell me how to disable the DetailPrint message fore every single file?

I have create a setup there install my new help system (like MSDN). This system contains a DLL and EXE file and circa 60000 html files. So the installation have many many detail prints (for every file).

How can i disable this automatic generated DetailPrints for a while? But i would not disable the detail print completely.

For Example:

File Help.exe
File Help.dll
DisableFileDetailPrint
DetailPrint "Installing HTML Files..."
File /r *.html
EnableFileDetailPrint
healy76 is offline   Reply With Quote
Old 25th February 2009, 15:24   #2
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
SetDetailsPrint

Stu
Afrow UK is offline   Reply With Quote
Old 25th February 2009, 16:01   #3
healy76
Junior Member
 
Join Date: Jun 2008
Posts: 23
That is exactly that was i am looking for. Thank you very much!

Do you know, how can i speed up a setup with so many files?
I have try it to compress the files into a zip before i compile the setup. But when is unzip there file on the target system the setup finished in the same time. This indicate that the already included NSIS compress algorithm is very fast (congratulation).

But is there a option (or anything) to speed up the setup for so many files?
healy76 is offline   Reply With Quote
Old 26th February 2009, 12:15   #4
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
As long as you are compressing your files, you have to deal with decompression which is bound to take some time. It will be limited by the user's hard drive write speed more than anything in theory.

Stu
Afrow UK is offline   Reply With Quote
Old 26th February 2009, 13:56   #5
healy76
Junior Member
 
Join Date: Jun 2008
Posts: 23
ok. you are right. the main time probable elapse in the file system.
healy76 is offline   Reply With Quote
Old 26th February 2009, 14:07   #6
healy76
Junior Member
 
Join Date: Jun 2008
Posts: 23
"nice to have" feature for SetDetailsPrint:

A new parameter was eligible ... none|listonly|textonly|both|lastused|"Put All Detail Prints In The Same Line"

So every single file was shown at the same line. The user was informed that the setup is currently running and is not hanging up, while installing many files. For Example the Detail view display the following text:

Instead the XXX the setup displays the current extracting file.

Installing binarys...
Installing help index...
Installing help files...
XXX
Installing Complete
healy76 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